PID.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////////
2 /// \file PID.h
3 /// \brief pdg code and pid value
4 /// \version $Id: PID.h,v 1.2 2012-10-26 21:31:55 bckhouse Exp $
5 /// \author raddatz@physics.umn.edu
6 /////////////////////////////////////////////////////////////////////////////////////
7 #ifndef RB_PID_H
8 #define RB_PID_H
9 
10 namespace rb
11 {
12  /// \brief A pid value and corresponding pdg code
13  class PID
14  {
15  public:
16  PID();
17  ~PID(){};
18 #ifndef __GCCXML__
19  PID(int pdg, double val);
20 
21  int Pdg() const {return fPdg; }
22  double Value() const {return fVal;}
23  void SetPdg(int pdg) {fPdg = pdg;}
24  void SetVal(double val){fVal = val;}
25 #endif
26  protected:
27  int fPdg; ///< pdg code
28  double fVal; ///< pid value
29  };
30 
31 } // end namespace rb
32 
33 #endif
34 ////////////////////////////////////////////////////////////////////////
A pid value and corresponding pdg code.
Definition: PID.h:13
int fPdg
pdg code
Definition: PID.h:27
PID()
Definition: PID.cxx:13
double Value() const
Definition: PID.h:22
~PID()
Definition: PID.h:17
double fVal
pid value
Definition: PID.h:28
Perform a "2 point" Hough transform on a collection of hits.
void SetPdg(int pdg)
Definition: PID.h:23
int Pdg() const
Definition: PID.h:21
void SetVal(double val)
Definition: PID.h:24