StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstIClusterAlgo.h
1 #ifndef StIstIClusterAlgo_hh
2 #define StIstIClusterAlgo_hh
3 
4 #include <climits>
5 
6 #include "Stypes.h"
7 #include "StIstUtil/StIstCollection.h"
8 
11 
12 
20 {
21 public:
22  void doClustering(StIstCollection &stIstCollection);
23 
24  virtual ~StIstIClusterAlgo() = 0;
25 
26  void setUsedTimeBin(unsigned char tb = UCHAR_MAX) { mTimeBin = tb; }
27  void setSplitFlag( bool splitFlag = true) { mSplitCluster = splitFlag; }
28 
29 protected:
30 
32 
33  Bool_t mSplitCluster;
34  UChar_t mTimeBin;
35 };
36 
37 #endif
38 
39 
40 /***************************************************************************
41 * $Log: StIstIClusterAlgo.h,v $
42 * Revision 1.14 2018/01/04 17:34:37 smirnovd
43 * [Cosmetic] Remove StRoot/ from include path
44 *
45 * $STAR/StRoot is already in the default path search
46 *
47 * Revision 1.13 2015/05/20 20:53:53 smirnovd
48 * Set default value of unsigned variables in a more explicit way
49 *
50 * Revision 1.12 2014/09/17 20:39:45 smirnovd
51 * Squashed commit of the following:
52 *
53 * commit 37d3d404a31c9b152811232af55d37177162269d
54 * Author: Dmitri Smirnov <d.s@plexoos.com>
55 * Date: Wed Sep 17 16:11:22 2014 -0400
56 *
57 * Added an author to reflect on contributions
58 *
59 * commit 6ceacb443d2d35bc21295b81a3d25b7433d40260
60 * Author: Dmitri Smirnov <d.s@plexoos.com>
61 * Date: Wed Sep 17 16:09:48 2014 -0400
62 *
63 * [Minor] Reversed the logic and saved one level of intentation
64 *
65 * commit 4bc24031445ecce9f19b940697d13cc8a755aaf1
66 * Author: Dmitri Smirnov <d.s@plexoos.com>
67 * Date: Wed Sep 17 16:06:42 2014 -0400
68 *
69 * Do not use standard ROOT's dictionary macroses since the classes are transient by design
70 *
71 * Revision 1.11 2014/09/17 20:36:20 smirnovd
72 * Simplified public interface by reducing the number of unnecessarily required parameters
73 *
74 * Revision 1.10 2014/09/17 20:33:32 smirnovd
75 * Squashed commit of the following:
76 *
77 * commit 72dc19a6663ea31c719c1a61f6d2b4752dd766aa
78 * Author: Dmitri Smirnov <d.s@plexoos.com>
79 * Date: Wed Sep 17 12:34:42 2014 -0400
80 *
81 * Minor code refactoring, clean up
82 *
83 * commit e083a10a9fb60b7dcce692ef8043b9227c12768b
84 * Author: Dmitri Smirnov <d.s@plexoos.com>
85 * Date: Wed Sep 17 12:18:16 2014 -0400
86 *
87 * Removed pointless comments
88 *
89 * commit 88d51857362c91c954704cec4a31a0b0fa7fccc5
90 * Author: Dmitri Smirnov <d.s@plexoos.com>
91 * Date: Wed Sep 17 12:17:26 2014 -0400
92 *
93 * Updated description in doxygen comments
94 *
95 * commit eb09527489179fc7dab6aa7f23fd132b25185bb1
96 * Author: Dmitri Smirnov <d.s@plexoos.com>
97 * Date: Tue Sep 9 15:15:56 2014 -0400
98 *
99 * StIstScanClusterAlgo: Removed unused variable
100 *
101 * commit 1a8df63533c71a0e2ba4d8275ebf89f4e3004765
102 * Author: Dmitri Smirnov <d.s@plexoos.com>
103 * Date: Fri Aug 22 16:04:47 2014 -0400
104 *
105 * Neatened headers: Removed unused, spelled paths in includes explicitly as it slightly helps in identifying dependencies
106 *
107 * commit 972e8ed41403bd680ade5ecc509f8bca004e86ee
108 * Author: Dmitri Smirnov <d.s@plexoos.com>
109 * Date: Wed Sep 17 12:34:20 2014 -0400
110 *
111 * Minor stylistic changes
112 *
113 * commit 57daf5a1e0b3246fd12f1dd1c2ca089b62930c83
114 * Author: Dmitri Smirnov <d.s@plexoos.com>
115 * Date: Tue Sep 16 16:29:14 2014 -0400
116 *
117 * Improved doxygen comments
118 *
119 * Revision 1.9 2014/09/08 19:29:40 smirnovd
120 * Corrected syntax of comments so they can be recognized by doxygen
121 *
122 * Revision 1.8 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.7 2014/09/07 11:41:36 ypwang
126 * ClassDef version updated from 1 to 0, and remove Init() function
127 *
128 * Revision 1.6 2014/08/22 21:32:45 smirnovd
129 * Moved doxygen comment to where it belongs
130 *
131 * Revision 1.5 2014/08/22 15:55:15 smirnovd
132 * Fixed style with astyle -s3 -p -H -A3 -k3 -O -o -y -Y -f
133 *
134 * Revision 1.4 2014/08/22 15:50:00 smirnovd
135 * Moved CVS history to the end of file
136 *
137 * Revision 1.3 2014/02/08 03:34:16 ypwang
138 * updating scripts
139 *
140 * Revision 1.0 2013/11/04 Yaping
141 * Initial version
142 ****************************************************************************/
void doClustering(StIstCollection &stIstCollection)