test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ME0DigiPreReco.h
Go to the documentation of this file.
1 #ifndef DataFormats_GEMDigi_ME0DigiPreReco_h
2 #define DataFormats_GEMDigi_ME0DigiPreReco_h
3 
12 #include <boost/cstdint.hpp>
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);
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  //cesare changes
33  int pdgid() const { return pdgid_;}
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  //cesare changes
44  int pdgid_;
45 };
46 
47 std::ostream & operator<<(std::ostream & o, const ME0DigiPreReco& digi);
48 
49 #endif
50 
float y() const
float tof() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
int pdgid() 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