1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvspamela/yoda/techmodel/CalibTrdReader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/CalibTrdReader.cpp,v $ |
3 |
* $Id: CalibTrdReader.cpp,v 1.1 2004/05/11 10:12:35 nagni Exp $ |
* $Id: CalibTrdReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ |
4 |
* $Author: nagni $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the LogReader class. |
* Implementation of the LogReader class. |
7 |
* ToBeDone: |
* ToBeDone: |
32 |
* Constructor. |
* Constructor. |
33 |
*/ |
*/ |
34 |
CalibTrdReader::CalibTrdReader(void): |
CalibTrdReader::CalibTrdReader(void): |
35 |
TechmodelAlgorithm(PacketType::Log, "TechmodelCalibTrdReader") { |
TechmodelAlgorithm(PacketType::CalibTrd, "TechmodelCalibTrdReader") { |
36 |
cat << log4cpp::Priority::DEBUG |
cat << log4cpp::Priority::DEBUG |
37 |
<< "Constructor " |
<< "Constructor " |
38 |
<< "\n " << log4cpp::CategoryStream::ENDLINE; |
<< "\n " << log4cpp::CategoryStream::ENDLINE; |
39 |
CalibTrd = new CalibTrdEvent(); |
calibTrd = new CalibTrdEvent(); |
40 |
} |
} |
41 |
|
|
42 |
/** |
/** |
44 |
*/ |
*/ |
45 |
std::string CalibTrdReader::GetVersionInfo(void) const { |
std::string CalibTrdReader::GetVersionInfo(void) const { |
46 |
return |
return |
47 |
"$Header: /home/cvspamela/yoda/techmodel/CalibTrdReader.cpp,v 1.1 2004/05/11 10:12:35 nagni Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/CalibTrdReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $\n"; |
48 |
} |
} |
49 |
|
|
50 |
/** |
/** |
53 |
*/ |
*/ |
54 |
void CalibTrdReader::Init(PamelaRun *run) { |
void CalibTrdReader::Init(PamelaRun *run) { |
55 |
SetInputStream(run); |
SetInputStream(run); |
56 |
run->WriteSubPacket(this, &CalibTrd, CalibTrd->Class()); |
run->WriteSubPacket(this, &calibTrd, calibTrd->Class()); |
57 |
} |
} |
58 |
|
|
59 |
/** |
/** |