#include <IORawData/Ecal2004TBInputService/interface/TRunInfo.h>
Public Member Functions | |
Int_t | GetFrameLength () const |
Int_t | GetFrameLengthPN () const |
const char * | GetInfo1 () const |
const char * | GetInfo2 () const |
Int_t | GetNChMod () const |
Int_t | GetNMod () const |
Int_t | GetNPNs () const |
Int_t | GetNTowersMax () const |
Int_t | GetROSEMode () const |
Int_t | GetRunNum () const |
Int_t | GetRunType () const |
Int_t | GetSoftVersion () const |
virtual void | Print (const char *opt=0) const |
void | Set (Int_t iv[]) |
void | SetInfo1 (Char_t *fi) |
void | SetInfo2 (Char_t *fi) |
void | SetNTowMax (Int_t n) |
TRunInfo () | |
virtual | ~TRunInfo () |
Private Member Functions | |
void | Init () |
Private Attributes | |
Int_t | fFrameLength |
Int_t | fFrameLengthPN |
TStringLong | fInfo1 |
TStringLong | fInfo2 |
Int_t | fNChMod |
Int_t | fNMod |
Int_t | fNPNs |
Int_t | fNTowersMax |
Int_t | fROSEMode |
Int_t | fRunNum |
Int_t | fRunType |
Int_t | fSoftVersion |
Definition at line 10 of file TRunInfo.h.
TRunInfo::TRunInfo | ( | ) |
virtual TRunInfo::~TRunInfo | ( | ) | [inline, virtual] |
Int_t TRunInfo::GetFrameLength | ( | ) | const [inline] |
Int_t TRunInfo::GetFrameLengthPN | ( | ) | const [inline] |
Definition at line 48 of file TRunInfo.h.
References fFrameLengthPN.
00048 { return fFrameLengthPN; }
const char* TRunInfo::GetInfo1 | ( | ) | const [inline] |
const char* TRunInfo::GetInfo2 | ( | ) | const [inline] |
Int_t TRunInfo::GetNChMod | ( | ) | const [inline] |
Int_t TRunInfo::GetNMod | ( | ) | const [inline] |
Int_t TRunInfo::GetNPNs | ( | ) | const [inline] |
Int_t TRunInfo::GetNTowersMax | ( | ) | const [inline] |
Int_t TRunInfo::GetROSEMode | ( | ) | const [inline] |
Int_t TRunInfo::GetRunNum | ( | ) | const [inline] |
Definition at line 38 of file TRunInfo.h.
References fRunNum.
Referenced by Ecal2004TBSource::setRunAndEventInfo().
00038 { return fRunNum; }
Int_t TRunInfo::GetRunType | ( | ) | const [inline] |
Definition at line 39 of file TRunInfo.h.
References fRunType.
Referenced by Ecal2004TBSource::openFile(), and Ecal2004TBSource::produce().
00039 { return fRunType; }
Int_t TRunInfo::GetSoftVersion | ( | ) | const [inline] |
Definition at line 21 of file TRunInfo.cc.
References fFrameLength, fFrameLengthPN, fNChMod, fNMod, fNPNs, fNTowersMax, fROSEMode, fRunNum, fRunType, and fSoftVersion.
00021 { 00022 //Everything to 0 00023 fRunNum = 0; 00024 fRunType = 0; 00025 fNTowersMax = 0; 00026 00027 fNMod = 0; 00028 fNChMod = 0; 00029 fROSEMode = 0; 00030 fFrameLength = 0; 00031 00032 fNPNs = 0; 00033 fFrameLengthPN = 0; 00034 00035 fSoftVersion = 0; 00036 }
void TRunInfo::Print | ( | const char * | opt = 0 |
) | const [virtual] |
Definition at line 38 of file TRunInfo.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), fFrameLength, fFrameLengthPN, fNChMod, fNMod, fNPNs, fNTowersMax, fROSEMode, fRunNum, and fRunType.
00038 { 00039 cout << endl; 00040 //Print RunInfo 00041 cout << "fRunNum = "; 00042 cout.width(12); 00043 cout << fRunNum << " "; 00044 cout << "fRunType = "; 00045 cout.width(12); 00046 cout << fRunType << endl; 00047 00048 cout << "fNTowersMax = "; 00049 cout.width(12); 00050 cout << fNTowersMax << " "; 00051 cout << "fNMod = "; 00052 cout.width(12); 00053 cout << fNMod << endl; 00054 00055 cout << "fNChMod = "; 00056 cout.width(12); 00057 cout << fNChMod << " "; 00058 cout << "fROSEMode = "; 00059 cout.width(12); 00060 cout << fROSEMode << endl; 00061 00062 cout << "fFrameLength = "; 00063 cout.width(12); 00064 cout << fFrameLength << " "; 00065 cout << "fNPNs = "; 00066 cout.width(12); 00067 cout << fNPNs << endl; 00068 00069 cout << "fFrameLengthPN = "; 00070 cout.width(12); 00071 cout << fFrameLengthPN << endl; 00072 }
void TRunInfo::Set | ( | Int_t | iv[] | ) |
Definition at line 74 of file TRunInfo.cc.
References fFrameLength, fFrameLengthPN, fNChMod, fNMod, fNPNs, fNTowersMax, fROSEMode, fRunNum, fRunType, and fSoftVersion.
00074 { 00075 fRunNum = iv[0]; 00076 fRunType = iv[1]; 00077 fNTowersMax = iv[2]; 00078 00079 fNMod = iv[3]; 00080 fNChMod = iv[4]; 00081 fROSEMode = iv[5]; 00082 fFrameLength = iv[6]; 00083 00084 fNPNs = iv[7]; 00085 fFrameLengthPN = iv[8]; 00086 00087 fSoftVersion = iv[9]; 00088 }
void TRunInfo::SetInfo1 | ( | Char_t * | fi | ) | [inline] |
void TRunInfo::SetInfo2 | ( | Char_t * | fi | ) | [inline] |
void TRunInfo::SetNTowMax | ( | Int_t | n | ) |
Definition at line 90 of file TRunInfo.cc.
References fNTowersMax.
00091 { 00092 fNTowersMax = n; 00093 }
Int_t TRunInfo::fFrameLength [private] |
Definition at line 20 of file TRunInfo.h.
Referenced by GetFrameLength(), Init(), Print(), and Set().
Int_t TRunInfo::fFrameLengthPN [private] |
Definition at line 23 of file TRunInfo.h.
Referenced by GetFrameLengthPN(), Init(), Print(), and Set().
TStringLong TRunInfo::fInfo1 [private] |
TStringLong TRunInfo::fInfo2 [private] |
Int_t TRunInfo::fNChMod [private] |
Int_t TRunInfo::fNMod [private] |
Int_t TRunInfo::fNPNs [private] |
Int_t TRunInfo::fNTowersMax [private] |
Definition at line 15 of file TRunInfo.h.
Referenced by GetNTowersMax(), Init(), Print(), Set(), and SetNTowMax().
Int_t TRunInfo::fROSEMode [private] |
Int_t TRunInfo::fRunNum [private] |
Int_t TRunInfo::fRunType [private] |
Int_t TRunInfo::fSoftVersion [private] |