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
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