CMS 3D CMS Logo

PHGCalValidInfo.h
Go to the documentation of this file.
1 #ifndef SimDataFormatsValidationFormatsPHGCalValidInfo_h
2 #define SimDataFormatsValidationFormatsPHGCalValidInfo_h
3 
4 #include <string>
5 #include <vector>
6 #include <memory>
7 
11 
13 public:
15  virtual ~PHGCalValidInfo() {}
16 
17  float eeTotEdep() const { return edepEETot; }
18  float hefTotEdep() const { return edepHEFTot; }
19  float hebTotEdep() const { return edepHEBTot; }
20 
21  std::vector<float> eehgcEdep() const { return hgcEEedep; }
22  std::vector<float> hefhgcEdep() const { return hgcHEFedep; }
23  std::vector<float> hebhgcEdep() const { return hgcHEBedep; }
24  std::vector<unsigned int> hitDets() const { return hgcHitDets; }
25  std::vector<unsigned int> hitIndex() const { return hgcHitIndex; }
26  std::vector<float> hitvtxX() const { return hgcHitVtxX; }
27  std::vector<float> hitvtxY() const { return hgcHitVtxY; }
28  std::vector<float> hitvtxZ() const { return hgcHitVtxZ; }
29 
30  void fillhgcHits(const std::vector<unsigned int>& hitdets,
31  const std::vector<unsigned int>& hitindex,
32  const std::vector<double>& hitvtxX,
33  const std::vector<double>& hitvtxY,
34  const std::vector<double>& hitvtxZ);
35 
36  void fillhgcLayers(const double edepEE,
37  const double edepHEF,
38  const double edepHEB,
39  const std::vector<double>& eedep,
40  const std::vector<double>& hefdep,
41  const std::vector<double>& hebdep);
42 
43 private:
45  std::vector<float> hgcEEedep, hgcHEFedep, hgcHEBedep;
46  std::vector<float> hgcHitVtxX, hgcHitVtxY, hgcHitVtxZ;
47  std::vector<unsigned int> hgcHitDets, hgcHitIndex;
48 };
49 
50 #endif
PHGCalValidInfo
Definition: PHGCalValidInfo.h:12
PHGCalValidInfo::hgcHitVtxZ
std::vector< float > hgcHitVtxZ
Definition: PHGCalValidInfo.h:46
PHGCalValidInfo::hgcEEedep
std::vector< float > hgcEEedep
Definition: PHGCalValidInfo.h:45
PHGCalValidInfo::hefTotEdep
float hefTotEdep() const
Definition: PHGCalValidInfo.h:18
PHGCalValidInfo::hgcHitVtxX
std::vector< float > hgcHitVtxX
Definition: PHGCalValidInfo.h:46
PHGCalValidInfo::hitIndex
std::vector< unsigned int > hitIndex() const
Definition: PHGCalValidInfo.h:25
PHGCalValidInfo::edepEETot
float edepEETot
Definition: PHGCalValidInfo.h:44
PHGCalValidInfo::hefhgcEdep
std::vector< float > hefhgcEdep() const
Definition: PHGCalValidInfo.h:22
PHGCalValidInfo::hgcHEFedep
std::vector< float > hgcHEFedep
Definition: PHGCalValidInfo.h:45
PHGCalValidInfo::hgcHEBedep
std::vector< float > hgcHEBedep
Definition: PHGCalValidInfo.h:45
PHGCalValidInfo::edepHEFTot
float edepHEFTot
Definition: PHGCalValidInfo.h:44
PHGCalValidInfo::eehgcEdep
std::vector< float > eehgcEdep() const
Definition: PHGCalValidInfo.h:21
PHGCalValidInfo::hgcHitVtxY
std::vector< float > hgcHitVtxY
Definition: PHGCalValidInfo.h:46
PHGCalValidInfo::hitDets
std::vector< unsigned int > hitDets() const
Definition: PHGCalValidInfo.h:24
PHGCalValidInfo::eeTotEdep
float eeTotEdep() const
Definition: PHGCalValidInfo.h:17
PHGCalValidInfo::fillhgcLayers
void fillhgcLayers(const double edepEE, const double edepHEF, const double edepHEB, const std::vector< double > &eedep, const std::vector< double > &hefdep, const std::vector< double > &hebdep)
Definition: PHGCalValidInfo.cc:21
PHGCalValidInfo::hebTotEdep
float hebTotEdep() const
Definition: PHGCalValidInfo.h:19
PHGCalValidInfo::hgcHitIndex
std::vector< unsigned int > hgcHitIndex
Definition: PHGCalValidInfo.h:47
PHGCalValidInfo::hitvtxY
std::vector< float > hitvtxY() const
Definition: PHGCalValidInfo.h:27
PHGCalValidInfo::hitvtxX
std::vector< float > hitvtxX() const
Definition: PHGCalValidInfo.h:26
PHGCalValidInfo::hitvtxZ
std::vector< float > hitvtxZ() const
Definition: PHGCalValidInfo.h:28
PHGCalValidInfo::fillhgcHits
void fillhgcHits(const std::vector< unsigned int > &hitdets, const std::vector< unsigned int > &hitindex, const std::vector< double > &hitvtxX, const std::vector< double > &hitvtxY, const std::vector< double > &hitvtxZ)
Definition: PHGCalValidInfo.cc:7
PHGCalValidInfo::~PHGCalValidInfo
virtual ~PHGCalValidInfo()
Definition: PHGCalValidInfo.h:15
PHGCalValidInfo::PHGCalValidInfo
PHGCalValidInfo()
Definition: PHGCalValidInfo.h:14
PHGCalValidInfo::hebhgcEdep
std::vector< float > hebhgcEdep() const
Definition: PHGCalValidInfo.h:23
PHGCalValidInfo::hgcHitDets
std::vector< unsigned int > hgcHitDets
Definition: PHGCalValidInfo.h:47
PHGCalValidInfo::edepHEBTot
float edepHEBTot
Definition: PHGCalValidInfo.h:44