StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcHitMakerData.h
1 
14 #ifndef _ST_EEMC_HIT_MAKER_DATA_H_
15 #define _ST_EEMC_HIT_MAKER_DATA_H_
16 
17 // closely related inclusions
18 #include "StEEmcHit.h"
19 #include "StSimpleCluster.h"
20 #include "StESMDClustersPerSector.h"
21 
23  public:
26  enum TowerLayer_t { TOWER = 0, PRESHOWER1 = 1, PRESHOWER2 = 2, POSTSHOWER = 3, NUM_TOW_LAYERS = 4 };
27 
30 
32  virtual ~StEEmcHitMakerData_t(){ /* */ };
33 
35 
37  virtual void clearData();
38 
40  const StEEmcHitVec_t& getHitVec() const { return mHitVec; };
41  const StSimpleClusterVec_t& getTowerClusterVec( TowerLayer_t layer ) const { return getTowerClusterVec(layer); };
42  const StSimpleClusterVec_t& getTowerClusterVec() const { return mTowerClusterVec[ TOWER ]; };
43  const StESMDClustersVec_t& getESMDClustersVec() const { return mESMDClusterVec; };
44 
46  StEEmcHitVec_t& getHitVec() { return mHitVec; };
47  StSimpleClusterVec_t& getTowerClusterVec( TowerLayer_t layer );
48  StSimpleClusterVec_t& getTowerClusterVec() { return mTowerClusterVec[ TOWER ]; };
49  StESMDClustersVec_t& getSMDClusterVec() { return mESMDClusterVec; };
50 
51  Int_t getHitVecSize() const { return mHitVec.size(); };
52 
53  StEEmcHitMakerData_t& getHitMakerDataRef() { return *this; };
54 
55  protected:
57  StSimpleClusterVec_t mTowerClusterVec[ NUM_TOW_LAYERS ];
58 
61  StESMDClustersVec_t mESMDClusterVec;
62 
64  StEEmcHitVec_t mHitVec;
65 
66  private:
67  ClassDef( StEEmcHitMakerData_t, 1 );
68 };
69 
70 #endif
71 
72 /*
73  * $Id: StEEmcHitMakerData.h,v 1.1 2012/11/26 19:05:54 sgliske Exp $
74  * $Log: StEEmcHitMakerData.h,v $
75  * Revision 1.1 2012/11/26 19:05:54 sgliske
76  * moved from offline/users/sgliske/StRoot/StEEmcPool/StEEmcHitMaker to StRoot/StEEmcPool/StEEmcHitMaker
77  *
78  *
79 */
StEEmcHitVec_t & getHitVec()
non-const accessors
virtual ~StEEmcHitMakerData_t()
Deconstructor.
StESMDClustersVec_t mESMDClusterVec
StEEmcHitVec_t mHitVec
Container for hits.
virtual void clearData()
no copy constructor nor equals operator needed, since includes no dynamically allocated memory; ...
const StEEmcHitVec_t & getHitVec() const
const accessors
StSimpleClusterVec_t mTowerClusterVec[NUM_TOW_LAYERS]
Containers for cluster from each tower layer.
StEEmcHitMakerData_t()
Construtor.