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 public:
17  // explicit ME0DigiPreReco (float x, float y, float ex, float ey, float corr, float tof);
18  explicit ME0DigiPreReco(float x, float y, float ex, float ey, float corr, float tof, int pdgid, int prompt);
20 
21  bool operator==(const ME0DigiPreReco& digi) const;
22  bool operator!=(const ME0DigiPreReco& digi) const;
23  bool operator<(const ME0DigiPreReco& digi) const;
24 
25  float x() const { return x_; }
26  float y() const { return y_; }
27  float ex() const { return ex_; }
28  float ey() const { return ey_; }
29  float corr() const { return corr_; }
30  float tof() const { return tof_; }
31  // coding mc-truth
32  int pdgid() const { return pdgid_; }
33  int prompt() const { return prompt_; }
34  void print() const;
35 
36 private:
37  float x_;
38  float y_;
39  float ex_;
40  float ey_;
41  float corr_;
42  float tof_;
43  // coding mc-truth
44  int pdgid_;
45  int prompt_;
46 };
47 
48 std::ostream& operator<<(std::ostream& o, const ME0DigiPreReco& digi);
49 
50 #endif
int prompt() const
float x() const
void print() const
bool operator==(const ME0DigiPreReco &digi) const
std::ostream & operator<<(std::ostream &o, const ME0DigiPreReco &digi)
float y() const
int pdgid() const
float tof() const
bool operator<(const ME0DigiPreReco &digi) const
Precedence operator.
float corr() const
bool operator!=(const ME0DigiPreReco &digi) const
float ey() const
float ex() const