![]() |
![]() |
#include <TEcnaResultType.h>
Public Member Functions | |
CnaResultTyp | GetTypOfEntry (Int_t) |
void | SetSizeHis (Int_t, Int_t) |
void | SetSizeMat (Int_t, Int_t) |
TEcnaResultType () | |
~TEcnaResultType () | |
Public Attributes | |
Int_t | fIthElement |
TEcnaNArrayD | fMatHis |
TEcnaNArrayD | fMatMat |
CnaResultTyp | fTypOfCnaResult |
Int_t | fUserChannel |
Definition at line 17 of file TEcnaResultType.h.
TEcnaResultType::TEcnaResultType | ( | ) |
TEcnaResultType::~TEcnaResultType | ( | ) |
Definition at line 63 of file TEcnaResultType.cc.
{ //destructor // cout << "[Info Management] CLASS: TEcnaResultType. DESTROY OBJECT: this = " << this << endl; }
CnaResultTyp TEcnaResultType::GetTypOfEntry | ( | Int_t | kEntry | ) |
Definition at line 85 of file TEcnaResultType.cc.
References cTypAdcEvt, cTypAvHfn, cTypAvLfn, cTypAvMeanCorss, cTypAvPed, cTypAvSigCorss, cTypAvTno, cTypCorCss, cTypCovCss, cTypEvtNbInLoop, cTypHFccMoStins, cTypHfCor, cTypHfCov, cTypHfn, cTypLFccMoStins, cTypLfCor, cTypLfCov, cTypLfn, cTypMeanCorss, cTypMSp, cTypNbOfEvts, cTypNumbers, cTypPed, cTypSigCorss, cTypSSp, and cTypTno.
{ //Gives the type of the kth entry //.......... List of the different types and associated parameters: // // Nb of Type of array Type Type // arrays Number // // 1 fMatHis(1,tower) ( 0) cTypNumbers // 1 fMatHis(channel, sample) ( 1) cTypMSp // 1 fMatHis(channel, sample) ( 2) cTypSSp // channel fMatHis(sample, bins) ( 3) cTypAvTno, // 1 fMatHis(channel, sample) ( 4) cTypAvLfn // 1 fMatHis(channel, sample) ( 5) cTypAvHfn // sample fMatMat(channel, channel) ( 6) cTypHfCov // sample fMatMat(channel, channel) ( 7) cTypHfCor // channel fMatMat(sample, sample) ( 8) cTypCovCss // channel fMatMat(sample, sample) ( 9) cTypCorCss // 1 fMatHis(1,channel) (10) cTypMeanCorss // 1 fMatHis(1,channel) (11) cTypSigCorss // 1 fMatHis(channel, sample) (12) cTypAvPed // channel fMatMat(sample, sample) (13) cTypAvMeanCorss // channel fMatMat(sample, sample) (14) cTypAvSigCorss // 1 fMatHis(channel, sample) (15) cTypNbOfEvts // 1 fMatHis(1,channel) (16) cTypPed // 1 fMatHis(1,channel) (17) cTypTno // 1 fMatHis(1,channel) (18) cTypLfn // 1 fMatHis(1,channel) (19) cTypHfn // channel fMatHis(sample, bins) (20) cTypAdcEvt // 1 fMatMat(channel, channel) (21) cTypLfCov // 1 fMatMat(channel, channel) (22) cTypLfCor // 1 fMatMat(channel, channel) (23) cTypLFccMoStins // 1 fMatMat(channel, channel) (24) cTypHFccMoStins // 1 fMatMat(tower, bin_evt) (25) cTypEvtNbInLoop CnaResultTyp xResultType = cTypNumbers; // (default) if (kEntry == 0 ) { xResultType = cTypNumbers;} if (kEntry == 1 ) { xResultType = cTypMSp;} if (kEntry == 2 ) { xResultType = cTypSSp;} if (kEntry == 3 ) { xResultType = cTypAvTno;} if (kEntry == 4 ) { xResultType = cTypAvLfn;} if (kEntry == 5 ) { xResultType = cTypAvHfn;} if (kEntry == 6 ) { xResultType = cTypHfCov;} if (kEntry == 7 ) { xResultType = cTypHfCor;} if (kEntry == 8 ) { xResultType = cTypCovCss;} if (kEntry == 9 ) { xResultType = cTypCorCss;} if (kEntry == 10 ) { xResultType = cTypMeanCorss;} if (kEntry == 11 ) { xResultType = cTypSigCorss;} if (kEntry == 12 ) { xResultType = cTypAvPed;} if (kEntry == 13 ) { xResultType = cTypAvMeanCorss;} if (kEntry == 14 ) { xResultType = cTypAvSigCorss;} if (kEntry == 15 ) { xResultType = cTypNbOfEvts;} if (kEntry == 16 ) { xResultType = cTypPed;} if (kEntry == 17 ) { xResultType = cTypTno;} if (kEntry == 18 ) { xResultType = cTypLfn;} if (kEntry == 19 ) { xResultType = cTypHfn;} if (kEntry == 20 ) { xResultType = cTypAdcEvt;} if (kEntry == 21 ) { xResultType = cTypLfCov;} if (kEntry == 22 ) { xResultType = cTypLfCor;} if (kEntry == 23 ) { xResultType = cTypLFccMoStins;} if (kEntry == 24 ) { xResultType = cTypHFccMoStins;} if (kEntry == 25 ) { xResultType = cTypEvtNbInLoop;} // (FREE) return xResultType; }
void TEcnaResultType::SetSizeHis | ( | Int_t | nrow, |
Int_t | ncol | ||
) |
Definition at line 77 of file TEcnaResultType.cc.
References fMatHis, and TEcnaNArrayD::ReSet().
void TEcnaResultType::SetSizeMat | ( | Int_t | nrow, |
Int_t | ncol | ||
) |
Definition at line 69 of file TEcnaResultType.cc.
References fMatMat, and TEcnaNArrayD::ReSet().
Definition at line 24 of file TEcnaResultType.h.
Referenced by TEcnaRootFile::ReadElement(), and TEcnaRootFile::ReadElementNextEntryNumber().
Definition at line 27 of file TEcnaResultType.h.
Referenced by SetSizeHis().
Definition at line 26 of file TEcnaResultType.h.
Referenced by SetSizeMat().
Definition at line 23 of file TEcnaResultType.h.
Referenced by TEcnaRootFile::ReadElement(), and TEcnaRootFile::ReadElementNextEntryNumber().
Definition at line 25 of file TEcnaResultType.h.