StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcStripClusterFinderTSIU.h
1 
10 #ifndef _ST_STRIP_CLUSTER_FINDER_TSIU_H_
11 #define _ST_STRIP_CLUSTER_FINDER_TSIU_H_
12 
13 
14 #include "StRoot/StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
15 
16 #include "StEEmcStripClusterFinder.h"
17 
19 
20  public:
23 
25  virtual Int_t find( const ESmdLayer_t& stripArray, StSimpleClusterVec_t& cluster );
26 
27  // cuts for smoothing and finding seeds
28  void setNumSmoothIters( UInt_t val ){ mNumSmoothIters = val; };
29  void setSeedAbsThres( Double_t val ){ mSeedAbsThres = val; };
30  void setSeedRelThres( Double_t val ){ mSeedRelThres = val; };
31 
32  // cuts for building clusters around seeds
33  void setNumStripsPerSide( UInt_t val ){ mNumStripsPerSide = val; };
34 
35  // cuts on whether to keep the cluster
36  void setMinStripsPerCluster( UInt_t val ){ mMinStripsPerCluster = val; };
37  void setMinEnergyPerCluster( Double_t val ){ mMinEnergyPerCluster = val; };
38 
39  protected:
40  // parameters
41  UInt_t mNumSmoothIters, mNumStripsPerSide, mMinStripsPerCluster;
42  Double_t mSeedAbsThres, mSeedRelThres, mMinEnergyPerCluster;
43 
44  // temp storage
45  Double_t mStripEnergyArray[ kEEmcNumStrips ], mSmoothedEnergyArray[ kEEmcNumStrips ];
46 
47  private:
48  ClassDef( StEEmcStripClusterFinderTSIU_t, 1 );
49 };
50 
51 
52 #endif
53 
54 /*
55  * $Id: StEEmcStripClusterFinderTSIU.h,v 1.1 2012/11/26 19:05:55 sgliske Exp $
56  * $Log: StEEmcStripClusterFinderTSIU.h,v $
57  * Revision 1.1 2012/11/26 19:05:55 sgliske
58  * moved from offline/users/sgliske/StRoot/StEEmcPool/StEEmcHitMaker to StRoot/StEEmcPool/StEEmcHitMaker
59  *
60  *
61  */
virtual Int_t find(const ESmdLayer_t &stripArray, StSimpleClusterVec_t &cluster)
find some clusters