StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstSimpleClusterAlgo.h
1 #ifndef StIstSimpleClusterAlgo_hh
2 #define StIstSimpleClusterAlgo_hh
3 
4 #include "StIstClusterMaker/StIstIClusterAlgo.h"
5 
6 class StIstRawHit;
7 class StIstCluster;
8 class StIstCollection;
11 
12 
29 {
31 protected:
32  enum {kIstSimpleClusterAlgo = 1};
33 
34  virtual Int_t doClustering(const StIstCollection &istCollection, StIstRawHitCollection &rawHits, StIstClusterCollection &clusters );
35  Int_t doSplitting(StIstClusterCollection &clusters, unsigned char numTimeBins);
36  Int_t splitCluster(int cSize, int clusterSizeList[], StIstRawHit *rawHitPtr[], StIstCluster *clusterIt, StIstClusterCollection &clusters, unsigned char numTimeBins);
37 };
38 
39 #endif
40 
41 
42 /***************************************************************************
43 *
44 * $Log: StIstSimpleClusterAlgo.h,v $
45 * Revision 1.17 2018/01/04 17:34:37 smirnovd
46 * [Cosmetic] Remove StRoot/ from include path
47 *
48 * $STAR/StRoot is already in the default path search
49 *
50 * Revision 1.16 2015/11/02 20:15:29 perev
51 * New compile, destructor added
52 *
53 * Revision 1.15 2014/09/17 20:39:45 smirnovd
54 * Squashed commit of the following:
55 *
56 * commit 37d3d404a31c9b152811232af55d37177162269d
57 * Author: Dmitri Smirnov <d.s@plexoos.com>
58 * Date: Wed Sep 17 16:11:22 2014 -0400
59 *
60 * Added an author to reflect on contributions
61 *
62 * commit 6ceacb443d2d35bc21295b81a3d25b7433d40260
63 * Author: Dmitri Smirnov <d.s@plexoos.com>
64 * Date: Wed Sep 17 16:09:48 2014 -0400
65 *
66 * [Minor] Reversed the logic and saved one level of intentation
67 *
68 * commit 4bc24031445ecce9f19b940697d13cc8a755aaf1
69 * Author: Dmitri Smirnov <d.s@plexoos.com>
70 * Date: Wed Sep 17 16:06:42 2014 -0400
71 *
72 * Do not use standard ROOT's dictionary macroses since the classes are transient by design
73 *
74 * Revision 1.14 2014/09/17 20:36:20 smirnovd
75 * Simplified public interface by reducing the number of unnecessarily required parameters
76 *
77 * Revision 1.13 2014/09/17 20:33:32 smirnovd
78 * Squashed commit of the following:
79 *
80 * commit 72dc19a6663ea31c719c1a61f6d2b4752dd766aa
81 * Author: Dmitri Smirnov <d.s@plexoos.com>
82 * Date: Wed Sep 17 12:34:42 2014 -0400
83 *
84 * Minor code refactoring, clean up
85 *
86 * commit e083a10a9fb60b7dcce692ef8043b9227c12768b
87 * Author: Dmitri Smirnov <d.s@plexoos.com>
88 * Date: Wed Sep 17 12:18:16 2014 -0400
89 *
90 * Removed pointless comments
91 *
92 * commit 88d51857362c91c954704cec4a31a0b0fa7fccc5
93 * Author: Dmitri Smirnov <d.s@plexoos.com>
94 * Date: Wed Sep 17 12:17:26 2014 -0400
95 *
96 * Updated description in doxygen comments
97 *
98 * commit eb09527489179fc7dab6aa7f23fd132b25185bb1
99 * Author: Dmitri Smirnov <d.s@plexoos.com>
100 * Date: Tue Sep 9 15:15:56 2014 -0400
101 *
102 * StIstScanClusterAlgo: Removed unused variable
103 *
104 * commit 1a8df63533c71a0e2ba4d8275ebf89f4e3004765
105 * Author: Dmitri Smirnov <d.s@plexoos.com>
106 * Date: Fri Aug 22 16:04:47 2014 -0400
107 *
108 * Neatened headers: Removed unused, spelled paths in includes explicitly as it slightly helps in identifying dependencies
109 *
110 * commit 972e8ed41403bd680ade5ecc509f8bca004e86ee
111 * Author: Dmitri Smirnov <d.s@plexoos.com>
112 * Date: Wed Sep 17 12:34:20 2014 -0400
113 *
114 * Minor stylistic changes
115 *
116 * commit 57daf5a1e0b3246fd12f1dd1c2ca089b62930c83
117 * Author: Dmitri Smirnov <d.s@plexoos.com>
118 * Date: Tue Sep 16 16:29:14 2014 -0400
119 *
120 * Improved doxygen comments
121 *
122 * Revision 1.12 2014/09/07 13:54:45 ypwang
123 * move setUsedTimeBin() and setSplitFlag() setters from inherited classes to their base class StIstIClusterAlgo.h
124 *
125 * Revision 1.11 2014/09/07 11:41:36 ypwang
126 * ClassDef version updated from 1 to 0, and remove Init() function
127 *
128 * Revision 1.10 2014/08/22 21:38:20 smirnovd
129 * Restored declaration removed by mistake
130 *
131 * Revision 1.9 2014/08/22 21:32:45 smirnovd
132 * Moved doxygen comment to where it belongs
133 *
134 * Revision 1.8 2014/08/22 21:27:27 smirnovd
135 * Decalred methods virtual as that what they are. Makes the code better to understand
136 *
137 * Revision 1.7 2014/08/22 15:55:15 smirnovd
138 * Fixed style with astyle -s3 -p -H -A3 -k3 -O -o -y -Y -f
139 *
140 * Revision 1.6 2014/08/22 15:50:00 smirnovd
141 * Moved CVS history to the end of file
142 *
143 * Revision 1.5 2014/02/16 21:42:54 ypwang
144 * getting number of time bins used in current event by StIstCollection::getNumTimeBins() function
145 *
146 * Revision 1.4 2014/02/10 16:33:44 smirnovd
147 * Trimmed trailing spaces, expanded tabs to eight spaces
148 *
149 * Revision 1.3 2014/02/08 03:34:16 ypwang
150 * updating scripts
151 *
152 *
153 ****************************************************************************
154 * StIstSimpleClusterAlgo.h,v 1.0
155 * Revision 1.0 2013/11/04 15:55:30 Yaping
156 * Initial version
157 ****************************************************************************/