StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcIstLadderHitCollection.hh
1 /***************************************************************************
2  *
3  * StMcIstLadderHitCollection.hh,v 1.0 2015/02/12 13:00:00
4  *
5  * Author: Amilkar Quintero, Feb 2015
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Ist Ladder Hit Collection class
9  *
10  ***************************************************************************/
11 #ifndef StMcIstLadderHitCollection_hh
12 #define StMcIstLadderHitCollection_hh
13 
14 #include "StMcContainers.hh"
15 #include "StObject.h"
16 
17 #include "StMcIstSensorHitCollection.hh"
18 
20 public:
22  virtual ~StMcIstLadderHitCollection();
23  void Clear(const char* opt="");
24  // bool IsFolder() const { return true;};
25  unsigned long numberOfHits() const;
26  unsigned int numberOfSensors() const {return mMaxNumberOfSensors;}
27 
28  StMcIstSensorHitCollection* sensor(unsigned int);
29  const StMcIstSensorHitCollection* sensor(unsigned int) const;
30 
31 protected:
32  enum { mMaxNumberOfSensors = 6 };
33  StMcIstSensorHitCollection mSensors[mMaxNumberOfSensors];
34 
35  ClassDef(StMcIstLadderHitCollection,1)
36 };
37 #endif