StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstClusterMaker.h
1 #ifndef StIstClusterMaker_hh
2 #define StIstClusterMaker_hh
3 
4 #include <climits>
5 
6 #include "StMaker.h"
7 #include "StIstIClusterAlgo.h"
8 
9 class StIstCollection;
10 
11 
20 class StIstClusterMaker : public StMaker
21 {
22 public:
23  StIstClusterMaker( const char *name = "ist_cluster");
25  Int_t Init();
26  Int_t Make();
27  void Clear( Option_t *opts = "" );
28 
29  void setClusterAlgo(StIstIClusterAlgo *);
30  void setUsedTimeBin(unsigned char tb=UCHAR_MAX) { mTimeBin = tb; }
31  void setClusterSplitFlag(bool splitFlag=true) { mSplitCluster = splitFlag; }
32 
33  virtual const char *GetCVS() const
34  {static const char cvs[] = "Tag $Name: $ $Id: StIstClusterMaker.h,v 1.15 2015/07/27 18:50:31 huangbc Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
35 
36 protected:
37  StIstCollection *mIstCollectionPtr;
38  StIstIClusterAlgo *mClusterAlgoPtr;
39 
40  UChar_t mTimeBin;
41  Bool_t mSplitCluster;
42 
43  ClassDef(StIstClusterMaker, 0);
44 };
45 
46 #endif
47 
48 
49 /***************************************************************************
50 *
51 * $Log: StIstClusterMaker.h,v $
52 * Revision 1.15 2015/07/27 18:50:31 huangbc
53 * Add space before and after "__DATE__" and "__TIME__" for compling under gcc4.8.2
54 *
55 * Revision 1.14 2015/05/20 20:53:53 smirnovd
56 * Set default value of unsigned variables in a more explicit way
57 *
58 * Revision 1.13 2014/09/17 20:33:32 smirnovd
59 * Squashed commit of the following:
60 *
61 * commit 72dc19a6663ea31c719c1a61f6d2b4752dd766aa
62 * Author: Dmitri Smirnov <d.s@plexoos.com>
63 * Date: Wed Sep 17 12:34:42 2014 -0400
64 *
65 * Minor code refactoring, clean up
66 *
67 * commit e083a10a9fb60b7dcce692ef8043b9227c12768b
68 * Author: Dmitri Smirnov <d.s@plexoos.com>
69 * Date: Wed Sep 17 12:18:16 2014 -0400
70 *
71 * Removed pointless comments
72 *
73 * commit 88d51857362c91c954704cec4a31a0b0fa7fccc5
74 * Author: Dmitri Smirnov <d.s@plexoos.com>
75 * Date: Wed Sep 17 12:17:26 2014 -0400
76 *
77 * Updated description in doxygen comments
78 *
79 * commit eb09527489179fc7dab6aa7f23fd132b25185bb1
80 * Author: Dmitri Smirnov <d.s@plexoos.com>
81 * Date: Tue Sep 9 15:15:56 2014 -0400
82 *
83 * StIstScanClusterAlgo: Removed unused variable
84 *
85 * commit 1a8df63533c71a0e2ba4d8275ebf89f4e3004765
86 * Author: Dmitri Smirnov <d.s@plexoos.com>
87 * Date: Fri Aug 22 16:04:47 2014 -0400
88 *
89 * Neatened headers: Removed unused, spelled paths in includes explicitly as it slightly helps in identifying dependencies
90 *
91 * commit 972e8ed41403bd680ade5ecc509f8bca004e86ee
92 * Author: Dmitri Smirnov <d.s@plexoos.com>
93 * Date: Wed Sep 17 12:34:20 2014 -0400
94 *
95 * Minor stylistic changes
96 *
97 * commit 57daf5a1e0b3246fd12f1dd1c2ca089b62930c83
98 * Author: Dmitri Smirnov <d.s@plexoos.com>
99 * Date: Tue Sep 16 16:29:14 2014 -0400
100 *
101 * Improved doxygen comments
102 *
103 * Revision 1.12 2014/09/07 11:31:29 ypwang
104 * update the setClusterAlgo() returning void instead of Int_t type
105 *
106 * Revision 1.11 2014/09/07 08:15:18 ypwang
107 * destructor was added for the mIstCollectionPtr and mClusterAlgoPtr objects killing
108 *
109 * Revision 1.10 2014/08/22 21:27:19 smirnovd
110 * Remove inline keyword and move the methods inside the definition. Let the compiler optimize the code as it should not be a problem with these one-liners
111 *
112 * Revision 1.9 2014/08/22 15:55:15 smirnovd
113 * Fixed style with astyle -s3 -p -H -A3 -k3 -O -o -y -Y -f
114 *
115 * Revision 1.8 2014/08/21 17:51:08 smirnovd
116 * Moved CVS history to the end of file
117 *
118 * Revision 1.7 2014/08/12 23:04:53 ypwang
119 * remove the raw hit number cut per ladder before doing clustering, due to chip occupancy cut was added in raw hit maker which can do the bad column rejection; simplfy the code by removing the InitRun() function
120 *
121 * Revision 1.6 2014/07/29 20:13:31 ypwang
122 * update the IST DB obtain method
123 *
124 * Revision 1.5 2014/02/15 20:02:37 ypwang
125 * Clear() member function added, and mIstCollectionPtr data member defined
126 *
127 * Revision 1.4 2014/02/08 03:34:16 ypwang
128 * updating scripts
129 *
130 *
131 ****************************************************************************
132 * StIstClusterMaker.h,v 1.0
133 * Revision 1.0 2013/11/04 15:55:30 Yaping
134 * Initial version
135 ****************************************************************************/
Bool_t mSplitCluster
Flag to split clusters.
UChar_t mTimeBin
Time bin to be used.
void Clear(Option_t *opts="")
User defined functions.