Functions | Variables
FillTrainingTrees.h File Reference
#include "StandardRecord/Proxy/SRProxy.h"
#include "StandardRecord/Proxy/CopyRecord.h"
#include "StandardRecord/StandardRecord.h"
#include "StandardRecord/SRTrueParticle.h"
#include "StandardRecord/SRVector3D.h"
#include "CAFAna/Core/Var.h"
#include "CAFAna/Vars/Vars.h"
#include "CAFAna/Vars/TruthVars.h"
#include "CAFAna/Vars/NusVars.h"
#include "CAFAna/Cuts/NusCuts20.h"
#include "TFile.h"
#include "TTree.h"

Go to the source code of this file.

Functions

void SetupRecTree (TTree *recTree)
 
void SetupOutTree (TTree *outTree)
 
void FillTree (TTree *recTree, TTree *outTree, bool isData)
 

Variables

caf::StandardRecordsr = nullptr
 
int run
 
int subrun
 
int evt
 
short subevt
 
int iscc
 
int vtxisvalid
 
int nprongs
 
int ncontplanes
 
float distallpngtop
 
float distallpngbottom
 
float distallpngeast
 
float distallpngwest
 
float distallpngfront
 
float distallpngback
 
float vtxx
 
float vtxy
 
float vtxz
 
int shwhitx
 
int shwhity
 
int shwhittot
 
int shwhitasymm
 
float shwhitratio
 
int nshowers
 
float showerwidth
 
float showerlength
 
float showerdirycosine
 
float showergap
 
float showercale
 
float nhitsperplane
 
int nmiphits
 
float nhitsperslice
 
float partptp
 
float closestslicetime
 
float closestslicemindist
 
float CVNnc_looseptp
 
float CVNcos_looseptp
 

Function Documentation

void FillTree ( TTree *  recTree,
TTree *  outTree,
bool  isData 
)

Definition at line 85 of file FillTrainingTrees.C.

References closestslicemindist, caf::SRSlice::closestslicemindist, caf::SRSlice::closestslicetime, closestslicetime, caf::SRCVNResult::cosmicid, om::cout, CVNcos_looseptp, caf::SRIDBranch::cvnloosepreselptp, CVNnc_looseptp, distallpngback, caf::SRNueCosRej::distallpngback, distallpngbottom, caf::SRNueCosRej::distallpngbottom, distallpngeast, caf::SRNueCosRej::distallpngeast, distallpngfront, caf::SRNueCosRej::distallpngfront, distallpngtop, caf::SRNueCosRej::distallpngtop, distallpngwest, caf::SRNueCosRej::distallpngwest, caf::SRVertexBranch::elastic, allTimeWatchdog::endl, evt, caf::SRHeader::evt, check_time_usage::float, caf::SRElastic::fuzzyk, caf::StandardRecord::hdr, caf::SRNueCosRej::hitsperplane, iscc, caf::SRElastic::IsValid, ana::kInBeamSpill, ana::kNus20FDCuts, ana::kStandardSpillCuts_FD_Prod4MotivatedDQ, caf::StandardRecord::mc, caf::SRCVNResult::ncid, caf::SRSlice::ncontplanes, ncontplanes, caf::SRSlice::nhit, nhitsperplane, nhitsperslice, caf::SRSlice::nmiphit, nmiphits, caf::SRFuzzyK::npng, nprongs, nshowers, caf::SRFuzzyK::nshwlid, caf::SRTruthBranch::nu, caf::SRIDBranch::nuecosrej, caf::SRNueCosRej::partptp, partptp, caf::SRFuzzyK::png, caf::SRHeader::run, caf::StandardRecord::sel, showercale, showerdirycosine, showergap, showerlength, showerwidth, shwhitasymm, shwhitratio, shwhittot, shwhitx, shwhity, caf::StandardRecord::slc, caf::Proxy< caf::StandardRecord >::spill, sr, subevt, caf::SRHeader::subevt, caf::SRHeader::subrun, getGoodRuns4SAM::subrun, caf::SRElastic::vtx, caf::StandardRecord::vtx, vtxisvalid, vtxx, vtxy, vtxz, caf::SRVector3D::x, caf::SRVector3D::y, and caf::SRVector3D::z.

Referenced by FillTrainingTrees().

85  {
86 
87  recTree->SetBranchAddress("rec", &sr);
88  recTree->GetEntry(0);
89 
90  caf::SRProxy srProxy(0, nullptr, "", 0, 0);
91  caf::CopyRecord(*sr, srProxy);
92 
93  for (Long64_t iEnt = 0; iEnt < recTree->GetEntries(); ++iEnt){
94 
95  if (iEnt%1000 == 0) std::cout << iEnt << "/" << recTree->GetEntries() << std::endl;
96 
97  recTree->GetEntry(iEnt);
98  caf::CopyRecord(*sr, srProxy);
99 
100  // if it's mc, make sure we're only saving
101  // signal information
102  if (!isData){
103  iscc = sr->mc.nu[0].iscc;
104  if(iscc == 1) continue;
105  }
106  else iscc = -1;
107 
108  // and then apply pre-cvn cuts. that's the quality cuts
109  // and the prong distance to edge cuts
110 
111  // define cut variables
121 
122  // place selection cuts
123  if (!ana::kNus20FDCuts(&srProxy) ||
124  !ana::kStandardSpillCuts_FD_Prod4MotivatedDQ(&(srProxy.spill)) ||
125  !ana::kInBeamSpill(&srProxy))
126  continue;
127 
128  // quality cuts
129  //if (vtxisvalid == 0 ||
130  // nprongs == 0 ||
131  // ncontplanes <= 2)
132  // continue;
133 
134  //// prong distance to edge cuts
135  //if (distallpngtop < 100 ||
136  // distallpngbottom < 100 ||
137  // distallpngwest < 100 ||
138  // distallpngeast < 100 ||
139  // distallpngfront < 160 ||
140  // distallpngback < 160)
141  // continue;
142 
143  // base variables
144  run = sr->hdr.run;
145  subrun = sr->hdr.subrun;
146  evt = sr->hdr.evt;
147  subevt = sr->hdr.subevt;
148 
149  // vetex variables
150  vtxx = sr->vtx.elastic.vtx.x;
151  vtxy = sr->vtx.elastic.vtx.y;
152  vtxz = sr->vtx.elastic.vtx.z;
153 
154  // shower hit variables
155  shwhitx = sr->vtx.elastic.fuzzyk.png[0].shwlid.nhitx;
156  shwhity = sr->vtx.elastic.fuzzyk.png[0].shwlid.nhity;
159  shwhitratio = (float)shwhitx/(float)shwhity;
160 
161  // other shower variables
163  showerwidth = sr->vtx.elastic.fuzzyk.png[0].shwlid.width;
164  showerlength = sr->vtx.elastic.fuzzyk.png[0].shwlid.len;
165  showerdirycosine = sr->vtx.elastic.fuzzyk.png[0].shwlid.dir.y;
166  showergap = sr->vtx.elastic.fuzzyk.png[0].shwlid.gap;
167  showercale = sr->vtx.elastic.fuzzyk.png[0].shwlid.calE;
168 
169  // other variables
172  nmiphits = sr->slc.nmiphit;
176 
177  // cvn variables
180 
181  outTree->Fill();
182 
183  }
184 
185 }
const SpillCut kStandardSpillCuts_FD_Prod4MotivatedDQ
Definition: SpillCuts.h:69
float ncid
Likelihood Neutral Current.
Definition: SRCVNResult.h:23
float distallpngbottom
float closestslicemindist
minimum distance to the closest slice in time domain
Definition: SRSlice.h:56
int ncontplanes
SRHeader hdr
Header branch: run, subrun, etc.
unsigned int subrun
subrun number
Definition: SRHeader.h:22
float distallpngbottom
Definition: SRNueCosRej.h:95
int nprongs
std::vector< SRFuzzyKProng > png
Vector of 3D prong objects.
Definition: SRFuzzyK.h:19
Proxy for caf::StandardRecord.
Definition: SRProxy.h:2108
float showerwidth
float vtxx
int nmiphits
unsigned int run
run number
Definition: SRHeader.h:21
float distallpngeast
float distallpngfront
SRCVNResult cvnloosepreselptp
Output from CVN - Loose Presel plus PtP cut (many-class PID)
Definition: SRIDBranch.h:54
float distallpngtop
unsigned int evt
ART event number, indexes trigger windows.
Definition: SRHeader.h:25
float shwhitratio
float cosmicid
Likelihood Cosmic Interaction.
Definition: SRCVNResult.h:24
int shwhity
int iscc
unsigned int nshwlid
number of shwlid showers - either 0 or number of 3d prongs
Definition: SRFuzzyK.h:24
float distallpngfront
Definition: SRNueCosRej.h:99
int nshowers
float partptp
unsigned int nmiphit
number of minimum ionizing hits
Definition: SRSlice.h:24
int shwhitasymm
SRNueCosRej nuecosrej
Output from NueCosRej (Nue Cosmic Rejection)
Definition: SRIDBranch.h:48
int evt
float closestslicetime
float vtxy
caf::StandardRecord * sr
float nhitsperplane
float showerdirycosine
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRElastic.h:40
float showergap
size_t npng
Definition: SRFuzzyK.h:26
int vtxisvalid
unsigned int nhit
number of hits
Definition: SRSlice.h:22
Definition: run.py:1
OStream cout
Definition: OStream.cxx:6
float CVNnc_looseptp
float vtxz
int shwhittot
int shwhitx
float CVNcos_looseptp
float distallpngback
SRIDBranch sel
Selector (PID) branch.
SRElastic elastic
Single vertex found by Elastic Arms.
float showercale
const Cut kInBeamSpill([](const caf::SRProxy *sr){if(sr->spill.run > util::kLastBadTimingRun) return kInBeamSpill_main(sr);else return kInBeamSpill_main(sr)||kInBeamSpill_shifted(sr);}, [](const caf::SRSpillProxy *spill){if(spill->run > util::kLastBadTimingRun) return kInBeamSpill_main.Livetime(spill);else return kInBeamSpill_main.Livetime(spill)+kInBeamSpill_shifted.Livetime(spill);}, [](const caf::SRSpillProxy *spill) -> double{return spill->spillpot;})
Does the event fall inside the window we call the beam spill?
Definition: TimingCuts.h:8
SRSlice slc
Slice branch: nhit, extents, time, etc.
const Cut kNus20FDCuts
Definition: NusCuts20.h:174
SRTruthBranch mc
Truth branch for MC: energy, flavor, etc.
SRFuzzyK fuzzyk
Primary 3D prong object.
Definition: SRElastic.h:44
float closestslicemindist
unsigned short subevt
slice number within spill
Definition: SRHeader.h:26
unsigned int ncontplanes
number of continuous planes
Definition: SRSlice.h:25
float closestslicetime
time difference between meantime of this slice and meantime of slice closest in time, in nanoseconds.
Definition: SRSlice.h:43
std::vector< SRNeutrino > nu
implemented as a vector to maintain mc.nu structure, i.e. not a pointer, but with 0 or 1 entries...
Definition: SRTruthBranch.h:25
float nhitsperslice
short subevt
float showerlength
float distallpngwest
SRVertexBranch vtx
Vertex branch: location, time, etc.
void SetupOutTree ( TTree *  outTree)

Definition at line 44 of file FillTrainingTrees.C.

References closestslicemindist, closestslicetime, CVNcos_looseptp, CVNnc_looseptp, distallpngback, distallpngbottom, distallpngeast, distallpngfront, distallpngtop, distallpngwest, evt, iscc, ncontplanes, nhitsperplane, nhitsperslice, nmiphits, nprongs, nshowers, partptp, showercale, showerdirycosine, showergap, showerlength, showerwidth, shwhitasymm, shwhitratio, shwhittot, shwhitx, shwhity, subevt, getGoodRuns4SAM::subrun, vtxisvalid, vtxx, vtxy, and vtxz.

Referenced by FillTrainingTrees().

44  {
45 
46  outTree->Branch("run" , &run );
47  outTree->Branch("subrun" , &subrun );
48  outTree->Branch("evt" , &evt );
49  outTree->Branch("subevt" , &subevt );
50  outTree->Branch("iscc" , &iscc );
51  outTree->Branch("vtxisvalid" , &vtxisvalid );
52  outTree->Branch("nprongs" , &nprongs );
53  outTree->Branch("ncontplanes" , &ncontplanes );
54  outTree->Branch("distallpngtop" , &distallpngtop );
55  outTree->Branch("distallpngbottom" , &distallpngbottom );
56  outTree->Branch("distallpngeast" , &distallpngeast );
57  outTree->Branch("distallpngwest" , &distallpngwest );
58  outTree->Branch("distallpngfront" , &distallpngfront );
59  outTree->Branch("distallpngback" , &distallpngback );
60  outTree->Branch("vtxx" , &vtxx );
61  outTree->Branch("vtxy" , &vtxy );
62  outTree->Branch("vtxz" , &vtxz );
63  outTree->Branch("shwhitx" , &shwhitx );
64  outTree->Branch("shwhity" , &shwhity );
65  outTree->Branch("shwhittot" , &shwhittot );
66  outTree->Branch("shwhitasymm" , &shwhitasymm );
67  outTree->Branch("shwhitratio" , &shwhitratio );
68  outTree->Branch("nshowers" , &nshowers );
69  outTree->Branch("showerwidth" , &showerwidth );
70  outTree->Branch("showerlength" , &showerlength );
71  outTree->Branch("showerdirycosine" , &showerdirycosine );
72  outTree->Branch("showergap" , &showergap );
73  outTree->Branch("showercale" , &showercale );
74  outTree->Branch("nhitsperplane" , &nhitsperplane );
75  outTree->Branch("nmiphits" , &nmiphits );
76  outTree->Branch("nhitsperslice" , &nhitsperslice );
77  outTree->Branch("partptp" , &partptp );
78  outTree->Branch("closestslicetime" , &closestslicetime );
79  outTree->Branch("closestslicemindist" , &closestslicemindist );
80  outTree->Branch("CVNnc_looseptp" , &CVNnc_looseptp );
81  outTree->Branch("CVNcos_loosetptp" , &CVNcos_looseptp );
82 
83 }
float distallpngbottom
int ncontplanes
int nprongs
float showerwidth
float vtxx
int nmiphits
float distallpngeast
float distallpngfront
float distallpngtop
float shwhitratio
int shwhity
int iscc
int nshowers
float partptp
int shwhitasymm
int evt
float closestslicetime
float vtxy
float nhitsperplane
float showerdirycosine
float showergap
int vtxisvalid
Definition: run.py:1
float CVNnc_looseptp
float vtxz
int shwhittot
int shwhitx
float CVNcos_looseptp
float distallpngback
float showercale
float closestslicemindist
float nhitsperslice
short subevt
float showerlength
float distallpngwest
void SetupRecTree ( TTree *  recTree)

Definition at line 38 of file FillTrainingTrees.C.

References sr.

Referenced by FillTrainingTrees().

38  {
39 
40  recTree->SetBranchAddress("rec", &sr);
41 
42 }
caf::StandardRecord * sr

Variable Documentation

float closestslicemindist
float closestslicetime
float CVNcos_looseptp

Definition at line 55 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float CVNnc_looseptp

Definition at line 54 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float distallpngback
float distallpngbottom
float distallpngeast
float distallpngfront
float distallpngtop
float distallpngwest
int evt

Definition at line 22 of file FillTrainingTrees.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), hdf5::HDF5Maker::analyze(), slid::LIDTraining::analyze(), rwgt::RwgtTest::beginSubRun(), caf::Proxy< caf::SRHeader >::CheckEquals(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), caf::Proxy< caf::SRSpill >::CheckEquals(), convert_mcnp_txt_to_root(), novarwgt::ConvertGenieEvent(), art::PtrMaker< T >::create(), fnex::EventListManipulator::CreateFarDetCosmicBackgroundsFromEventList(), evd::MCBriefPad::Draw(), evd::TQPad::Draw(), evd::HardwarePad::Draw(), evd::Display3DPad::Draw(), evd::TZProjPad::Draw(), evd::PlotView::Draw(), lem::EventSummary::EventSummary(), caf::FillMRCCParentInfo(), caf::FillNumuInfo(), fnex::CovarianceMatrixMaker::FillSpectrum(), fnex::CovarianceFitHelper::FillSpectrum(), cmf::FillSpectrumFromSingleList(), FillTree(), fnex::AnalysisSetupBase::FillTruthVars(), SliceLID::ProngShwLIDVars::fillVars(), lem::Library::FromTrees(), cvn::GetParentParticleType(), SliceLID::BasicProngVars::getProngs(), LSTME::BasicProngVars::getProngs(), LSTME::BasicProngVars::getWeightedProngs(), evdb::ButtonBar::GoTo(), DecTreeLoader::HandleRecord(), kinematics(), lem::Library::Library(), murem::MuonRemove::LongestTrack(), main(), cmf::CovarianceFitHelper::Make1DSpectra(), rwgt::MCReweight::MAQEGenieReducedSyst2018(), lem::MatchableEvent::MatchableEvent(), rwgt::MCReweight::MECEnuShapeSyst2018(), rwgt::MCReweight::MECInitStateNPFracSyst2018(), rwgt::MCReweight::MECq0q3ShapeSyst2018(), neutron_evd(), evdb::DisplayWindow::OpenWindow(), caf::Proxy< caf::SRHeader >::operator=(), caf::Proxy< caf::SRNeutrino >::operator=(), caf::Proxy< caf::SRSpill >::operator=(), slid::ParticleIDAlg::Pi0Mass(), prepare_mcnp_root_for_g4nova(), flat::FlatMaker::produce(), lem::FindMatchesTranspose::produce(), ndreco::NDReco::produce(), slid::LIDBuilder::produce(), slid::SPIDBuilder::produce(), xsrec::MakeXSecCCPi0Inc::produce(), murem::FindMREParent::produce(), caf::CAFMaker::produce(), art::PtrMaker< T >::PtrMaker(), slid::ParticleIDAlg::Radius(), fnex::CalibSystHistMaker::ReadEventListTree(), readTree(), evdb::ScanFrame::Record(), murem::MuonRemove::RemoveByEfficiency(), murem::MuonRemove::RemoveByProngCVN(), murem::MuonRemove::RemoveByReMId(), rwgt::MCReweight::RPACCQEEnhSyst2018(), rwgt::MCReweight::RPACCQESuppSyst2018(), rwgt::MCReweight::RPARESSyst2018(), evdb::EventHolder::SetEvent(), SetupOutTree(), murem::MuonRemove::SliceSelection(), murem::MRCCAna::SliceSelection(), caf::CAFMaker::sortNuWithIdx(), daq2raw::SpillWrapper::SpillWrapper(), test_dectree(), evd::HeaderDrawer::Text(), novarwgt::test::ToNuSimData(), lem::dec::Forest::TrainSingleTransformed(), testbeam::BeamlineEventDisplay::~BeamlineEventDisplay(), EliminateBeamSpills::~EliminateBeamSpills(), calib::EnergyStandardCandles::~EnergyStandardCandles(), fnex::NuEAnalysisSetup::~NuEAnalysisSetup(), spilltime::~spilltime(), and filter::TruthFilter::~TruthFilter().

int iscc
int ncontplanes
float nhitsperplane

Definition at line 48 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float nhitsperslice

Definition at line 50 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

int nmiphits

Definition at line 49 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

int nprongs
int nshowers

Definition at line 42 of file FillTrainingTrees.h.

Referenced by ncs::NCAna::analyze(), FillTree(), and SetupOutTree().

float partptp
int run

Definition at line 20 of file FillTrainingTrees.h.

float showercale

Definition at line 47 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float showerdirycosine

Definition at line 45 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float showergap

Definition at line 46 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float showerlength
float showerwidth

Definition at line 43 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

int shwhitasymm

Definition at line 40 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float shwhitratio

Definition at line 41 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

int shwhittot

Definition at line 39 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

int shwhitx

Definition at line 37 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

int shwhity

Definition at line 38 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

caf::StandardRecord* sr = nullptr

Definition at line 18 of file FillTrainingTrees.h.

Referenced by AddNumuHistDefMoreTruth(), ana::RecordMultiSink::AddSink(), Analyse_Data2DataComp(), Analyse_Data2DataComp_HigherEnergyCuts(), Analyse_Data2DataComp_kNumu2020ND(), hdf5::HDF5Maker::analyze(), G4MismatchAna::analyze(), AnaResultsLoad(), ana::BeamIntensitySyst::BeamIntensitySyst(), ana::BeamNueScaleSyst::BeamNueScaleSyst(), ana::BeamWeightFunc::BeamWeightFunc(), calhit::RemoveBadChannels::beginSubRun(), calhit::CalHit::beginSubRun(), art::RootOutput::beginSubRun(), ana::BolombMuESyst2019::BolombMuESyst2019(), caf_nue_data_mc(), caf_numu_nd_cutflow(), caf_numu_nuenergy_vs_xy(), caf_numu_reco_minus_true(), caf_numu_vars(), CAFReweightExample(), ana::calcFirstLastLivePlane(), ana::CalcMECDoubleGaussEnhShiftedParamNux(), ana::CalcMECGaussEnh(), ana::CalcPrimE(), ana::CCFlavSel::CCFlavSel(), check_proxy(), compare_cos_numi(), jw::CompNormSyst::CompNormSyst(), ana::CompNormSyst::CompNormSyst(), ana::ContainFxn::ContainFxn(), ana::ContainmentSyst::ContainmentSyst(), ana::CorrMuEScaleSyst2019::CorrMuEScaleSyst2019(), ana::CorrMuEScaleSyst2020::CorrMuEScaleSyst2020(), SliceLID::cosmicid(), ana::CutApplier::CutApplier(), CutFlow_Data(), CutFlow_MC(), ana::CutFromNuTruthCut(), CutTableLoad(), CVNCuts(), ana::CVNFinalStateScore2018(), ana::CVNPng::CVNPng(), ana::CVNPngTruthSel::CVNPngTruthSel(), ana::CVNVetoOverlapWindowCut(), datamc_ND_numu_kinematics(), datamc_ND_numu_kinematics_FHC_REW(), datamc_ND_numu_kinematics_FHC_REW_pTBins(), datamc_ND_numu_kinematics_REW(), datamc_ND_numu_kinematics_RHC_REW(), datamc_ND_numu_kinematics_RHC_REW_pTBins(), DataMCLoad(), DataMCNDLoad_nus17(), DataVtxDistributionLoad(), demo0(), demo1(), demo2(), demo2p5a(), demo3(), demo4(), demo6(), demoSysts(), DetectorHornSwitcher(), DetectorSwitcher(), ana::DirectHadEScaleSyst2017::DirectHadEScaleSyst2017(), ana::DirectRelHadEScaleSyst2017::DirectRelHadEScaleSyst2017(), ana::DISHighWScaleSyst::DISHighWScaleSyst(), art::ResultsProducer::doBeginSubRun(), art::ResultsProducer::doEndSubRun(), drawTimePlots(), efficiency(), efficiencySA(), EnergyCont_macro(), energyResolution(), Exposure(), ExtendedAxesLoad(), FD_plots(), FDDataMC(), ana::FDHadEnergyScaleSyst::FDHadEnergyScaleSyst(), ana::FDMuEnergyScaleSyst::FDMuEnergyScaleSyst(), art::OutputModule::fileGranularity(), FillTree(), fnex::CAFToEventList::FillVariables(), cmf::CAFToEventList::FillVariables(), calib::SumSubrunsCalib::filter(), calib::FindOutliers::filter(), generate_fd_fake_events(), genie_preds_make(), get_cosmic_sample(), get_eventlist(), get_eventlist2020(), get_eventslist(), ana::GetAntiNueBDT::GetAntiNueBDT(), ana::GetAntiNueBDTCVN::GetAntiNueBDTCVN(), ana::GetAntiNumuBDT::GetAntiNumuBDT(), ana::GetAntiNumuBDTCVN::GetAntiNumuBDTCVN(), ana::GetBDTCosRej_BPF_FHCHigh::GetBDTCosRej_BPF_FHCHigh(), ana::GetBDTCosRej_BPF_FHCPer1::GetBDTCosRej_BPF_FHCPer1(), ana::GetBDTCosRej_BPF_FHCPer2::GetBDTCosRej_BPF_FHCPer2(), ana::GetBDTCosRej_BPF_RHCHigh::GetBDTCosRej_BPF_RHCHigh(), ana::GetBDTCosRej_Kal_FHCHigh::GetBDTCosRej_Kal_FHCHigh(), ana::GetBDTCosRej_Kal_FHCPer1::GetBDTCosRej_Kal_FHCPer1(), ana::GetBDTCosRej_Kal_FHCPer2::GetBDTCosRej_Kal_FHCPer2(), ana::GetBDTCosRej_Kal_RHCHigh::GetBDTCosRej_Kal_RHCHigh(), ana::GetBestBPFTrack::GetBestBPFTrack(), ana::GetBestPionID::GetBestPionID(), ana::GetBestPionTrack::GetBestPionTrack(), ana::nueccinc::GetBestProng::GetBestProng(), ana::GetBestTrack::GetBestTrack(), nova::dbi::RunHistory::GetBNEVBList(), ana::GetBPFMuonID::GetBPFMuonID(), getCosmicList(), jw::GetCutIsFitMEC(), ana::GetCutIsFitMEC(), ana::nueccinc::GetElectronID::GetElectronID(), ana::nueccinc::GetElectronIDForProng::GetElectronIDForProng(), GetHistsFD(), GetHistsND(), getInputList(), ana::GetkPPFXFluxUnivWgt(), ana::GetMuonID::GetMuonID(), ana::GetNCCosRej::GetNCCosRej(), ana::GetNCCosRejBDTG2020::GetNCCosRejBDTG2020(), ana::GetNCCosRejG::GetNCCosRejG(), ana::GetNCCosRejKeras::GetNCCosRejKeras(), ana::GetNCCosRejp1::GetNCCosRejp1(), ana::GetNCCosRejp2::GetNCCosRejp2(), ana::GetNCCosRejp3_5::GetNCCosRejp3_5(), ana::GetNCCosRejp4_6::GetNCCosRejp4_6(), ana::GetNCPi0BDTID::GetNCPi0BDTID(), ana::GetPionID::GetPionID(), ana::GetPionTrack::GetPionTrack(), genie::geometry::PathSegment::GetPosition(), getPredictions_updatedAna(), genie::geometry::PathSegment::GetSummedStepRange(), GetTunedMECWeight(), ana::GetWeightFromShifts(), jw::GetWeightFromShifts(), ana::GetWtMinervaND::GetWtMinervaND(), ana::GetWtMippNA49NOvAFD::GetWtMippNA49NOvAFD(), ana::GetWtMippNA49NOvAND::GetWtMippNA49NOvAND(), getYearAndMonth(), ana::FileReducer::Go(), ana::HadEnergyScaleSyst::HadEnergyScaleSyst(), ana::SpectrumLoader::HandleFile(), ana::TreeMaker::HandleRecord(), HighlightSignPoints(), ana::MultiHistContainer::Hist(), hyperon_macro(), hyperon_nom_macro(), SliceLID::initCAFAnaModel(), LSTME::initCAFAnaModel(), ana::initNumuHadE2018FDpXVar(), ana::initNumuHadE2018NDpXVar(), ana::initNumuHadE2018Var(), ana::initNumuHadE2020FDpXVar(), ana::initNumuHadE2020NDpXVar(), ana::initNumuHadE2020Var(), ana::initNumuMuE2018FDpXVar(), ana::initNumuMuE2018NDpXVar(), ana::initNumuMuE2018Var(), ana::initNumuMuE2020FDpXVar(), ana::initNumuMuE2020NDpXVar(), ana::initNumuMuE2020Var(), ana::GetAntiNumuBDTCVN::InitTMVA(), art::SubRunID::inRangeOrInvalid(), genie::INukeHadroData2018::IntBounce(), genie::INukeHadroData::IntBounce(), chaninfo::BadChanList::IsBadUncached(), ana::k2018PIDs(), ana::KaonScaleSyst::KaonScaleSyst(), ana::kNhit_2d(), ana::kNue2017BasicPartFunc(), ana::ISyst::LatexName(), ana::LEMScaleSyst::LEMScaleSyst(), ana::LeptonAngleSyst::LeptonAngleSyst(), chaninfo::BadChanList::LoadNewData(), LoadWeightsTunedNumuMEC(), jw::LoadWeightsTunedNumuMEC(), main(), make_dst_cosrejbdttrain(), make_nueFDprediction_kinematics(), make_nueFDprediction_kinematics_FHC_REW(), make_nueFDprediction_kinematics_FHC_REW_pTExtrap(), make_nueFDprediction_kinematics_REW(), make_nueFDprediction_kinematics_RHC_REW(), make_nueFDprediction_kinematics_RHC_REW_pTExtrap(), make_numu_decaf(), make_RHC_WrongSign_Nue(), make_RHC_WrongSign_Numu_MC(), make_RHC_WrongSign_Numu_Pd4_6Data(), make_RHC_WrongSign_Numu_Pd7dData(), make_RHC_WrongSign_Numu_Pd8Data(), make_RHC_WrongSign_NumuQ1(), make_RHC_WrongSign_NumuQ2(), make_RHC_WrongSign_NumuQ3(), make_RHC_WrongSign_NumuQ4(), ana::MakeGraph(), MakeNus17CosBkgd(), MakeNus18CosBkgd(), MakePPFXRatios(), makePred(), MakeSystRatios(), MakeTestStandPlots_AllRuns(), MakeTestStandPlots_NewRuns(), ana::MichelTaggingSyst2018::MichelTaggingSyst2018(), ana::MichelTaggingSyst2020::MichelTaggingSyst2020(), ana::MINERvA_MEC_Wgt_Var::MINERvA_MEC_Wgt_Var(), MinervaFluxFromHist(), MippNA49FluxFromHist(), mrbrem_get_reweighted_spectra(), MRDiFStudy_FHC_Step1(), MRDiFStudy_FHC_Step2(), MRDiFStudy_RHC_Step1(), MRDiFStudy_RHC_Step2(), mre_blessed(), mre_comp_split(), ana::MuEnergyScaleSyst::MuEnergyScaleSyst(), ana::MuEScaleSyst2017::MuEScaleSyst2017(), hough::MultiHough2P::MultiMap(), ana::MultiVarSpectrumSink::MultiVarSpectrumSink(), ana::MuonECat(), ana::MuonMass(), ana::MyWrongSignScale::MyWrongSignScale(), nova::dbi::RunHistory::NAnalysisChannels(), nova::dbi::RunHistory::NAnalysisDiBlocks(), ana::NCFlavSel::NCFlavSel(), SliceLID::ncid(), ana::NCScaleSyst::NCScaleSyst(), ana::NCtest::NCtest(), NDDataMC(), neutKEsyst(), neutronE_macro(), ana::NeutronVisEScaleSyst2018::NeutronVisEScaleSyst2018(), ana::NormSyst::NormSyst(), ana::NotContainFxn::NotContainFxn(), nue_data_mc_validation(), nue_fd_mc_validation(), ana::NueAcceptSystBkg2018FHC::NueAcceptSystBkg2018FHC(), ana::NueAcceptSystBkg2018RHC::NueAcceptSystBkg2018RHC(), ana::NueAcceptSystSignalKin2018FHC::NueAcceptSystSignalKin2018FHC(), ana::NueAcceptSystSignalKin2018RHC::NueAcceptSystSignalKin2018RHC(), ana::NueAcceptSystSignalKin2020FHC::NueAcceptSystSignalKin2020FHC(), ana::NueAcceptSystSignalKin2020RHC::NueAcceptSystSignalKin2020RHC(), ana::NueExtrapSystBkg2017::NueExtrapSystBkg2017(), ana::NueExtrapSystSignalKin2017::NueExtrapSystSignalKin2017(), SliceLID::nueid(), ana::BENDecomp::NueKaEstimate(), ana::NueRecoE_2017FDFit(), ana::NueRecoE_2018FHCFit(), ana::NueRecoE_2020FHCFit(), ana::Nuetest::Nuetest(), NuMu2020_TrimCAFs(), numu_cut_flow(), numu_data_mc_validation(), numu_validation_numuvars(), ana::NumuCCScaleSyst::NumuCCScaleSyst(), ana::NumuEnergyScaleSyst::NumuEnergyScaleSyst(), ana::NumuGEANTNormSyst::NumuGEANTNormSyst(), ana::NumuGEANTScaleSyst::NumuGEANTScaleSyst(), SliceLID::numuid(), ana::NumuNCScaleSyst::NumuNCScaleSyst(), ana::NumuNormSyst::NumuNormSyst(), ana::NumuRelEnergyScaleSyst::NumuRelEnergyScaleSyst(), ana::NumuRelNormSyst::NumuRelNormSyst(), ana::NumuTauContaminationSyst::NumuTauContaminationSyst(), ana::Numutest::Numutest(), NuSTreeMaker(), SliceLID::nutauid(), ana::_Cut< T >::operator!(), ana::_Cut< T >::operator&&(), ana::QuantileCutGenerator::operator()(), ana::NotContainFxn::operator()(), ana::_Var< T >::operator*(), ana::_Var< T >::operator+(), ana::_Var< T >::operator-(), ana::_Var< T >::operator/(), ana::_Cut< T >::operator||(), ana::OverlayCutFromNuTruthCut(), ana::OverlayVarFromNuTruthVar(), recovalid::CAFCutter::passCuts(), ana::PassesPreselFunc(), ana::PeriodFromHeader(), PeriodFromHeader(), ana::PileupMuESyst2019::PileupMuESyst2019(), ana::PileupMuESyst2020::PileupMuESyst2020(), plot_kinematics_cafana(), chaninfo::BadChanList::postBeginSubRun(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), ppfx_make_systs(), ppfx_smooth_weights_save(), ana::predict_special_nd_had_energy(), Preliminary(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), LSTME::primaryEnergy(), Print(), genie::geometry::PathSegment::Print(), ana::CSVMaker::printRow(), ana::SystShifts::Prior(), flat::FlatMaker::produce(), ana::Q3Q0CutFactory(), art::EmptyEvent::readSubRun_(), reduce_nue_2018(), reduce_numu_ana2017(), reduce_numu_ana2017_prod(), reduce_numu_ana2018(), reduce_numu_ana2018_cosmics(), reduce_prod5_nue(), reduce_prod5_numu(), ana::RelMuEScaleSyst2017::RelMuEScaleSyst2017(), ana::RelNormSyst::RelNormSyst(), ana::RemIDScaleSyst::RemIDScaleSyst(), resolution_event_tree(), ana::ReweightableSpectrumSink::ReweightableSpectrumSink(), ana::RockMuonNormSyst::RockMuonNormSyst(), runTwoSampleDecomp(), art::SamplingInput::SamplingInput(), savePrediction_addExpt(), savePrediction_complete(), savePrediction_extrap(), savePrediction_systs(), ana::Scaled(), LSTME::secondaryEnergy(), novaddt::SetSigmaRho(), SetupRecTree(), ana::MECGaussEnhSyst::Shift(), SideBandLoad(), ana::SpectrumSink::SpectrumSink(), ana::Sqrt(), sterile_demo(), ana::SystApplier::SystApplier(), SystsAcceptanceLoad17(), SystsFidContLoad(), SystsGENIELoad(), SystsGENIELoad17(), SystsMCStatsLoad(), SystsNDRockLoad(), SystsPPFXLoad17(), ana::TAHadEND(), ana::takeOutTrash(), ana::takeOutTrashByTruth(), ana::TAKEPol6_biasHM(), Tangible< T >::Tangible(), test_fluxhadr_prod_weights_Flux(), test_genieweights(), art::TFileService::TFileService(), LSTME::totalEnergy(), trim_caf(), TrimCAFs(), trimmubarid(), trimvar(), ana::UnCorrFDMuEScaleSyst2019::UnCorrFDMuEScaleSyst2019(), ana::UnCorrFDMuEScaleSyst2020::UnCorrFDMuEScaleSyst2020(), ana::UnCorrMuCatMuESyst2019::UnCorrMuCatMuESyst2019(), ana::UnCorrMuCatMuESyst2020::UnCorrMuCatMuESyst2020(), ana::UnCorrNDMuEScaleSyst2019::UnCorrNDMuEScaleSyst2019(), ana::UnCorrNDMuEScaleSyst2020::UnCorrNDMuEScaleSyst2020(), ana::VarFromNuTruthVar(), ana::WeightApplier::WeightApplier(), ana::WindowCut_FD_MR(), ana::WrongSignContamination::WrongSignContamination(), ana::WrongSignEnergyBin::WrongSignEnergyBin(), ana::WrongSignEnergyBinRHC::WrongSignEnergyBinRHC(), ana::WrongSignScale::WrongSignScale(), ana::WrongSignScale100::WrongSignScale100(), ana::ZEndPosition(), testbeam::BeamlineEventDisplay::~BeamlineEventDisplay(), ana::IRecordSink::~IRecordSink(), and ana::SummedSyst::~SummedSyst().

short subevt
int subrun

Definition at line 21 of file FillTrainingTrees.h.

int vtxisvalid

Definition at line 25 of file FillTrainingTrees.h.

Referenced by FillTree(), and SetupOutTree().

float vtxx
float vtxy
float vtxz