QePId.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file QePId.h
3 // \brief A pid object for muon QE identification
4 // \version
5 // \author Nicholas Raddatz - raddatz@physics.umn.edu
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef QEEVENTFINDER_QEPID_H
8 #define QEEVENTFINDER_QEPID_H
9 
10 #include "RecoBase/PID.h"
11 
12 namespace qeef
13 {
14  class QePId : public rb::PID
15  {
16  public:
17  QePId();
18  QePId(int pdg, double val);
19  void SetNtrk(int ntrks);
20  void SetOffTrkE(double E);
21  void SetEdiff(double diff);
22  void SetEdiffZ(double diffZ);
23  void SetDedx(double Dedx);
24  int Mode() const;
25  int Ntrk() const;
26  double OffTrkE() const;
27  double Ediff() const;
28  double EdiffZ() const;
29  double Dedx() const;
30 
31  protected:
32  int fMode;
33  int fNtrk;
34  double fOffTrkE;
35  double fEdiff;
36  double fEdiffZ;
37  double fDedx;
38 
39 
40  };
41 }
42 #endif
double EdiffZ() const
Definition: QePId.cxx:93
A pid value and corresponding pdg code.
Definition: PID.h:13
int Mode() const
Definition: QePId.cxx:69
double Dedx() const
Definition: QePId.cxx:99
pdg code and pid value
double fDedx
Definition: QePId.h:37
void SetEdiff(double diff)
Definition: QePId.cxx:51
double fOffTrkE
Definition: QePId.h:34
double fEdiff
Definition: QePId.h:35
double OffTrkE() const
Definition: QePId.cxx:81
void SetEdiffZ(double diffZ)
Definition: QePId.cxx:57
Float_t E
Definition: plot.C:20
void SetDedx(double Dedx)
Definition: QePId.cxx:63
double fEdiffZ
Definition: QePId.h:36
void SetOffTrkE(double E)
Definition: QePId.cxx:45
void SetNtrk(int ntrks)
Definition: QePId.cxx:39
int fMode
Definition: QePId.h:32
int Ntrk() const
Definition: QePId.cxx:75
double Ediff() const
Definition: QePId.cxx:87
int fNtrk
Definition: QePId.h:33
A module for finding numu CC QE interactions.