QePId.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Class: QePId
3 // Module Type: producer
4 // File: QePId.cxx
5 //
6 // Generated at Tue Feb 5 10:29:24 2013 by Nicholas Raddatz using artmod
7 // from art v1_02_06.
8 ////////////////////////////////////////////////////////////////////////
9 #include "QEEventFinder/QePId.h"
10 
11 
12 namespace qeef
13 {
14  //......................................
16  : rb::PID()
17  {
18  fMode = 0;
19  SetNtrk(0);
20  SetOffTrkE(0);
21  SetEdiff(0);
22  SetEdiffZ(0);
23  SetDedx(0);
24  }
25 
26  //......................................
27  QePId::QePId(int pdg, double val)
28  : rb::PID(pdg,val)
29  {
30  fMode = 0;
31  SetNtrk(0);
32  SetOffTrkE(0);
33  SetEdiff(0);
34  SetEdiffZ(0);
35  SetDedx(0);
36  }
37 
38  //......................................
40  {
41  fNtrk = ntrks;
42  }
43 
44  //......................................
45  void QePId::SetOffTrkE(double E)
46  {
47  fOffTrkE = E;
48  }
49 
50  //......................................
51  void QePId::SetEdiff(double diff)
52  {
53  fEdiff = diff;
54  }
55 
56  //......................................
57  void QePId::SetEdiffZ(double diffZ)
58  {
59  fEdiffZ = diffZ;
60  }
61 
62  //......................................
63  void QePId::SetDedx(double Dedx)
64  {
65  fDedx = Dedx;
66  }
67 
68  //......................................
69  int QePId::Mode() const
70  {
71  return fMode;
72  }
73 
74  //......................................
75  int QePId::Ntrk() const
76  {
77  return fNtrk;
78  }
79 
80  //......................................
81  double QePId::OffTrkE() const
82  {
83  return fOffTrkE;
84  }
85 
86  //......................................
87  double QePId::Ediff() const
88  {
89  return fEdiff;
90  }
91 
92  //......................................
93  double QePId::EdiffZ() const
94  {
95  return fEdiffZ;
96  }
97 
98  //......................................
99  double QePId::Dedx() const
100  {
101  return fDedx;
102  }
103 
104 }
double EdiffZ() const
Definition: QePId.cxx:93
int Mode() const
Definition: QePId.cxx:69
double Dedx() const
Definition: QePId.cxx:99
PID()
Definition: PID.cxx:13
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
Perform a "2 point" Hough transform on a collection of hits.
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.