11 #ifndef _ST_EEMC_HIT_MAKER_H_
12 #define _ST_EEMC_HIT_MAKER_H_
15 #include "StRoot/StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
22 #include "StEEmcHit.h"
23 #include "StSimpleCluster.h"
24 #include "StESMDClustersPerSector.h"
25 #include "StEEmcHitMakerData.h"
42 void Clear(Option_t *opts=
"");
50 void doClusterPreShower1( Bool_t flag = 1 ){
mDoClusterTower[ PRESHOWER1 ] = flag; };
51 void doClusterPreShower2( Bool_t flag = 1 ){
mDoClusterTower[ PRESHOWER2 ] = flag; };
52 void doClusterPostShower( Bool_t flag = 1 ){
mDoClusterTower[ POSTSHOWER ] = flag; };
59 Bool_t getIfClusteredSMD()
const {
return mDoClusterSMDStrips; };
62 Int_t getNumSMDClusters();
65 static UInt_t convertToIndex( Int_t sec, Int_t sub, Int_t eta ){
return kEEmcNumEtas*( sec*kEEmcNumSubSectors + sub ) + eta; };
66 static UInt_t convertToPhiBin( Int_t sec, Int_t sub ){
return sec*kEEmcNumSubSectors + sub; };
71 std::string mInputMakerName;
76 Bool_t mDoClusterSMDStrips;
77 Bool_t mConstructedOK;
Int_t Make()
Make (loads data, for children classes to use)
void doClusterSMDStrips(Bool_t flag=1)
Set whether to cluster SMD strips.
StEEmcHitMaker_t(const Char_t *myName, const Char_t *inputMkrName)
Construtor.
void doClusterTowers(Bool_t flag=1)
modifiers
StSimpleClusterVec_t mTowerClusterVec[NUM_TOW_LAYERS]
Containers for cluster from each tower layer.
virtual ~StEEmcHitMaker_t()
Deconstructor.
void Clear(Option_t *opts="")
Clear for next event.
static const Int_t kEEmcNumPhiBins
Include the header.
Bool_t mDoClusterTower[NUM_TOW_LAYERS]
boolean flags
Bool_t getIfClusteredTower(TowerLayer_t layer) const
accessors