10 #include "StTrigOnlyPanitkinMaker.h"
11 #include "StEEmcPool/HanksTriggerDataReader/StTriggerDataReader.h"
12 #include "StTriggerData2005.h"
28 StTrigOnlyPanitkinMaker::~StTrigOnlyPanitkinMaker(){
34 void StTrigOnlyPanitkinMaker::saveHisto(TString fname){
35 TString outName=fname+
".hist.root";
36 TFile f( outName,
"recreate");
38 printf(
"%d histos are written to '%s' ...\n",HList->GetEntries(),outName.Data());
46 Int_t StTrigOnlyPanitkinMaker::Init(){
50 if (dsm) dsm->initHisto();
51 return StMaker::Init();
58 gMessMgr->Message(
"",
"I") <<
GetName()<<
"::Finish() inputEve="<<nInpEve<<
" trigFilterEve="<<nTrigEve<<endm;
64 void StTrigOnlyPanitkinMaker::Clear(
const Option_t*){
65 if (dsm) dsm->clear();
73 gMessMgr->Message(
"",
"D") <<
GetName()<<
"::Make() is called "<<endm;
77 void *blob=trgreader->GetTriggerData();
87 const unsigned char * dsm0inp= trgAkio5.getDsm0_EEMC();
88 unsigned short int * dsm1inp= trgAkio5.getDsm1_EEMC();
89 unsigned short int * dsm2inp= trgAkio5.getDsm2_EMC();
90 unsigned short int * dsm3inp= trgAkio5.getDsm3();
92 if (dsm) dsm->sort( dsm0inp, dsm1inp, dsm2inp, dsm3inp);
virtual const char * GetName() const
special overload