Public Member Functions | Private Member Functions | Private Attributes | List of all members
skim::SelectionNumu2018 Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-09-17/AnalysisSkimmer/evaluators/SelectionNumu2018.h"

Inheritance diagram for skim::SelectionNumu2018:
skim::SelectionBase

Public Member Functions

 SelectionNumu2018 ()
 
 SelectionNumu2018 (SelectionNumu2018 const &)=delete
 
 SelectionNumu2018 (SelectionNumu2018 &&)=delete
 
SelectionNumu2018operator= (SelectionNumu2018 const &)=delete
 
SelectionNumu2018operator= (SelectionNumu2018 &&)=delete
 
void reconfigure (fhicl::ParameterSet const &p)
 
bool PassesSelection (skim::Parameters *pars, novadaq::cnv::DetId const &detId)
 

Private Member Functions

bool KeepNumuFarDetectorSlice (skim::ParametersNumu const &params)
 
bool KeepNumuNearDetectorSlice (skim::ParametersNumu const &params)
 

Private Attributes

float fMaxNumuE
 maximum energy for neutrinos More...
 
double fMinReMId
 minimum ReMId PID value to keep a slice More...
 
double fMinCVNmu
 minimum CVNmu PID value to keep a slice More...
 
double fMinCVN2017mu
 minimum 2017 CVNmu PID value to keep a slice, used for 2018 analysis More...
 
float fMinSliceHits
 minimum number of hits in a slice to keep it More...
 
float fMinSliceContigPlanes
 minimum number of contiguous hit planes in a slice More...
 
float fMinQePID1Track
 minimum qepid value to accept a 1 track event, set to -1.e6 to keep everything More...
 
float fMinQePID2Track
 minimum qepid value to accept a 2 track event, set to -1.e6 to keep everything More...
 
int fFDMinKalmanFwdCell
 see CosRejObj.h More...
 
int fFDMinKalmanBakCell
 see CosRejObj.h More...
 
int fFDMinCosFwdCell
 see CosRejObj.h More...
 
int fFDMinCosBakCell
 see CosRejObj.h More...
 
unsigned int fFDMinPlanesToFront
 see NumuCuts.h More...
 
unsigned int fFDMinPlanesToBack
 see NumuCuts.h More...
 
float fFDMinKalmanAngle
 
float fFDMinContPID
 
float fFDMaxPngPtp
 
unsigned int fFDMaxSliceHits
 
unsigned int fNDMinPlane
 
unsigned int fNDMaxPlane
 
float fNDMaxTrackStartZPos
 
float fNDMaxTrackStopZPos
 
float fNDMaxKalmanYPosAtTrans
 
int fNDMinKalmanFwdCell
 
int fNDMinKalmanBakCell
 
float fFDDistAllTop
 minimum distance to the top wall More...
 
float fFDDistAllBottom
 minimum distance to the bottom wall More...
 
float fFDDistAllWest
 minimum distance to the west wall More...
 
float fFDDistAllEast
 minimum distance to the east wall More...
 
float fFDDistAllFront
 minimum distance to the front wall More...
 
float fFDDistAllBack
 minimum distance to the back wall More...
 
float fNDMaxShowerW
 
float fNDMinShowerZ
 
float fNDMaxShowerZ
 
float fNDMaxOtherTrackStartZPos
 
float fNDMaxOtherTrackStopZPos
 

Detailed Description

Definition at line 17 of file SelectionNumu2018.h.

Constructor & Destructor Documentation

skim::SelectionNumu2018::SelectionNumu2018 ( )

Definition at line 12 of file SelectionNumu2018.cxx.

13 {
14 
15 }
skim::SelectionNumu2018::SelectionNumu2018 ( SelectionNumu2018 const &  )
delete
skim::SelectionNumu2018::SelectionNumu2018 ( SelectionNumu2018 &&  )
delete

Member Function Documentation

bool skim::SelectionNumu2018::KeepNumuFarDetectorSlice ( skim::ParametersNumu const &  params)
private

Definition at line 151 of file SelectionNumu2018.cxx.

References skim::ParametersNumu::CosRejAngleKal(), skim::ParametersNumu::CosRejConCosPID(), skim::ParametersNumu::CosRejCosBakCell(), skim::ParametersNumu::CosRejCosFwdCell(), skim::ParametersNumu::CosRejKalBakCell(), skim::ParametersNumu::CosRejKalFwdCell(), skim::ParametersNumu::DistAllBack(), skim::ParametersNumu::DistAllBottom(), skim::ParametersNumu::DistAllEast(), skim::ParametersNumu::DistAllFront(), skim::ParametersNumu::DistAllTop(), skim::ParametersNumu::DistAllWest(), fFDDistAllBack, fFDDistAllBottom, fFDDistAllEast, fFDDistAllFront, fFDDistAllTop, fFDDistAllWest, fFDMaxPngPtp, fFDMaxSliceHits, fFDMinContPID, fFDMinCosBakCell, fFDMinCosFwdCell, fFDMinKalmanAngle, fFDMinKalmanBakCell, fFDMinKalmanFwdCell, fFDMinPlanesToBack, fFDMinPlanesToFront, LOG_DEBUG, skim::ParametersNumu::NueCosRejPngPtp(), skim::ParametersNumu::PlanesToBack(), skim::ParametersNumu::PlanesToFront(), and skim::ParametersNumu::SliceHits().

Referenced by PassesSelection().

152 {
153 
154  if(params.SliceHits() > fFDMaxSliceHits ||
155  params.CosRejAngleKal() <= fFDMinKalmanAngle ||
156  params.CosRejConCosPID() <= fFDMinContPID ||
157  params.NueCosRejPngPtp() >= fFDMaxPngPtp ||
158  params.CosRejKalFwdCell() < fFDMinKalmanFwdCell ||
159  params.CosRejKalBakCell() < fFDMinKalmanBakCell ||
160  params.CosRejCosFwdCell() < fFDMinCosFwdCell ||
161  params.CosRejCosBakCell() < fFDMinCosBakCell ||
162  params.PlanesToFront() < fFDMinPlanesToFront ||
163  params.PlanesToBack() < fFDMinPlanesToBack){
164  LOG_DEBUG("SelectionNumu2018")
165  << "failed FD cuts"
166  << "\nSliceHits: " << params.SliceHits() << " < " << fFDMaxSliceHits
167  << "\nCosRejKalFwdCell: " << params.CosRejKalFwdCell() << " > " << fFDMinKalmanFwdCell
168  << "\nCosRejKalBakCell: " << params.CosRejKalBakCell() << " > " << fFDMinKalmanBakCell
169  << "\nCosRejCosFwdCell: " << params.CosRejCosFwdCell() << " > " << fFDMinCosFwdCell
170  << "\nCosRejCosBakCell: " << params.CosRejCosBakCell() << " > " << fFDMinCosBakCell
171  << "\nCosRejAngleKal: " << params.CosRejAngleKal() << " > " << fFDMinKalmanAngle
172  << "\nCosRejConCosPID: " << params.CosRejConCosPID() << " > " << fFDMinContPID
173  << "\nNueCosRejPngPtp: " << params.NueCosRejPngPtp() << " < " << fFDMaxPngPtp
174  << "\nPlanesToFront: " << params.PlanesToFront() << " > " << fFDMinPlanesToFront
175  << "\nPlanesToBack: " << params.PlanesToBack() << " > " << fFDMinPlanesToBack;
176 
177  return false;
178  }
179 
180  // check the containment
181  if(params.DistAllTop() <= fFDDistAllTop ||
182  params.DistAllBottom() <= fFDDistAllBottom ||
183  params.DistAllWest() <= fFDDistAllWest ||
184  params.DistAllEast() <= fFDDistAllEast ||
185  params.DistAllFront() <= fFDDistAllFront ||
186  params.DistAllBack() <= fFDDistAllBack ){
187  LOG_DEBUG("SelectionNumu2018")
188  << "failed containment"
189  << "\nDistAllTop: " << params.DistAllTop() << " " << fFDDistAllTop
190  << "\nDistAllBottom: " << params.DistAllBottom() << " " << fFDDistAllBottom
191  << "\nDistAllWest: " << params.DistAllWest() << " " << fFDDistAllWest
192  << "\nDistAllEast: " << params.DistAllEast() << " " << fFDDistAllEast
193  << "\nDistAllFront: " << params.DistAllFront() << " " << fFDDistAllFront
194  << "\nDistAllBack: " << params.DistAllBack() << " " << fFDDistAllBack;
195 
196  return false;
197  }
198 
199  //if containment values are at initialisation values the event must be rejected
200  if(params.DistAllTop() == 9999 &&
201  params.DistAllBottom() == 9999 &&
202  params.DistAllWest() == 9999 &&
203  params.DistAllEast() == 9999 &&
204  params.DistAllFront() == 9999 &&
205  params.DistAllBack() == 9999 ){
206  LOG_DEBUG("SelectionNumu2018")
207  << "containment values not properly defined"
208  << "\nDistAllTop: " << params.DistAllTop()
209  << "\nDistAllBottom: " << params.DistAllBottom()
210  << "\nDistAllWest: " << params.DistAllWest()
211  << "\nDistAllEast: " << params.DistAllEast()
212  << "\nDistAllFront: " << params.DistAllFront()
213  << "\nDistAllBack: " << params.DistAllBack();
214 
215  return false;
216  }
217 
218  return true;
219 }
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
float fFDDistAllBack
minimum distance to the back wall
int fFDMinCosBakCell
see CosRejObj.h
float fFDDistAllFront
minimum distance to the front wall
float fFDDistAllEast
minimum distance to the east wall
float fFDDistAllTop
minimum distance to the top wall
float fFDDistAllWest
minimum distance to the west wall
float fFDDistAllBottom
minimum distance to the bottom wall
int fFDMinCosFwdCell
see CosRejObj.h
int fFDMinKalmanFwdCell
see CosRejObj.h
unsigned int fFDMinPlanesToBack
see NumuCuts.h
int fFDMinKalmanBakCell
see CosRejObj.h
unsigned int fFDMinPlanesToFront
see NumuCuts.h
bool skim::SelectionNumu2018::KeepNumuNearDetectorSlice ( skim::ParametersNumu const &  params)
private

Definition at line 222 of file SelectionNumu2018.cxx.

References std::abs(), skim::ParametersNumu::CosRejKalBakCellND(), skim::ParametersNumu::CosRejKalFwdCellND(), skim::ParametersNumu::CosRejKalYPosAtTrans(), fNDMaxKalmanYPosAtTrans, fNDMaxOtherTrackStartZPos, fNDMaxOtherTrackStopZPos, fNDMaxPlane, fNDMaxShowerW, fNDMaxShowerZ, fNDMaxTrackStartZPos, fNDMaxTrackStopZPos, fNDMinKalmanBakCell, fNDMinKalmanFwdCell, fNDMinPlane, fNDMinShowerZ, LOG_DEBUG, std::max(), skim::ParametersNumu::MaxOtherTrackStartZ(), skim::ParametersNumu::MaxOtherTrackStopZ(), skim::ParametersNumu::NumShowers(), skim::ParametersNumu::ShowerMaxEndZ(), skim::ParametersNumu::ShowerMaxVtxZ(), skim::ParametersNumu::ShowerMaxX(), skim::ParametersNumu::ShowerMaxY(), skim::ParametersNumu::ShowerMinEndZ(), skim::ParametersNumu::ShowerMinVtxZ(), skim::ParametersNumu::ShowerMinX(), skim::ParametersNumu::ShowerMinY(), skim::ParametersNumu::SliceMaxPlane(), skim::ParametersNumu::SliceMinPlane(), skim::ParametersNumu::TrackStartZ(), and skim::ParametersNumu::TrackStopZ().

Referenced by PassesSelection().

223 {
224 
225  if(params.SliceMinPlane() < fNDMinPlane ||
226  params.SliceMaxPlane() > fNDMaxPlane ||
227  params.TrackStartZ() >= fNDMaxTrackStartZPos ||
228  (params.TrackStopZ() >= fNDMaxTrackStopZPos &&
229  params.CosRejKalYPosAtTrans() >= fNDMaxKalmanYPosAtTrans) ||
230  params.CosRejKalFwdCellND() < fNDMinKalmanFwdCell ||
231  params.CosRejKalBakCellND() < fNDMinKalmanBakCell
232  ){
233  LOG_DEBUG("SelectionNumu2018")
234  << "failed ND cuts"
235  << "\nSliceMinPlane: " << params.SliceMinPlane() << " " << fNDMinPlane
236  << "\nSliceMaxPlane: " << params.SliceMaxPlane() << " " << fNDMaxPlane
237  << "\nTrackStartZ: " << params.TrackStartZ() << " " << fNDMaxTrackStartZPos
238  << "\nTrackStopZ: " << params.TrackStopZ() << " " << fNDMaxTrackStopZPos
239  << "\nCosRejKalYPosAtTrans: " << params.CosRejKalYPosAtTrans() << " " << fNDMaxKalmanYPosAtTrans
240  << "\nCosRejKalFwdCellND: " << params.CosRejKalFwdCellND() << " " << fNDMinKalmanFwdCell
241  << "\nCosRejKalBakCellND: " << params.CosRejKalBakCellND() << " " << fNDMinKalmanBakCell;
242  return false;
243  }
244 
245  float maxW = std::max(std::max(std::abs(params.ShowerMaxX()), std::abs(params.ShowerMinX())),
246  std::max(std::abs(params.ShowerMaxY()), std::abs(params.ShowerMinY())));
247 
248  // check Shower(s) containment
249  if(params.NumShowers() > 0 && (
250  maxW > fNDMaxShowerW ||
251  params.ShowerMinVtxZ() < fNDMinShowerZ ||
252  params.ShowerMinEndZ() < fNDMinShowerZ ||
253  params.ShowerMaxVtxZ() > fNDMaxShowerZ ||
254  params.ShowerMaxEndZ() > fNDMaxShowerZ )){
255  LOG_DEBUG("SelectionNumu2018")
256  << "failed shower(s) containment cuts"
257  << "\nShowerMaxX: " << params.ShowerMaxX() << " " << fNDMaxShowerW
258  << "\nShowerMaxY: " << params.ShowerMaxY() << " " << fNDMaxShowerW
259  << "\nmaxW: " << maxW << " " << fNDMaxShowerW
260  << "\nShowerMinVtxZ: " << params.ShowerMinVtxZ() << " " << fNDMinShowerZ
261  << "\nShowerMinEndZ: " << params.ShowerMinEndZ() << " " << fNDMinShowerZ
262  << "\nShowerMaxVtxZ: " << params.ShowerMaxVtxZ() << " " << fNDMaxShowerZ
263  << "\nShowerMaxEndZ: " << params.ShowerMaxEndZ() << " " << fNDMaxShowerZ;
264  return false;
265  }
266 
267  // Check Other Tracks containment
268  if(params.MaxOtherTrackStartZ() > fNDMaxOtherTrackStartZPos ||
269  params.MaxOtherTrackStopZ() > fNDMaxOtherTrackStopZPos
270  ){
271  LOG_DEBUG("SelectionNumu2018")
272  << "failed other tracks containment cuts"
273  << "\nMaxOtherTrackStartZ: " << params.MaxOtherTrackStartZ() << " " << fNDMaxOtherTrackStartZPos
274  << "\nMaxOtherTrackStopZ: " << params.MaxOtherTrackStopZ() << " " << fNDMaxOtherTrackStopZPos;
275  return false;
276  }
277 
278  return true;
279 }
T max(const caf::Proxy< T > &a, T b)
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
float abs(float number)
Definition: d0nt_math.hpp:39
SelectionNumu2018& skim::SelectionNumu2018::operator= ( SelectionNumu2018 const &  )
delete
SelectionNumu2018& skim::SelectionNumu2018::operator= ( SelectionNumu2018 &&  )
delete
bool skim::SelectionNumu2018::PassesSelection ( skim::Parameters pars,
novadaq::cnv::DetId const &  detId 
)
virtual

Implements skim::SelectionBase.

Definition at line 117 of file SelectionNumu2018.cxx.

References skim::ParametersNumu::CVN2017Value(), skim::ParametersNumu::CVNValue(), check_time_usage::float, fMaxNumuE, fMinCVN2017mu, fMinCVNmu, fMinReMId, fMinSliceContigPlanes, fMinSliceHits, KeepNumuFarDetectorSlice(), KeepNumuNearDetectorSlice(), novadaq::cnv::kFARDET, novadaq::cnv::kNEARDET, LOG_DEBUG, skim::ParametersNumu::NeutrinoE(), skim::ParametersNumu::ReMIdValue(), skim::ParametersNumu::SliceContigPlanes(), skim::ParametersNumu::SliceHits(), and skim::ParametersNumu::TrackCCE().

118  {
119  LOG_DEBUG("SelectionNumu2018")
120  << "Inside SelectionNumu2018::PassesSelection";
121  skim::ParametersNumu *params = dynamic_cast<skim::ParametersNumu*>(pars);
122 
123  if(params->TrackCCE() < 1.e-5 ||
124  //params->NeutrinoE() > fMaxNumuE ||
125  float(params->ReMIdValue()) <= fMinReMId ||
126  //params->CVNValue() <= fMinCVNmu ||
127  params->CVN2017Value() <= fMinCVN2017mu ||
128  params->SliceHits() < fMinSliceHits ||
130  LOG_DEBUG("SelectionNumu2018")
131  << "failed general cuts"
132  << "\nTrackCCE " << params->TrackCCE() << " / 0"
133  << "\nNeutrinoE " << params->NeutrinoE() << " / " << fMaxNumuE
134  << "\nReMIdValue " << params->ReMIdValue() << " / " << fMinReMId
135  << "\nCVNValue " << params->CVNValue() << " / " << fMinCVNmu
136  << "\nCVN2017Value " << params->CVN2017Value() << " / " << fMinCVN2017mu
137  << "\nSliceHits " << params->SliceHits() << " / " << fMinSliceHits
138  << "\nSliceContigPlanes " << params->SliceContigPlanes() << " / " << fMinSliceContigPlanes;
139 
140  return false;
141  }
142 
143  // if the numu criteria are satified, keep the slice
144  if(detId == novadaq::cnv::kFARDET) return this->KeepNumuFarDetectorSlice (*params);
145  else if(detId == novadaq::cnv::kNEARDET) return this->KeepNumuNearDetectorSlice(*params);
146 
147  return false;
148 }
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
float fMaxNumuE
maximum energy for neutrinos
float const & SliceHits() const
double fMinReMId
minimum ReMId PID value to keep a slice
float const & CVN2017Value() const
double const & ReMIdValue() const
float fMinSliceHits
minimum number of hits in a slice to keep it
float const & SliceContigPlanes() const
double fMinCVN2017mu
minimum 2017 CVNmu PID value to keep a slice, used for 2018 analysis
Far Detector at Ash River, MN.
float const & TrackCCE() const
float const & CVNValue() const
Near Detector in the NuMI cavern.
bool KeepNumuFarDetectorSlice(skim::ParametersNumu const &params)
bool KeepNumuNearDetectorSlice(skim::ParametersNumu const &params)
double fMinCVNmu
minimum CVNmu PID value to keep a slice
float fMinSliceContigPlanes
minimum number of contiguous hit planes in a slice
float const & NeutrinoE() const
void skim::SelectionNumu2018::reconfigure ( fhicl::ParameterSet const &  p)
virtual

Implements skim::SelectionBase.

Definition at line 18 of file SelectionNumu2018.cxx.

References fFDDistAllBack, fFDDistAllBottom, fFDDistAllEast, fFDDistAllFront, fFDDistAllTop, fFDDistAllWest, fFDMaxPngPtp, fFDMaxSliceHits, fFDMinContPID, fFDMinCosBakCell, fFDMinCosFwdCell, fFDMinKalmanAngle, fFDMinKalmanBakCell, fFDMinKalmanFwdCell, fFDMinPlanesToBack, fFDMinPlanesToFront, fMaxNumuE, fMinCVN2017mu, fMinCVNmu, fMinQePID1Track, fMinQePID2Track, fMinReMId, fMinSliceContigPlanes, fMinSliceHits, fNDMaxKalmanYPosAtTrans, fNDMaxOtherTrackStartZPos, fNDMaxOtherTrackStopZPos, fNDMaxPlane, fNDMaxShowerW, fNDMaxShowerZ, fNDMaxTrackStartZPos, fNDMaxTrackStopZPos, fNDMinKalmanBakCell, fNDMinKalmanFwdCell, fNDMinPlane, fNDMinShowerZ, and fhicl::ParameterSet::get().

19 {
20 
21  /********
22 
23 const Cut kNumuCutFD2017 =
24  kNumuQuality && kNumuContainFD2017 && kNumuPID2017 && kNumuCosmicRej2017;
25 
26 //Complete 2018 NuMu cuts
27  const Cut kNumuCutFD2018 =
28  kNumuQuality && kNumuContainFD2017 && kNumuPID2018 && kNumuCosmicRej2018;
29 
30  //==> kNumuCosmicRej2018
31  //Cosmic rejection cut for the 2018 analysis (to be tuned)
32  const Cut kNumuCosmicRej2018(
33  [](const caf::SRProxy* sr)
34  { return ( sr->sel.cosrej.anglekal > 0.5 && /// Same as 2017
35  sr->sel.cosrej.numucontpid > 0.53 && /// 0.5 for 2017 !!!!
36  sr->slc.nhit < 400 && /// Same as 2017
37  sr->sel.nuecosrej.pngptp < 0.9 /// Missing in 2017 !!!!
38  );
39  }
40  );
41 
42 
43  //==> kNumuPID2018 2018 uses sr->sel.cvnProd3Train.numuid instead of sr->sel.cvn.numuid
44  const Cut kNumuPID2018(
45  [](const caf::SRProxy* sr)
46  {
47  return (sr->sel.remid.pid > 0.7
48  && sr->sel.cvnProd3Train.numuid > 0.7
49  && sr->sel.cvn2017.numuid > 0.1);
50  }
51 
52  const Cut kNumuCutND2018 =
53  kNumuQuality && kNumuContainND2017 && kNumuPID2018;
54 
55  *****************/
56 
57  // values for the cuts
58  fMaxNumuE = p.get<float >("MaxNumuE", 100. ); // Not Used
59 
60  fMinReMId = p.get<float >("MinReMId", 0.7 ); // ok
61  fMinCVNmu = p.get<float >("MinCVNmu", 0.7 ); // ok <<======= 2018 uses sr->sel.cvnProd3Train.numuid !!!!!
62  // instead of (2017) sr->sel.cvn.numuid
63  fMinCVN2017mu = p.get<float >("MinCVN2017mu", 0.1 ); // ok <<======= 2018 uses sel.cvn2017.numuid > 0.1 !!!!!
64 
65  fMinSliceHits = p.get<float >("MinSliceHits", 21. ); //
66  fMinSliceContigPlanes = p.get<float >("MinSliceContigPlanes", 5. ); //
67 
68  // fMinCellsFromEdge = p.get<unsigned int>("MinCellsFromEdge", 2 ); // // No longer used in Analysi 2018
69  fMinQePID1Track = p.get<float >("MinQePID1Track", -1.e6 ); // default selection is 0.45
70  fMinQePID2Track = p.get<float >("MinQePID2Track", -1.e6 ); // default selection is 0.4
71 
72  //FD Specific Cuts
73  //kNumuProngsContainFD2017
74  fFDDistAllEast = p.get<float>("FDDistAllEast", 16. ); // ok
75  fFDDistAllWest = p.get<float>("FDDistAllWest", 12. ); // ok
76  fFDDistAllTop = p.get<float>("FDDistAllTop", 60. ); // ok
77  fFDDistAllBottom = p.get<float>("FDDistAllBottom", 12. ); // ok
78  fFDDistAllFront = p.get<float>("FDDistAllFront", 18. ); // ok
79  fFDDistAllBack = p.get<float>("FDDistAllBack", 18. ); // ok
80 
81  //kNumuOptimizedContainFD2017
82  fFDMinKalmanFwdCell = p.get<int >("FDMinKalmanFwdCell", 7 ); // ok
83  fFDMinKalmanBakCell = p.get<int >("FDMinKalmanBakCell", 7 ); // ok
84  fFDMinCosFwdCell = p.get<int >("FDMinCosFwdCell", 1 ); // ok
85  fFDMinCosBakCell = p.get<int >("FDMinCosBakCell", 8 ); // ok
86  fFDMinPlanesToFront = p.get<unsigned int>("FDMinPlanesToFront", 2 ); // ok
87  fFDMinPlanesToBack = p.get<unsigned int>("FDMinPlanesToBack", 2 ); // ok
88 
89  // kNumuCosmicRej2018
90  fFDMinKalmanAngle = p.get<float >("FDMinKalmanAngle", 0.5 ); // ok
91  fFDMinContPID = p.get<float >("FDMinContPID", 0.53 ); // ok
92  fFDMaxSliceHits = p.get<unsigned int>("FDMaxSliceHits", 399 ); // ok
93  fFDMaxPngPtp = p.get<float >("FDMaxPngPtp", 0.9 ); // ok
94 
95  // Near Detector Specific
96  fNDMinPlane = p.get<unsigned int>("NDMinPlane", 2 ); // ok
97  fNDMaxPlane = p.get<unsigned int>("NDMaxPlane", 211 ); // ok
98  fNDMaxTrackStartZPos = p.get<float >("NDMaxTrackStartZPos", 1100.); // ok
99  fNDMaxTrackStopZPos = p.get<float >("NDMaxTrackStopZPos", 1275.); // ok
100  fNDMaxKalmanYPosAtTrans = p.get<float >("NDMaxKalmanYPosAtTrans", 55 ); // ok
101  fNDMinKalmanFwdCell = p.get<int >("NDMinKalmanFwdCell", 6 ); // ok
102  fNDMinKalmanBakCell = p.get<int >("NDMinKalmanBakCell", 11 ); // ok
103 
104  // fNDMaxHadCalEnergySum = p.get<float >("NDMaxHadCalEnergySum", 0.03 ); //
105 
106  fNDMaxShowerW = p.get<float >("NDMaxShowerW", 180. ); // ok
107  fNDMinShowerZ = p.get<float >("NDMinShowerZ", 20. ); // ok
108  fNDMaxShowerZ = p.get<float >("NDMaxShowerZ", 1525.); // ok
109 
110  fNDMaxOtherTrackStartZPos = p.get<float >("NDMaxOtherTrackStartZPos", 1275.); // ok
111  fNDMaxOtherTrackStopZPos = p.get<float >("NDMaxOtherTrackStopZPos", 1275.); // ok
112 
113  return;
114 }
float fMaxNumuE
maximum energy for neutrinos
float fFDDistAllBack
minimum distance to the back wall
const char * p
Definition: xmltok.h:285
int fFDMinCosBakCell
see CosRejObj.h
float fFDDistAllFront
minimum distance to the front wall
double fMinReMId
minimum ReMId PID value to keep a slice
float fMinSliceHits
minimum number of hits in a slice to keep it
float fMinQePID2Track
minimum qepid value to accept a 2 track event, set to -1.e6 to keep everything
double fMinCVN2017mu
minimum 2017 CVNmu PID value to keep a slice, used for 2018 analysis
float fFDDistAllEast
minimum distance to the east wall
float fFDDistAllTop
minimum distance to the top wall
float fFDDistAllWest
minimum distance to the west wall
float fMinQePID1Track
minimum qepid value to accept a 1 track event, set to -1.e6 to keep everything
float fFDDistAllBottom
minimum distance to the bottom wall
int fFDMinCosFwdCell
see CosRejObj.h
int fFDMinKalmanFwdCell
see CosRejObj.h
unsigned int fFDMinPlanesToBack
see NumuCuts.h
double fMinCVNmu
minimum CVNmu PID value to keep a slice
int fFDMinKalmanBakCell
see CosRejObj.h
float fMinSliceContigPlanes
minimum number of contiguous hit planes in a slice
unsigned int fFDMinPlanesToFront
see NumuCuts.h

Member Data Documentation

float skim::SelectionNumu2018::fFDDistAllBack
private

minimum distance to the back wall

Definition at line 78 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDDistAllBottom
private

minimum distance to the bottom wall

Definition at line 74 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDDistAllEast
private

minimum distance to the east wall

Definition at line 76 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDDistAllFront
private

minimum distance to the front wall

Definition at line 77 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDDistAllTop
private

minimum distance to the top wall

Definition at line 73 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDDistAllWest
private

minimum distance to the west wall

Definition at line 75 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDMaxPngPtp
private

Definition at line 60 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

unsigned int skim::SelectionNumu2018::fFDMaxSliceHits
private

Definition at line 61 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDMinContPID
private

Definition at line 59 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

int skim::SelectionNumu2018::fFDMinCosBakCell
private

see CosRejObj.h

Definition at line 55 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

int skim::SelectionNumu2018::fFDMinCosFwdCell
private

see CosRejObj.h

Definition at line 54 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fFDMinKalmanAngle
private

Definition at line 58 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

int skim::SelectionNumu2018::fFDMinKalmanBakCell
private

see CosRejObj.h

Definition at line 53 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

int skim::SelectionNumu2018::fFDMinKalmanFwdCell
private

see CosRejObj.h

Definition at line 52 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

unsigned int skim::SelectionNumu2018::fFDMinPlanesToBack
private

see NumuCuts.h

Definition at line 57 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

unsigned int skim::SelectionNumu2018::fFDMinPlanesToFront
private

see NumuCuts.h

Definition at line 56 of file SelectionNumu2018.h.

Referenced by KeepNumuFarDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fMaxNumuE
private

maximum energy for neutrinos

Definition at line 43 of file SelectionNumu2018.h.

Referenced by PassesSelection(), and reconfigure().

double skim::SelectionNumu2018::fMinCVN2017mu
private

minimum 2017 CVNmu PID value to keep a slice, used for 2018 analysis

Definition at line 46 of file SelectionNumu2018.h.

Referenced by PassesSelection(), and reconfigure().

double skim::SelectionNumu2018::fMinCVNmu
private

minimum CVNmu PID value to keep a slice

Definition at line 45 of file SelectionNumu2018.h.

Referenced by PassesSelection(), and reconfigure().

float skim::SelectionNumu2018::fMinQePID1Track
private

minimum qepid value to accept a 1 track event, set to -1.e6 to keep everything

Definition at line 50 of file SelectionNumu2018.h.

Referenced by reconfigure().

float skim::SelectionNumu2018::fMinQePID2Track
private

minimum qepid value to accept a 2 track event, set to -1.e6 to keep everything

Definition at line 51 of file SelectionNumu2018.h.

Referenced by reconfigure().

double skim::SelectionNumu2018::fMinReMId
private

minimum ReMId PID value to keep a slice

Definition at line 44 of file SelectionNumu2018.h.

Referenced by PassesSelection(), and reconfigure().

float skim::SelectionNumu2018::fMinSliceContigPlanes
private

minimum number of contiguous hit planes in a slice

Definition at line 48 of file SelectionNumu2018.h.

Referenced by PassesSelection(), and reconfigure().

float skim::SelectionNumu2018::fMinSliceHits
private

minimum number of hits in a slice to keep it

Definition at line 47 of file SelectionNumu2018.h.

Referenced by PassesSelection(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxKalmanYPosAtTrans
private

Definition at line 66 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxOtherTrackStartZPos
private

Definition at line 100 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxOtherTrackStopZPos
private

Definition at line 101 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

unsigned int skim::SelectionNumu2018::fNDMaxPlane
private

Definition at line 63 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxShowerW
private

Definition at line 88 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxShowerZ
private

Definition at line 90 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxTrackStartZPos
private

Definition at line 64 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMaxTrackStopZPos
private

Definition at line 65 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

int skim::SelectionNumu2018::fNDMinKalmanBakCell
private

Definition at line 68 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

int skim::SelectionNumu2018::fNDMinKalmanFwdCell
private

Definition at line 67 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

unsigned int skim::SelectionNumu2018::fNDMinPlane
private

Definition at line 62 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().

float skim::SelectionNumu2018::fNDMinShowerZ
private

Definition at line 89 of file SelectionNumu2018.h.

Referenced by KeepNumuNearDetectorSlice(), and reconfigure().


The documentation for this class was generated from the following files: