1 #ifndef SBNRECOSELECTIONUTILS_H
2 #define SBNRECOSELECTIONUTILS_H
13 #include "art/Framework/Principal/Event.h"
14 #include "fhiclcpp/ParameterSet.h"
15 #include "art/Framework/Principal/Handle.h"
16 #include "canvas/Persistency/Common/Ptr.h"
17 #include "canvas/Persistency/Common/PtrVector.h"
18 #include "canvas/Persistency/Common/FindManyP.h"
21 #include "nusimdata/SimulationBase/MCParticle.h"
22 #include "nusimdata/SimulationBase/MCTruth.h"
42 namespace SBNRecoUtils{
Declaration of signal hit object.
process_name use argoneut_mc_hitfinder track
double CalculateTrackLength(const core::ProviderManager &manager, const art::Ptr< recob::Track > track)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Interface to LArSoft services.
double TrackCompletion(const core::ProviderManager &manager, int mcparticle_id, const std::vector< art::Ptr< recob::Hit >> &reco_track_hits)
int TrueParticleIDFromTotalTrueEnergy(const core::ProviderManager &manager, const std::vector< art::Ptr< recob::Hit > > &hits, bool rollup_unsaved_ids=1)
bool IsInsideTPC(const core::ProviderManager &manager, TVector3 position, double distance_buffer)
int TrueParticleID(const core::ProviderManager &manager, const art::Ptr< recob::Hit > hit, bool rollup_unsaved_ids=1)
Provides recob::Track data product.
int TrueParticleIDFromTotalRecoHits(const core::ProviderManager &manager, const std::vector< art::Ptr< recob::Hit > > &hits, bool rollup_unsaved_ids=1)
art framework interface to geometry description
int TrueParticleIDFromTotalRecoCharge(const core::ProviderManager &manager, const std::vector< art::Ptr< recob::Hit > > &hits, bool rollup_unsaved_ids=1)