34 unsigned int tempnhit = sr->
slc.
nhit;
109 std::vector<caf::SRVector3D> temptrackstart;
110 std::vector<caf::SRVector3D> temptrackstop;
111 std::vector<caf::SRVector3D> temptrackdir;
144 std::vector<caf::SRVector3D> tempshwlidstart;
145 std::vector<caf::SRVector3D> tempshwlidstop;
146 std::vector<caf::SRVector3D> temppngstart;
147 std::vector<caf::SRCVNParticleResult> tempcvnpart;
148 std::vector<float> tempshwlidcale;
188 sr->
mc.
nu[0].rwgt.ppfx.vuniv.clear();
189 sr->
mc.
nu[0].rwgt.ppfx.nvuniv = 0;
201 reduce.
SetMetadata(
"nova.decaf_skim",
"nue2020_numundv2");
Near Detector underground.
Far Detector at Ash River.
A 3-vector with more efficient storage than TVector3.
Cuts and Vars for the 2020 FD DiF Study.
Event ID training variables.
SRHeader hdr
Header branch: run, subrun, etc.
float ndtrklenact
Near detector – muon track length in active region [cm].
float ndtrkcaltranE
Near detector – muon calorimetric energy in transition plane [GeV].
void ResetCosRejInfo(caf::StandardRecord *sr)
void ClearSecondaryTrackInfo(caf::StandardRecord *sr)
unsigned int lastplane
last plane
unsigned int firstplane
first plane
float trknonqeE
Track length non-quasielastic neutrino energy [GeV].
unsigned int idxremid
index number of the best ReMId track
SRVector3D boxmax
Maximum coordinates box containing all the hits [cm].
caf::Proxy< caf::SRHeader > hdr
std::vector< SRFuzzyKProng > png
Vector of 3D prong objects.
SRMichelE me
Michel electron branch.
Proxy for caf::StandardRecord.
float ndtrkcalcatE
Near detector – muon calorimetric energy in muon catcher [GeV].
SRTrainingBranch training
Extra training information for prototyping PIDs etc.
void reduce_prod5_nue(std::string fname, std::string outname)
unsigned int longestidx
index of longest prong
void SetMetadata(const std::string &key, const std::string &val)
Cause the output file to be systematically shifted.
Store BDT variables for the short-baseline oscillation study.
Breakpoint ID (BpfId) output.
void AddReductionStep(const std::function< ReductionFunc > &f)
Run the specified reduction function over each event.
void ResetRVPInfo(caf::StandardRecord *sr)
float trkccE
Track length cc neutrino energy [GeV].
SRKalman kalman
Tracks produced by KalmanTrack.
unsigned int nshwlid
number of shwlid showers - either 0 or number of 3d prongs
SRVector3D boxmin
Minimum coordinates box containing all the hits [cm].
float ndhadcalcatE
Near detector – hadronic calorimetric energy NOT on the muon track in muon catcher [GeV]...
float trkqeE
Track length quasielastic neutrino energy [GeV].
float hadtrkE
Hadronic calorimetric energy on the muon track[GeV].
const Cut kNue2020NDDecafCut
void ClearHoughVertexInfo(caf::StandardRecord *sr)
void ClearMichelTruthInfo(caf::StandardRecord *sr)
float calE
Calorimetric energy of the cluster [GeV].
void AddEventCut(const Cut &cut)
Only copy records to the output file if they pass this cut.
Numu energy estimator output.
const Cut kNue2020FDDecafCut
SRVector3D vtx
Vertex position in detector coordinates. [cm].
short nnu
Number of neutrinos in nu vector (0 or 1)
float E
Neutrino energy, set to match trkccE [GeV].
An SRSlice contains overarching information for a slice.
unsigned int nhit
number of hits
virtual void Go() override
Load all the registered spectra.
SRBpfId bpfid
Output from the BreakPointFitter PID (BPFPIdMaker) package.
void ReduceForSignalDecaf(caf::StandardRecord *sr, const caf::SRProxy *srProxy)
unsigned int ncellsfromedge
minimum number of cells to edge of detector
const Cut kNumuUncontainNDDecafCut
The StandardRecord is the primary top-level object in the Common Analysis File trees.
void ResetBPFEnergy(caf::StandardRecord *sr)
float ndhadcaltranE
Near detector – hadronic calorimetric energy NOT on the muon track in transition plane [GeV]...
SRNumuEnergy numu
Numu energy estimator.
float ndtrkcalactE
Near detector – muon calorimetric energy in active region [GeV].
void ResetLEMInfo(caf::StandardRecord *sr)
float ndtrklencat
Near detector – muon track length in muon catcher [cm].
SRIDBranch sel
Selector (PID) branch.
SRElastic elastic
Single vertex found by Elastic Arms.
SRSlice slc
Slice branch: nhit, extents, time, etc.
SRTruthBranch mc
Truth branch for MC: energy, flavor, etc.
SRFuzzyK fuzzyk
Primary 3D prong object.
float recotrkcchadE
Reconstructed hadronic energy for track cc neutrino energy estimator [GeV].
void ResetLIDInfo(caf::StandardRecord *sr)
SRVector3D meanpos
Mean position of hits in slice, weighted by charge [cm].
SRParentBranch parent
True parent branch for matching, e.g. MRCC.
unsigned int ncontplanes
number of continuous planes
SRTrackBranch trk
Track branch: nhit, len, etc.
SREnergyBranch energy
Energy estimator branch.
SRTrackBase cosmic
Tracks produced by CosmicTrack.
std::vector< SRNeutrino > nu
implemented as a vector to maintain mc.nu structure, i.e. not a pointer, but with 0 or 1 entries...
std::vector< SRTrack > tracks
float hadcalE
Hadronic calorimetric energy NOT on the muon track[GeV].
void ClearMultiNuInfo(caf::StandardRecord *sr)
std::vector< SRKalmanTrack > tracks
3D Tracks produced by KalmanTrack
const Cut kNumuContainNDDecafCut
SRVertexBranch vtx
Vertex branch: location, time, etc.
SRXnue xnuepid
Output from BDT (XnuePID)