7 #include "art/Framework/Services/Registry/ServiceHandle.h"
37 #include "nusimdata/SimulationBase/MCParticle.h"
38 #include "nusimdata/SimulationBase/MCTruth.h"
48 const art::Ptr<recob::PFParticle> stubpfp,
50 bool allowEmpty =
false);
58 bool allowEmpty =
false);
62 bool allowEmpty =
false);
80 bool allowEmpty =
false);
84 bool allowEmpty =
false);
88 bool allowEmpty =
false);
92 bool allowEmpty =
false);
99 bool allowEmpty =
false);
106 bool allowEmpty =
false);
112 bool allowEmpty=
false);
116 bool allowEmpty =
false);
120 bool allowEmpty =
false);
125 bool allowEmpty =
false);
130 bool allowEmpty =
false);
136 bool allowEmpty =
false);
140 bool fill_calo_points,
float fillhit_rrstart,
float fillhit_rrend,
146 bool allowEmpty =
false);
150 bool allowEmpty =
false);
154 bool allowEmpty =
false);
158 bool fill_calo_points,
float fillhit_rrstart,
float fillhit_rrend,
161 bool allowEmpty =
false);
164 std::vector<caf::SRTrueInteraction> &srneutrinos);
166 const std::vector<caf::SRTrueInteraction> &srneutrinos,
170 uint64_t gate_start_timestamp,
173 bool allowEmpty =
false);
177 bool allowEmpty =
false);
182 bool allowEmpty =
false);
184 template<
class T,
class U>
void FillHitVars(const recob::Hit &hit, unsigned producer, const recob::SpacePoint &spacepoint, const recob::PFParticle &particle, caf::SRHit &srhit, bool allowEmpty)
void FillSliceVertex(const recob::Vertex *vertex, caf::SRSlice &slice, bool allowEmpty)
void FillCRTHit(const sbn::crt::CRTHit &hit, uint64_t gate_start_timestamp, bool use_ts0, caf::SRCRTHit &srhit, bool allowEmpty)
void FillShowerRazzle(const art::Ptr< sbn::MVAPID > razzle, caf::SRShower &srshower, bool allowEmpty)
void FillTrackCRTHit(const std::vector< art::Ptr< anab::T0 >> &t0match, caf::SRTrack &srtrack, bool allowEmpty)
void FillShowerResiduals(const std::vector< art::Ptr< float > > &residuals, caf::SRShower &srshower)
void FillSliceVars(const recob::Slice &slice, const recob::PFParticle *primary, unsigned producer, caf::SRSlice &srslice, bool allowEmpty)
void FillTrackRangeP(const recob::Track &track, const std::array< std::vector< art::Ptr< sbn::RangeP >>, 3 > &range_results, caf::SRTrack &srtrack, bool allowEmpty)
Declaration of signal hit object.
void FillShowerDensityFit(const sbn::ShowerDensityFit &densityFit, caf::SRShower &srshower)
void FillTrackCalo(const std::vector< art::Ptr< anab::Calorimetry >> &calos, const std::vector< art::Ptr< recob::Hit >> &hits, bool fill_calo_points, float fillhit_rrstart, float fillhit_rrend, const geo::GeometryCore *geom, const detinfo::DetectorPropertiesData &dprop, caf::SRTrack &srtrack, bool allowEmpty)
void FillTrackScatterClosestApproach(const art::Ptr< sbn::ScatterClosestApproach > closestapproach, caf::SRTrack &srtrack, bool allowEmpty)
process_name use argoneut_mc_hitfinder track
void FillShowerVars(const recob::Shower &shower, const recob::Vertex *vertex, const std::vector< art::Ptr< recob::Hit >> &hits, const geo::GeometryCore *geom, unsigned producer, caf::SRShower &srshower, bool allowEmpty)
void FillStubVars(const sbn::Stub &stub, const art::Ptr< recob::PFParticle > stubpfp, caf::SRStub &srstub, bool allowEmpty)
Optical Flash – a summary of multiple optical hits that have been determined to be associated...
Definition of vertex object for LArSoft.
Representation of a rb::Hit, knows hit amplitude and integral, geometric IDs, and time...
void FillTrackCRTTrack(const std::vector< art::Ptr< anab::T0 >> &t0match, caf::SRTrack &srtrack, bool allowEmpty)
bool SelectSlice(const caf::SRSlice &slice, bool cut_clear_cosmic)
process_name can override from command line with o or output calo
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
void FillTrackVars(const recob::Track &track, unsigned producer, caf::SRTrack &srtrack, bool allowEmpty)
void FillShowerTrackFit(const sbn::ShowerTrackFit &trackFit, caf::SRShower &srshower)
void FillSliceCRUMBS(const sbn::CRUMBSResult *crumbs, caf::SRSlice &slice, bool allowEmpty)
then echo ***************************************echo array
void FillTrackChi2PID(const std::vector< art::Ptr< anab::ParticleID >> particleIDs, const geo::GeometryCore *geom, caf::SRTrack &srtrack, bool allowEmpty)
Metadata associated to PFParticles.
void ApplyNumuCCMatching(std::vector< caf::StandardRecord > &recs, const std::vector< caf::SRTrueInteraction > &srneutrinos, unsigned truth_ind)
Track PID from dE/dx v. residual range Chi2.
void FillTrackStoppingChi2Fit(const art::Ptr< sbn::StoppingChi2Fit > stoppingChi2, caf::SRTrack &srtrack, bool allowEmpty)
Description of geometry of one entire detector.
An SRSlice contains overarching information for a slice.
void FillCRTTrack(const sbn::crt::CRTTrack &track, bool use_ts0, caf::SRCRTTrack &srtrack, bool allowEmpty)
void FillTrackPlaneCalo(const anab::Calorimetry &calo, const std::vector< art::Ptr< recob::Hit >> &hits, bool fill_calo_points, float fillhit_rrstart, float fillhit_rrend, const detinfo::DetectorPropertiesData &dprop, caf::SRTrackCalo &srcalo)
Provides recob::Track data product.
void FillOpFlash(const recob::OpFlash &flash, int cryo, caf::SROpFlash &srflash, bool allowEmpty)
void FillSliceMetadata(const larpandoraobj::PFParticleMetadata *primary_meta, caf::SRSlice &srslice, bool allowEmpty)
Hierarchical representation of particle flow.
void CopyPropertyIfSet(const std::map< std::string, T > &props, const std::string &search, U &value)
void FillPFPVars(const recob::PFParticle &particle, const recob::PFParticle *primary, const larpandoraobj::PFParticleMetadata *pfpMeta, caf::SRPFP &srpfp, bool allowEmpty)
void FillTrackDazzle(const art::Ptr< sbn::MVAPID > dazzle, caf::SRTrack &srtrack, bool allowEmpty)
void FillShowerCosmicDist(const std::vector< art::Ptr< float > > &cosmicDistVec, caf::SRShower &srshower)
void SetNuMuCCPrimary(std::vector< caf::StandardRecord > &recs, std::vector< caf::SRTrueInteraction > &srneutrinos)
2D representation of charge deposited in the TDC/wire plane
art framework interface to geometry description
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
Representation of a rb::PFParticle, with hierarchy and Pandora metadata.
void FillPlaneChi2PID(const anab::ParticleID &particle_id, caf::SRTrkChi2PID &srpid)
void FillTrackMCS(const recob::Track &track, const std::array< std::vector< art::Ptr< recob::MCSFitResult >>, 4 > &mcs_results, caf::SRTrack &srtrack, bool allowEmpty)