44 #ifndef STAR_StGammaMaker
45 #define STAR_StGammaMaker
49 #include "StGammaEventMaker.h"
50 #include "StGammaRawMaker.h"
51 #include "StGammaCandidateMaker.h"
52 #include "StGammaTreeMaker.h"
53 #include "StGammaPythiaEventMaker.h"
54 #include "StGammaScheduleMaker.h"
56 #include "StBarrelEmcClusterMaker.h"
58 #include "StEEmcPool/StEEmcClusterMaker/StMyClusterMaker.h"
59 #include "StEEmcPool/StEEmcA2EMaker/StEEmcA2EMaker.h"
61 #include "StSpinPool/StMCAsymMaker/StMCAsymMaker.h"
63 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
72 enum detectorSwitch { kBemc, kEemc, kBoth };
73 enum analysisType { kData, kSimu };
75 StGammaMaker(
const char *name =
"gammaMaker", detectorSwitch detector = kBoth, analysisType analysis = kData);
78 virtual const char* GetCVS()
const
79 {
static const char cvs[] =
"Tag $Name: $ $Id: StGammaMaker.h,v 1.6 2014/08/06 11:43:18 jeromel Exp $ built " __DATE__
" " __TIME__;
return cvs; }
83 void Clear(
const Option_t* option =
"") {
StMaker::Clear(option); }
92 void setOutputFile(
const char *output) { mTreeMaker->SetFilename(output); }
93 void storeEmptyEvents() { mTreeMaker->storeEmptyEvents(); }
100 void setClusterEtThreshold(
double threshold) { mCandidateMaker->SetMinimumEt(threshold); }
101 void setConeRadius(
double radius) { mCandidateMaker->SetRadius(radius); }
102 void setBsmdRange(
double range) { mCandidateMaker->SetBsmdRange(range); }
103 void setEsmdRange(
double range) { mCandidateMaker->SetEsmdRange(range); }
105 void useStrictBemcStatus() { mCandidateMaker->useStrictBemcStatus(); }
114 void setSeedEnergyThreshold(
double threshold);
115 void setClusterEnergyThreshold(
double threshold);
120 void setTrackEtRawThreshold(
double threshold) { mRawMaker->SetTrackCutoff(threshold); }
121 void setTowerEtRawThreshold(
double threshold) { mRawMaker->SetTowerCutoff(threshold); }
124 void excludeBemcTower(
int softId) { mRawMaker->excludeBemcTower(softId); }
127 void shiftBemcGains(
double shift) { mRawMaker->shiftBemcGains(shift); }
131 void setEemcTowerClusterThreshold(
double threshold) {
if(mUseEemc) mEemcClusterMaker->setMinimumEnergy(threshold); }
134 void addTimestamp(
int date,
int time,
double weight);
137 void addSimuTrigger(
unsigned int triggerId) { mEventMaker->addSimuTrigger(triggerId); }
EEmc ADC –> energy maker.
virtual void Clear(Option_t *option="")
User defined functions.