CMS 3D CMS Logo

CSCStripHitData.h
Go to the documentation of this file.
1 #ifndef CSCRecHitD_CSCStripHitData_h
2 #define CSCRecHitD_CSCStripHitData_h
3 
14 #include <vector>
15 
17 public:
19 
20  CSCStripHitData(int istrip, int tmax, const std::vector<float>& phRaw, const std::vector<float>& ph)
21  : istrip_(istrip), tmax_(tmax), phRaw_(phRaw), ph_(ph){};
22 
23  int strip() const { return istrip_; }
24  int tmax() const { return tmax_; }
25  std::vector<float> const& ph() const { return ph_; }
26  std::vector<float> const& phRaw() const { return phRaw_; }
27 
29  bool operator<(const CSCStripHitData& data) const { return ph_[1] < data.ph_[1]; }
30 
31 private:
32  static const int nbins_ = 4; //@ Number of ph bins saved
33  int istrip_;
34  int tmax_;
35  std::vector<float> phRaw_;
36  std::vector<float> ph_;
37 };
38 
39 #endif
static const int nbins_
std::vector< float > const & phRaw() const
int strip() const
int tmax() const
std::vector< float > ph_
std::vector< float > const & ph() const
bool operator<(const CSCStripHitData &data) const
Order by 2nd ph bin.
std::vector< float > phRaw_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
CSCStripHitData(int istrip, int tmax, const std::vector< float > &phRaw, const std::vector< float > &ph)