39 #ifndef STROOT_STFMSPOINTMAKER_STFMSPOINTMAKER_H_
40 #define STROOT_STFMSPOINTMAKER_STFMSPOINTMAKER_H_
53 namespace FMSCluster {
54 class StFmsFittedPhoton;
56 class StFmsTowerCluster;
82 void Clear(Option_t* option =
"");
92 void setGlobalRefit(
int v=1) {mGlobalRefit=v;}
95 void setMergeSmallToLarge(
int v=1) {mMergeSmallToLarge=v;}
98 void setTry1PhotonFit(
int v=1) {mTry1PhotonFitWhen2PhotonFitFailed=v;}
101 void setCategorizationAlgo(
int v=1) {mCategorizationAlgo=v;}
108 void setScaleShowerShape(
float large=0.8,
float small=0.6) {mScaleShowerShapeLarge=large; mScaleShowerShapeSmall=small;}
111 void setShowerShapeWithAngle(
int v=1) {mShowerShapeWithAngle=v;}
114 void setVertexZ(
int v=1) {mVertexZ=v;}
118 typedef std::vector<FMSCluster::StFmsTower> TowerList;
120 typedef std::map<int, TowerList> TowerMap;
148 int clusterDetector(TowerList* towers,
int detectorId);
175 bool populateTowerLists();
183 bool isValidChannel(
int detector,
int row,
int col);
190 Float_t mMaxEnergySum=255.0;
196 Int_t mGlobalRefit=0;
197 Int_t mMergeSmallToLarge=1;
198 Int_t mTry1PhotonFitWhen2PhotonFitFailed=1;
199 Int_t mCategorizationAlgo=1;
200 Float_t mScaleShowerShapeLarge=0.8;
201 Float_t mScaleShowerShapeSmall=0.6;
202 Int_t mShowerShapeWithAngle=1;
204 Double_t vertexz=0.0;
208 virtual const Char_t *GetCVS()
const {
static const Char_t cvs[]=
"Tag " __DATE__
" " __TIME__ ;
return cvs;}
211 #endif // STROOT_STFMSPOINTMAKER_STFMSPOINTMAKER_H_
void setMaxEnergySum(Float_t v)
Int_t InitRun(Int_t runNumber)
void SetReadMuDst(int v=1)
StFmsPointMaker(const char *name="StFmsPointMaker")
void Clear(Option_t *option="")