6 void daqDump(
const char* daqFile=
"/star/rcf/test/daq/2009/115/st_physics_10115020_raw_5020001.daq",
int maxEvents=-1))
16 gROOT->Macro(
"Load.C");
17 Info(__FILE__,
"Enabling Logger...");
18 gROOT->LoadMacro(
"LoadLogger.C");
21 gSystem->Load(
"StDaqLib");
22 gSystem->Load(
"StDAQMaker");
23 gSystem->Load(
"StIOMaker");
25 cout <<
"Create chain " << chain->
GetName() << endl;
26 chain->SetFlags(
"in");
31 while ( maxEvents &&( chain->MakeEvent() ==
kStOK ) ) {
32 chain->GetEvtHddr()->Print();
33 if (maxEvents >=0 ) --maxEvents;
virtual const char * GetName() const
special overload