CMS 3D CMS Logo

ME0DigiPreReco.h
Go to the documentation of this file.
1 #ifndef DataFormats_GEMDigi_ME0DigiPreReco_h
2 #define DataFormats_GEMDigi_ME0DigiPreReco_h
3 
12 #include <cstdint>
13 #include <iosfwd>
14 
16 
17 public:
18 // explicit ME0DigiPreReco (float x, float y, float ex, float ey, float corr, float tof);
19  explicit ME0DigiPreReco (float x, float y, float ex, float ey, float corr, float tof, int pdgid, int prompt);
20  ME0DigiPreReco ();
21 
22  bool operator==(const ME0DigiPreReco& digi) const;
23  bool operator!=(const ME0DigiPreReco& digi) const;
24  bool operator<(const ME0DigiPreReco& digi) const;
25 
26  float x() const { return x_; }
27  float y() const { return y_; }
28  float ex() const { return ex_; }
29  float ey() const { return ey_; }
30  float corr() const { return corr_; }
31  float tof() const { return tof_;}
32  // coding mc-truth
33  int pdgid() const { return pdgid_;}
34  int prompt() const { return prompt_;}
35  void print() const;
36 
37 private:
38  float x_;
39  float y_;
40  float ex_;
41  float ey_;
42  float corr_;
43  float tof_;
44  // coding mc-truth
45  int pdgid_;
46  int prompt_;
47 };
48 
49 std::ostream & operator<<(std::ostream & o, const ME0DigiPreReco& digi);
50 
51 #endif
52 
float y() const
float tof() const
std::ostream & operator<<(std::ostream &o, const ME0DigiPreReco &digi)
int pdgid() const
int prompt() const
float ey() const
bool operator<(const ME0DigiPreReco &digi) const
Precedence operator.
void print() const
bool operator!=(const ME0DigiPreReco &digi) const
bool operator==(const ME0DigiPreReco &digi) const
float x() const
float corr() const
float ex() const