SRMRCCParent.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRMRCCParent.cxx
3 // \brief This class contains the parent slice information. Currently
4 // only being used by the Muon Removed Charged Current analysis
5 // \author Kanika Sachdev (ksachdev@physics.umn.edu)
6 // \date $Date: 2012-11-19 17:32:22 $
7 ////////////////////////////////////////////////////////////////////////
8 
9 
11 
12 #include<limits>
13 
14 namespace caf
15 {
16 
18  slcidx( 0 ),
19  eff( std::numeric_limits<float>::signaling_NaN() ),
20  pur( std::numeric_limits<float>::signaling_NaN() ),
21  nhit( 0 ),
22  contplanes( 0 ),
23  ncellsfromedge(0 ),
24  firstplane( 0 ),
25  lastplane( 0 ),
26  remid( std::numeric_limits<float>::signaling_NaN() ),
27  cvnm( std::numeric_limits<float>::signaling_NaN() ),
28  muonstart( std::numeric_limits<float>::signaling_NaN(),
29  std::numeric_limits<float>::signaling_NaN(),
30  std::numeric_limits<float>::signaling_NaN()),
31  muonstop( std::numeric_limits<float>::signaling_NaN(),
32  std::numeric_limits<float>::signaling_NaN(),
33  std::numeric_limits<float>::signaling_NaN()),
34  muonyattrans( std::numeric_limits<float>::signaling_NaN() ),
35  muonfwdcell( 0 ),
36  muonbkcell( 0 ),
37  numuE( std::numeric_limits<float>::signaling_NaN() ),
38  muE( std::numeric_limits<float>::signaling_NaN() ),
39  hadEinmucat( std::numeric_limits<float>::signaling_NaN() )
40  { }
41 
42 
44 
46  {
47  slcidx = -5;
48  eff = -5;
49  pur = -5;
50 
51  remid = -5;
52  cvnm = -5;
53  nhit = -5;
54  contplanes = -5;
55  hadEinmucat = -5;
56  ncellsfromedge = -5;
57  firstplane = -5;
58  lastplane = -5;
59  muonstart.SetXYZ(-5,-5,-5);
60  muonstop.SetXYZ(-5,-5,-5);
61  muonyattrans = -5;
62  muonfwdcell = -5;
63  muonbkcell = -5;
64  numuE = -5;
65  muE = -5;
66 
67  }// end of setDefault
68 
69 }// end of namespace caf
70 
void SetXYZ(float x, float y, float z)
Definition: SRVector3D.cxx:31
int ncellsfromedge
number of cells from detector edge
Definition: SRMRCCParent.h:37
float hadEinmucat
hadronic energy in muon catcher and transition planes
Definition: SRMRCCParent.h:64
SRVector3D muonstart
muon track start
Definition: SRMRCCParent.h:49
nhit
Definition: demo1.py:25
float pur
Purity with which this event matched to the parent slice.
Definition: SRMRCCParent.h:30
int firstplane
first plane in slice
Definition: SRMRCCParent.h:39
float muonyattrans
muon y position at transition plane
Definition: SRMRCCParent.h:53
float numuE
energy of parent slice
Definition: SRMRCCParent.h:60
virtual ~SRMRCCParent()
float muE
energy of muon
Definition: SRMRCCParent.h:62
float cvnm
CVNm value of the parent slice.
Definition: SRMRCCParent.h:46
SRVector3D muonstop
muon track stop
Definition: SRMRCCParent.h:51
int lastplane
last plane in slice
Definition: SRMRCCParent.h:41
float eff
Efficiency with which this event matched to the parent slice.
Definition: SRMRCCParent.h:28
int contplanes
number of contiguous planes
Definition: SRMRCCParent.h:35
int muonfwdcell
forward projected distance of muon end from detector edge in cells
Definition: SRMRCCParent.h:55
int nhit
number of hits in parent slice
Definition: SRMRCCParent.h:33
virtual void setDefault()
A PID for muons.
Definition: FillPIDs.h:10
This module creates Common Analysis Files.
Definition: FileReducer.h:10
int muonbkcell
backward projected distance of muon start from detector edge in cells
Definition: SRMRCCParent.h:57
int slcidx
Index of the parent slice.
Definition: SRMRCCParent.h:25