StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstHitCollection.h
1 /***************************************************************************
2 *
3 * $Id: StIstHitCollection.h,v 2.1 2014/04/10 16:17:23 jeromel Exp $
4 *
5 * Author: Yaping Wang, August 2013
6 ****************************************************************************
7 * Description:
8 * Data collection for IST hits, and is saved to StEvent.
9 ***************************************************************************/
10 
11 #ifndef StIstHitCollection_hh
12 #define StIstHitCollection_hh
13 
14 #include "StObject.h"
15 #include "StIstLadderHitCollection.h"
16 #include "StEvent/StEnumerations.h"
17 
18 using namespace StIstConsts;
19 
20 class StIstHit;
21 
23 {
24 public:
27 
28  bool addHit(StIstHit *);
29  unsigned int numberOfHits() const;
30 
31  unsigned char getClusteringType() const;
32  void setClusteringType(unsigned char clusteringType);
33 
34  StIstLadderHitCollection *ladder(unsigned int);
35  const StIstLadderHitCollection *ladder(unsigned int) const;
36 
37 private:
39  UChar_t mClusteringType; // clustering algorithm type
40 
41  ClassDef(StIstHitCollection, 1)
42 };
43 #endif
44 
45 
46 /***************************************************************************
47 *
48 * $Log: StIstHitCollection.h,v $
49 * Revision 2.1 2014/04/10 16:17:23 jeromel
50 * Add hit def for Ist (Thomas OK-ed)
51 *
52 * Revision 1.8 2014/03/17 20:27:57 ypwang
53 * remove numOfLadder() and numOfSensor() from StIstHitCollection.h and StIstLadderHitCollection.h, respectively
54 *
55 * Revision 1.7 2014/03/13 22:17:09 smirnovd
56 * Minor whitespace alignment fixes
57 *
58 * Revision 1.6 2014/03/13 22:10:30 smirnovd
59 * Expand tabs and trim trailing whitespace
60 *
61 * Revision 1.5 2014/03/13 22:10:12 smirnovd
62 * Move some constants from StIstUtil/StIstConsts.h to StEvent/StEnumerations.h to avoid external dependance of StEvent on StIstUtil
63 *
64 * Revision 1.4 2014/02/26 21:18:08 smirnovd
65 * Style corrected with astyle -s3 -p -H -A3 -k3 -O -o -y -Y -f
66 *
67 * Revision 1.3 2014/02/25 17:08:49 ypwang
68 * add mClusteringType and its accessory/modifier functions
69 *
70 *
71 ****************************************************************************
72 * StIstHitCollection.h,v 1.0
73 * Revision 1.0 2013/11/04 15:25:30 Yaping
74 * Initial version
75 ****************************************************************************/
const int kIstNumLadders
24 IST Ladders