StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFstClusterMaker.h
1 #ifndef StFstClusterMaker_hh
2 #define StFstClusterMaker_hh
3 
4 #include <climits>
5 
6 #include "StMaker.h"
7 #include "StFstIClusterAlgo.h"
8 
9 class StFstCollection;
10 
11 
20 class StFstClusterMaker : public StMaker
21 {
22 public:
23  StFstClusterMaker( const char *name = "fst_cluster");
25  Int_t Init();
26  Int_t Make();
27  void Clear( Option_t *opts = "" );
28 
29  void setClusterAlgo(StFstIClusterAlgo *);
30  void setUsedTimeBin(unsigned char tb=UCHAR_MAX) { mTimeBin = tb; }
31  void setClusterSplitFlag(bool splitFlag=true) { mSplitCluster = splitFlag; }
32 
33 protected:
34  StFstCollection *mFstCollectionPtr;
35  StFstIClusterAlgo *mClusterAlgoPtr;
36 
37  UChar_t mTimeBin;
38  Bool_t mSplitCluster;
39 
40  ClassDef(StFstClusterMaker, 0);
41 };
42 
43 #endif
void Clear(Option_t *opts="")
User defined functions.
UChar_t mTimeBin
Time bin to be used.
Bool_t mSplitCluster
Flag to split clusters.