StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFstHitCollection.h
1 /***************************************************************************
2 *
3 * $Id: StFstHitCollection.h $
4 *
5 * Author: Shenghui Zhang, Oct. 2021
6 ****************************************************************************
7 * Description:
8 * Data collection for FST hits, and is saved to StEvent.
9 ***************************************************************************/
10 
11 #ifndef StFstHitCollection_hh
12 #define StFstHitCollection_hh
13 
14 #include "StObject.h"
15 #include "StFstWedgeHitCollection.h"
16 #include "StEvent/StEnumerations.h"
17 #include "StEvent/StFstConsts.h"
18 
19 class StFstHit;
20 
22 {
23 public:
25 
26  bool addHit(StFstHit *);
27  unsigned int numberOfHits() const;
28 
29  unsigned char getClusteringType() const;
30  void setClusteringType(unsigned char clusteringType);
31 
32  StFstWedgeHitCollection *wedge(unsigned int);
33  const StFstWedgeHitCollection *wedge(unsigned int) const;
34 
35 private:
36  StFstWedgeHitCollection mWedges[kFstNumWedges];
37  UChar_t mClusteringType; // clustering algorithm type
38 
39  ClassDef(StFstHitCollection, 1)
40 };
41 #endif
42 
43 
44 /***************************************************************************
45 * StFstHitCollection.h,v 1.0
46 * Revision 1.0 2021/10/04 Shenghui Zhang
47 * Initial version
48 ****************************************************************************/