13 #ifndef STAR_StEmcADCtoEMaker
14 #define STAR_StEmcADCtoEMaker
19 #include "tables/St_controlADCtoE_Table.h"
20 #include "StBemcData.h"
21 #include "StEmcRawMaker/defines.h"
46 void setCheckStatus(StDetectorId det,
int flag,
const char* option=
"");
81 virtual const char * GetCVS()
const
83 static const char cvs[]=
"Tag $Name: $ $Id: StEmcADCtoEMaker.h,v 1.54 2017/06/02 16:41:57 jlzhang Exp $ built " __DATE__
" " __TIME__ ;
95 Bool_t mTestedCorruption;
97 virtual Bool_t prepareEnvironment();
98 virtual Bool_t makeBemc();
99 virtual void fillHistograms();
100 virtual void testCorruption();
void setEmbeddingMode(Bool_t a)
Set embedding mode (default is kFALSE)
Bool_t isCorrupted()
Returns if BTOW is corrupted or not.
virtual Int_t Init()
Init function. This method initializes the histograms.
void setPrint(Bool_t)
Obsolete function; users can control messages with logger config file.
virtual Int_t Make()
Process each event.
StBemcData * getBemcData()
Return the StBemcData pointer.
void setCheckCrateHeaderCorruption(StDetectorId det, int flag)
suppress hits if crate fails corruption check. Default is true.
controlADCtoE_st * getControlTable()
Return Control table (NULL)
StEmcADCtoEMaker(const char *name="Eread")
StEmcADCtoEMaker constructor.
virtual Int_t Finish()
Finish function.
StEmcCollection * getEmcCollection()
Return emcCollection.
void printMap(Int_t, char *)
print map for an EMC detector
void setDoZeroSuppression(StDetectorId det, int flag)
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.
virtual Int_t InitRun(Int_t)
InitRun function.
void setPedestalCut(StDetectorId det, float nRMS)
suppress hits if (adc-ped) < nRMS*pedRMS. Default is 1.5 for BSMD, BPRS.
controlADCtoE_st * getControlTable()
Return Control table (NULL)
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.
virtual ~StEmcADCtoEMaker()
StEmcADCtoEMaker destructor.
void setCheckStatus(StDetectorId det, int flag, const char *option="")