StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSstHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StSstHitCollection.h,v 2.1 2015/05/13 16:50:59 ullrich Exp $
8  *
9  * Author: Jonathan Bouchet, Thomas Ullrich, May 2015
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StSstHitCollection.h,v $
17  * Revision 2.1 2015/05/13 16:50:59 ullrich
18  * Initial Revision.
19  *
20  **************************************************************************/
21 #ifndef StSstHitCollection_hh
22 #define StSstHitCollection_hh
23 
24 #include "StObject.h"
25 #include "StSstLadderHitCollection.h"
26 class StSstHit;
27 
28 class StSstHitCollection : public StObject {
29 public:
32  // StSstHitCollection(const StSstHitCollection&); use default
33  // StSstHitCollection& operator=(const StSstHitCollection&); use default
34 
35  bool addHit(StSstHit*);
36  unsigned int numberOfHits() const;
37  unsigned int numberOfLadders() const;
38 
39  StSstLadderHitCollection* ladder(unsigned int);
40  const StSstLadderHitCollection* ladder(unsigned int) const;
41 
42 private:
43  enum { mNumberOfLadders = 20 };
44  StSstLadderHitCollection mLadders[mNumberOfLadders];
45 
46  ClassDef(StSstHitCollection,1)
47 };
48 #endif