14 #include "TClonesArray.h"
27 using std::setprecision;
36 for (Int_t iSys=0; iSys<16; iSys++)
fDigis[iSys] = NULL;
46 for (Int_t iSys=9; iSys<16; iSys++)
fSystem[iSys] =
"";
67 for (Int_t iSys=0; iSys<16; iSys++) {
69 if ( !
fDigis[iSys] )
continue;
72 nDigis[iSys] =
fDigis[iSys]->GetEntriesFast();
73 for (Int_t iDigi=0; iDigi<nDigis[iSys]; iDigi++) {
76 cout <<
"-E- " << GetName() <<
"::Exec: digi with system ID "
77 << digi->
GetSystemId() <<
" in digi collection " << iSys
78 <<
"(" <<
fSystem[iSys] <<
")" << endl;
79 Fatal(
"Exec",
"Wrong system ID for digi");
81 Int_t iDet = digi->GetDetectorId();
82 Int_t iChan = digi->GetChannelNr();
83 pair<Int_t, Int_t> a(iDet, iChan);
87 cout <<
"-W- " << GetName() <<
"::Exec: Multiple entry in "
88 <<
fSystem[iSys] <<
" digi collection; detector " << iDet
89 <<
", channel " << iChan << endl;
104 cout << setw(15) << left << fName <<
": " << setprecision(4) << setw(8)
105 << fixed << right <<
fTimer.RealTime()
107 for (Int_t iSys=0; iSys<15; iSys++)
109 <<
" " << nDigis[iSys];
121 pair<Int_t, Int_t> a(iDetector, iChannel);
136 if ( ! ioman ) Fatal(
"Init",
"No FairRootManager");
139 for (Int_t iSys=0; iSys<16; iSys++) {
141 TString digiName =
fSystem[iSys];
144 if (
fDigis[iSys] ) nColl++;
147 cout <<
"-I- " << GetName() <<
"::Init: " << nColl
148 <<
" digi collection";
149 if ( nColl != 1 ) cout <<
"s";
150 cout <<
" found." << endl;