8 namespace rb{
class Cluster;
class Prong;
class FitSum;
class Shower;
class Track;
class Energy;}
9 namespace me{
class TrkME;
class SlcME;}
10 namespace bpfit{
class BPFPId;}
11 namespace cosrej{
class TrkCntObj;}
21 bool allowEmpty =
false);
24 std::vector<SRTrkME>*
vec,
26 const std::vector<rb::Cluster>& sliceList,
27 std::vector<cheat::TrackIDE>& allTracks,
28 std::vector<cheat::TrackIDE>& sliceTracks,
29 std::vector<cheat::TrackIDE>& allTracksBirks,
30 std::vector<cheat::TrackIDE>& sliceTracksBirks,
34 std::vector<SRSlcME>* vec,
35 const std::vector<rb::Cluster>& sliceList,
36 std::vector<cheat::TrackIDE>& allTracks,
37 std::vector<cheat::TrackIDE>& sliceTracks,
38 std::vector<cheat::TrackIDE>& allTracksBirks,
39 std::vector<cheat::TrackIDE>& sliceTracksBirks,
46 const std::vector<rb::Cluster>& sliceList,
47 std::vector<cheat::TrackIDE>& allTracks,
48 std::vector<cheat::TrackIDE>& sliceTracks,
49 std::vector<cheat::TrackIDE>& allTracksBirks,
50 std::vector<cheat::TrackIDE>& sliceTracksBirks,
52 SRMRProperties& srMR);
56 const std::vector<rb::Cluster>& sliceList,
57 std::vector<cheat::TrackIDE>& allTracks,
58 std::vector<cheat::TrackIDE>& sliceTracks,
59 std::vector<cheat::TrackIDE>& allTracksBirks,
60 std::vector<cheat::TrackIDE>& sliceTracksBirks,
67 const std::vector<rb::Cluster>& sliceList,
68 std::vector<cheat::TrackIDE>& allTracks,
69 std::vector<cheat::TrackIDE>& sliceTracks,
70 std::vector<cheat::TrackIDE>& allTracksBirks,
71 std::vector<cheat::TrackIDE>& sliceTracksBirks,
77 SRBpfTrack& srBpfTrk);
82 SRBpfTrack& srBpfTrk);
88 const std::vector<rb::Cluster>& sliceList,
89 std::vector<cheat::TrackIDE>& allTracks,
90 std::vector<cheat::TrackIDE>& sliceTracks,
91 std::vector<cheat::TrackIDE>& allTracksBirks,
92 std::vector<cheat::TrackIDE>& sliceTracksBirks,
97 const std::vector<rb::Cluster>& sliceList,
98 std::vector<cheat::TrackIDE>& allTracks,
99 std::vector<cheat::TrackIDE>& sliceTracks,
100 std::vector<cheat::TrackIDE>& allTracksBirks,
101 std::vector<cheat::TrackIDE>& sliceTracksBirks,
105 const std::vector<rb::Cluster>& sliceList,
106 std::vector<cheat::TrackIDE>& allTracks,
107 std::vector<cheat::TrackIDE>& sliceTracks,
108 std::vector<cheat::TrackIDE>& allTracksBirks,
109 std::vector<cheat::TrackIDE>& sliceTracksBirks,
110 int sliceIdx, SRMRProperties& srMR);
void FillTrackVars(const rb::Track &trk, SRTrack &srTrk, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx)
void FillTrackContainmentVars(const cosrej::TrkCntObj &trkcnt, SRTrack &srTrk)
Function to fill SRTrack containment information.
void FillNDRecoPngVars(const ndreco::NDRecoPngObj &pionreco, SRFuzzyKProng &srPng)
A collection of associated CellHits.
A rb::Prong with full reconstructed trajectory.
void FillNDRecoTrkVars(const ndreco::NDRecoTrkObj &pionreco, SRKalmanTrack &srTrk)
Functions to fill SRKalmanTrack pion energy reconstruction information.
void FillProngVars(const rb::Prong &prng, T &srPrng, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx)
void FillTrackVarsBpfPid(const bpfit::BPFPId &bpfpid, SRBpfTrack &srBpfTrk)
Track finder for cosmic rays.
void FillDiFVars(const rb::Cluster &slice, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx, SRMRProperties &srMR)
Perform a "2 point" Hough transform on a collection of hits.
An SRSlice contains overarching information for a slice.
void FillDiFShowerVars(const rb::Shower &shw, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx, SRMRProperties &srMR)
void FillTrackInfoVars(const trackinfo::TrackInfoObj &trkinfo, SRTrack &srTrk)
Function to fill additional SRTrack information.
void FillSliceVars(const rb::Cluster &slice, caf::SRSlice &srslice, bool allowEmpty)
void FillShowerVars(const rb::Shower &shw, caf::SRFuzzyKProng &srshw, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, const int &sliceIdx)
void FillTrackVarsBpfFitSum(const rb::FitSum &fitsum, SRBpfTrack &srBpfTrk)
Cosmic Rejection PIDs for Numu analysis.
void FillTrackVarsWithOverlapE(const rb::Track &trk, const rb::Energy &energy, SRTrack &srTrk, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx)
Function to fill SRTrack branch if overlapping energy object is present.
A Cluster with defined start position and direction.
bool IsTrueDiF(const rb::Cluster &slice)
Helper for FillDiFVars and FillDiFShowerVars.
A container for energy information.
void AddTrkMEToVec(const me::TrkME &michel, std::vector< SRTrkME > *vec, SRTrack &srTrk, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx)
void FillNDRecoBPFVars(const ndreco::NDRecoBpfObj &pionreco, SRBpfTrack &srTrk)
A rb::Prong with a length.
void AddSlcMEToVec(const me::SlcME &michel, std::vector< SRSlcME > *vec, const std::vector< rb::Cluster > &sliceList, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx)
This module creates Common Analysis Files.
produce variables useful to reconstruction pion energy
A container for kinematic information.