StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPxlClusterMaker.h
1 
6 /***************************************************************************
7  *
8  * $Id: StPxlClusterMaker.h,v 1.7 2014/08/06 11:43:34 jeromel Exp $
9  *
10  * Author: Qiu Hao, Jan 2013, according codes from Xiangming Sun
11  ***************************************************************************
12  *
13  * Description:
14  * Group neighboring pixel raw hits from into clusters.
15  * More information at
16  * https://www.star.bnl.gov/protected/heavy/qiuh/HFT/software/PXL_software.pdf
17  *
18  ***************************************************************************
19  *
20  * $Log: StPxlClusterMaker.h,v $
21  * Revision 1.7 2014/08/06 11:43:34 jeromel
22  * Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
23  *
24  * Revision 1.6 2014/02/27 00:44:25 smirnovd
25  * Minor corrections
26  *
27  * Revision 1.5 2014/02/21 21:11:06 smirnovd
28  * Minor style and empty space adjustments
29  *
30  * Revision 1.4 2014/01/28 19:29:35 qiuh
31  * *** empty log message ***
32  *
33  *
34  **************************************************************************/
35 
36 #ifndef StPxlClusterMaker_hh
37 #define StPxlClusterMaker_hh
38 
39 #include <bitset>
40 
41 #include "StMaker.h"
42 #include "StPxlUtil/StPxlConstants.h"
43 #include "StPxlCluster.h"
44 
46 class StPxlRawHit;
47 
48 class StPxlClusterMaker : public StMaker
49 {
50 public:
51  StPxlClusterMaker(const char *name = "pxl_cluster");
52  void Clear(const Option_t * = "");
53  Int_t Make();
54  virtual const char *GetCVS() const {
55  static const char cvs[] = "Tag $Name: $ $Id: StPxlClusterMaker.h,v 1.7 2014/08/06 11:43:34 jeromel Exp $ built " __DATE__ " " __TIME__ ;
56  return cvs;
57  }
58 
59 protected:
60  void findCluster(StPxlCluster *cluster, Int_t column, Int_t row);
61 
63 
64 private:
65  const StPxlRawHit * mRawHitMap[kNumberOfPxlRowsOnSensor][kNumberOfPxlColumnsOnSensor];
66 
67  ClassDef(StPxlClusterMaker, 0)
68 };
69 
70 #endif
void findCluster(StPxlCluster *cluster, Int_t column, Int_t row)
StPxlClusterCollection * mPxlClusterCollection
pointer to the pxl cluster collection