1 #ifndef CRTBACKTRACKER_H_SEEN
2 #define CRTBACKTRACKER_H_SEEN
13 #include "art/Framework/Principal/Event.h"
14 #include "art/Framework/Core/ModuleMacros.h"
15 #include "fhiclcpp/ParameterSet.h"
16 #include "art/Framework/Principal/Handle.h"
17 #include "canvas/Persistency/Common/Ptr.h"
18 #include "art/Framework/Services/Registry/ServiceHandle.h"
19 #include "messagefacility/MessageLogger/MessageLogger.h"
20 #include "canvas/Persistency/Common/FindManyP.h"
23 #include "messagefacility/MessageLogger/MessageLogger.h"
24 #include "fhiclcpp/ParameterSet.h"
25 #include "fhiclcpp/types/Atom.h"
56 Name(
"RollupUnsavedIds")
int TrueIdFromTrackId(const art::Event &event, int track_i)
std::vector< int > AllTrueIds(const art::Event &event, const sbnd::crt::CRTData &data)
fhicl::Atom< art::InputTag > CRTTrackLabel
art::InputTag fCRTDataLabel
process_name use argoneut_mc_hitfinder track
bool TrackCompare(const sbn::crt::CRTTrack &track1, const sbn::crt::CRTTrack &track2)
int TrueIdFromTotalEnergy(const art::Event &event, const sbnd::crt::CRTData &data)
int TrueIdFromHitId(const art::Event &event, int hit_i)
void Initialize(const art::Event &event)
void reconfigure(const Config &config)
object containing MC truth information necessary for making RawDigits and doing back tracking ...
fhicl::Atom< bool > RollupUnsavedIds
BEGIN_PROLOG vertical distance to the surface Name
art::InputTag fCRTTrackLabel
bool HitCompare(const sbn::crt::CRTHit &hit1, const sbn::crt::CRTHit &hit2)
std::map< int, std::map< int, double > > fTrackTrueIds
CRTBackTracker(const fhicl::ParameterSet &pset)
fhicl::Atom< art::InputTag > CRTDataLabel
std::map< int, std::map< int, double > > fDataTrueIds
std::map< int, std::map< int, double > > fHitTrueIds
stream1 can override from command line with o or output services user sbnd
art::InputTag fCRTHitLabel
fhicl::Atom< art::InputTag > CRTHitLabel
CRTBackTracker(const Config &config)
bool DataCompare(const sbnd::crt::CRTData &data1, const sbnd::crt::CRTData &data2)
int TrueIdFromDataId(const art::Event &event, int data_i)