1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/physics/CalorimeterReader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/physics/TriggerReader.cpp,v $ |
3 |
* $Id: CalorimeterReader.cpp,v 2.3 2004/10/18 14:28:03 kusanagi Exp $ |
* $Id: TriggerReader.cpp,v 5.1 2006/02/04 12:37:46 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the CalorimeterReader class. |
* Implementation of the CalorimeterReader class. |
52 |
*/ |
*/ |
53 |
std::string TriggerReader::GetVersionInfo(void) const { |
std::string TriggerReader::GetVersionInfo(void) const { |
54 |
return |
return |
55 |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TriggerReader.cpp,v 2.3 2004/10/18 14:28:03 kusanagi Exp $"; |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TriggerReader.cpp,v 5.1 2006/02/04 12:37:46 kusanagi Exp $"; |
56 |
} |
} |
57 |
|
|
58 |
/** |
/** |
95 |
char *errmsg; |
char *errmsg; |
96 |
switch (ERROR){ |
switch (ERROR){ |
97 |
case 1: errmsg = "GENERIC TRIGGER ERROR"; |
case 1: errmsg = "GENERIC TRIGGER ERROR"; |
98 |
|
break; |
99 |
|
default: errmsg = "TRIGGER ERRROR CODE UNIDENTIFIED"; |
100 |
} |
} |
101 |
oss.flush(); |
oss.str(""); |
102 |
oss << "Fortran77 function triggerunpack: " << errmsg; |
oss << "Fortran77 function triggerunpack: " << errmsg; |
103 |
logger->warn(oss.str().c_str()); |
logger->warn(oss.str().c_str()); |
104 |
} |
} |
117 |
memcpy(trigger->patterntrig, trig_.patterntrig, sizeof(trigger->patterntrig)); |
memcpy(trigger->patterntrig, trig_.patterntrig, sizeof(trigger->patterntrig)); |
118 |
trigger->trigconf = trig_.trigconf; |
trigger->trigconf = trig_.trigconf; |
119 |
|
|
120 |
delete[] data; |
delete [] data; |
121 |
} |
} |