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 
14 public:
15 
17  virtual ~PHGCalValidInfo() {}
18 
19  float eeTotEdep() const {return edepEETot;}
20  float hefTotEdep() const {return edepHEFTot;}
21  float hebTotEdep() const {return edepHEBTot;}
22 
23  std::vector<float> eehgcEdep() const {return hgcEEedep;}
24  std::vector<float> hefhgcEdep() const {return hgcHEFedep;}
25  std::vector<float> hebhgcEdep() const {return hgcHEBedep;}
26  std::vector<unsigned int> hitDets() const {return hgcHitDets;}
27  std::vector<unsigned int> hitIndex() const {return hgcHitIndex;}
28  std::vector<float> hitvtxX() const {return hgcHitVtxX;}
29  std::vector<float> hitvtxY() const {return hgcHitVtxY;}
30  std::vector<float> hitvtxZ() const {return hgcHitVtxZ;}
31 
32  void fillhgcHits(const std::vector<unsigned int> & hitdets,
33  const std::vector<unsigned int> & hitindex,
34  const std::vector<double> & hitvtxX,
35  const std::vector<double> & hitvtxY,
36  const std::vector<double> & hitvtxZ);
37 
38  void fillhgcLayers(const double edepEE, const double edepHEF,
39  const double edepHEB, const std::vector<double> & eedep,
40  const std::vector<double> & hefdep,
41  const std::vector<double> & hebdep);
42 
43 private:
44 
46  std::vector<float> hgcEEedep, hgcHEFedep, hgcHEBedep;
47  std::vector<float> hgcHitVtxX, hgcHitVtxY, hgcHitVtxZ;
48  std::vector<unsigned int> hgcHitDets, hgcHitIndex;
49 
50 };
51 
52 #endif
std::vector< float > hgcHitVtxY
virtual ~PHGCalValidInfo()
std::vector< float > hgcHitVtxX
float eeTotEdep() const
std::vector< float > hitvtxZ() const
std::vector< float > hgcHEBedep
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)
float hefTotEdep() const
std::vector< unsigned int > hgcHitDets
std::vector< float > hgcHitVtxZ
std::vector< float > eehgcEdep() const
std::vector< unsigned int > hgcHitIndex
std::vector< float > hitvtxX() const
std::vector< float > hgcEEedep
std::vector< float > hitvtxY() const
std::vector< float > hebhgcEdep() const
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)
float hebTotEdep() const
std::vector< unsigned int > hitIndex() const
std::vector< float > hgcHEFedep
std::vector< unsigned int > hitDets() const
std::vector< float > hefhgcEdep() const