1 #include "StPreEclMaker.h"
3 #include "StEmcSimulatorMaker/StEmcSimulatorMaker.h"
4 #include "StEmcADCtoEMaker/StEmcADCtoEMaker.h"
6 #include "TStopwatch.h"
7 #include "StEmcUtil/others/emcDetectorName.h"
17 StPreEclMaker::~StPreEclMaker()
23 Int_t StPreEclMaker::Init()
36 return StMaker::Init();
43 LOG_DEBUG <<
"StPreEclMaker::Make()***********************************************************"<<endm;
59 LOG_DEBUG <<
"Time to run StPreEclMaker::Make() real = "<<clock.RealTime()<<
" cpu= "<<clock.CpuTime()<<endm;
60 LOG_DEBUG <<
"*******************************************************************************"<<endm;
68 StEvent* StPreEclMaker::getEvent()
90 ev->setEmcCollection(emc);
105 ev->setEmcCollection(emc);
114 Float_t energyThresholdAll,
115 Bool_t kCheckClustersOk)
120 for(Int_t i=0;i<4;i++)
122 if(!strcmp(cdet,detname[i].Data()))
126 ((
StEmcOldFinder*)mFinder)->setEnergyThresholdAll(i+1,energyThresholdAll);
virtual Bool_t fillStEvent(StEvent *)
fills the StEvent object with the StEmcPreCluster objects in the collections
virtual Bool_t fillHistograms(StEvent *)
fills the QA histograms
StEmcCollection * getEmcCollection()
StEmcCollection * getEmcCollection()
Return emcCollection.
void SetClusterConditions(char *, Int_t, Float_t, Float_t, Float_t, Bool_t=kFALSE)
this is for background compatibility with the old finder
virtual Bool_t findClusters(StEvent *)
finds clusters in a StEvent object
virtual Bool_t clear(StEvent *)
removes clusters and points from the StEvent object