#include <Cuts.h>
Classes | |
| struct | Config |
| struct | VolYZ |
Public Member Functions | |
| void | Initialize (const fhicl::ParameterSet &cfg, const geo::GeometryCore *geometry) |
| std::array< bool, nCuts > | ProcessRecoCuts (const numu::RecoEvent &event, unsigned reco_vertex_index, bool fSequentialCuts=true) const |
| std::array< bool, nTruthCuts > | ProcessTruthCuts (const numu::RecoEvent &event, const event::Event &core, unsigned truth_vertex_index, bool SequentialCuts=true) const |
| bool | SelectReco (std::array< bool, nCuts > &cuts) |
| bool | InFV (const TVector3 &v) const |
| bool | InFV (const geo::Point_t &v) const |
| bool | InCosmicContainment (const TVector3 &v) const |
| bool | InCalorimetricContainment (const TVector3 &v) const |
| float | CRTMatchTime (const numu::RecoTrack &track) const |
| bool | HasCRTHitMatch (const numu::RecoTrack &track) const |
| bool | TimeInSpill (float time) const |
| bool | TimeInCRTActiveSpill (float time) const |
| bool | HasCRTTrackMatch (const numu::RecoTrack &track) const |
| bool | PassFlashTrigger (const numu::RecoEvent &event) const |
| const std::vector< std::string > & | CutOrder () const |
| const std::vector< std::string > & | TruthCutOrder () const |
Static Public Attributes | |
| static const unsigned | nCuts = 11 |
| total number of cuts More... | |
| static const unsigned | nTruthCuts = 6 |
| Total number of truth cuts. More... | |
| static constexpr std::array < const char *, nTruthCuts > | truthCutNames = { "Truth", "T_fid", "T_trig", "T_vqual", "T_tqual", "T_reco"} |
| static constexpr std::array < const char *, nCuts > | cutNames |
Private Attributes | |
| Config | fConfig |
Definition at line 18 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
| float ana::SBNOsc::Cuts::CRTMatchTime | ( | const numu::RecoTrack & | track | ) | const |
Gets the time of the CRT match to a track.
| track | The track object |
Definition at line 211 of file Cuts.cc.
|
inline |
Definition at line 126 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
| bool ana::SBNOsc::Cuts::HasCRTHitMatch | ( | const numu::RecoTrack & | track | ) | const |
Whether a TPC track has a CRT hit match
| track | the TPC track |
Definition at line 205 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::HasCRTTrackMatch | ( | const numu::RecoTrack & | track | ) | const |
Whether a TPC track has a CRT track match
| track | the TPC track |
Definition at line 199 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::InCalorimetricContainment | ( | const TVector3 & | v | ) | const |
Test whether a point is in the configured track containment volume
| v | The point to test |
Definition at line 241 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::InCosmicContainment | ( | const TVector3 & | v | ) | const |
Test whether a point is in the configured track containment volume
| v | The point to test |
Definition at line 248 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::InFV | ( | const TVector3 & | v | ) | const |
Test whether a point is in the configured fiducial volume
| v | The point to test |
Definition at line 234 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::InFV | ( | const geo::Point_t & | v | ) | const |
Test whether a point is in the configured fiducial volume
| v | The point to test |
Definition at line 227 of file Cuts.cc.
| void ana::SBNOsc::Cuts::Initialize | ( | const fhicl::ParameterSet & | cfg, |
| const geo::GeometryCore * | geometry | ||
| ) |
Initialize this class.
| cfg | fhicl configuration for the class A pointer to the geoemtry of the detector to configure |
Definition at line 10 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::PassFlashTrigger | ( | const numu::RecoEvent & | event | ) | const |
Definition at line 121 of file Cuts.cc.
| std::array< bool, Cuts::nCuts > ana::SBNOsc::Cuts::ProcessRecoCuts | ( | const numu::RecoEvent & | event, |
| unsigned | reco_vertex_index, | ||
| bool | fSequentialCuts = true |
||
| ) | const |
Process each cut associated with reconstructed events
| event | The reconstructed event information |
| reco_vertex_index | The index of the candidate reconstructed neutrino vertex into the list of such vertices in the RecoEvent |
Definition at line 125 of file Cuts.cc.
| std::array< bool, Cuts::nTruthCuts > ana::SBNOsc::Cuts::ProcessTruthCuts | ( | const numu::RecoEvent & | event, |
| const event::Event & | core, | ||
| unsigned | truth_vertex_index, | ||
| bool | SequentialCuts = true |
||
| ) | const |
Process each cut associated with true events
| event | Event information |
| truth_vertex_index | The index of the true neutrino vertex into the lsit of true interactions in the RecoEvent |
Definition at line 86 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::SelectReco | ( | std::array< bool, nCuts > & | cuts | ) |
Select a reco event based on the cut values provided by ProcessRecoCuts
| cuts | the list of cuts returned by ProcessRecoCuts |
| bool ana::SBNOsc::Cuts::TimeInCRTActiveSpill | ( | float | time | ) | const |
Definition at line 222 of file Cuts.cc.
| bool ana::SBNOsc::Cuts::TimeInSpill | ( | float | time | ) | const |
Returns whether a time value is within the configured beam spill window
| time | The time to test |
Definition at line 217 of file Cuts.cc.
|
inline |
Definition at line 130 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
|
static |
Definition at line 122 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
|
private |
Definition at line 164 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
|
static |
total number of cuts
Definition at line 20 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
|
static |
Total number of truth cuts.
Definition at line 21 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
|
static |
Definition at line 121 of file ysis/ana/SBNOscReco/PostProcess/Cuts.h.
1.8.5