Public Member Functions | |
BackTrackerTruth (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
~BackTrackerTruth () | |
Destructor. More... | |
void | Rebuild (const art::Event &evt) override |
This rebuilds the internal maps, is a noop for this module since the BackTracker is a service and rebuilds its maps at begin run. More... | |
void | reconfigure (fhicl::ParameterSet const &pset) override |
const sim::ParticleList & | ParticleList () const override |
Get a reference to the ParticleList. More... | |
const simb::MCParticle * | TrackIDToParticle (int const id) const override |
const simb::MCParticle * | TrackIDToMotherParticle (int const id) const override |
const art::Ptr< simb::MCTruth > & | TrackIDToMCTruth (int const id) const override |
const art::Ptr< simb::MCTruth > & | ParticleToMCTruth (const simb::MCParticle *p) const override |
std::vector< const simb::MCParticle * > | MCTruthToParticles (art::Ptr< simb::MCTruth > const &mct) const override |
const std::vector< art::Ptr < simb::MCTruth > > & | MCTruthVector () const override |
std::vector< sim::TrackIDE > | HitToTrackID (detinfo::DetectorClocksData const &clockData, recob::Hit const &hit) const override |
std::vector< sim::TrackIDE > | HitToTrackID (detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > const &hit) const override |
std::vector< std::vector < art::Ptr< recob::Hit > > > | TrackIDsToHits (detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::Hit >> const &allhits, std::vector< int > const &tkIDs) const override |
std::vector< sim::TrackIDE > | HitToEveID (detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > const &hit) const override |
std::vector< double > | HitToXYZ (detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > const &hit) const override |
std::vector< double > | SpacePointToXYZ (detinfo::DetectorClocksData const &, art::Ptr< recob::SpacePoint > const &spt, art::Event const &evt, std::string const &label) const override |
std::vector< double > | SpacePointHitsToXYZ (detinfo::DetectorClocksData const &clockData, art::PtrVector< recob::Hit > const &hits) const override |
double | HitCollectionPurity (detinfo::DetectorClocksData const &clockData, std::set< int > const &trackIDs, std::vector< art::Ptr< recob::Hit > > const &hits) const override |
double | HitCollectionEfficiency (detinfo::DetectorClocksData const &clockData, std::set< int > const &trackIDs, std::vector< art::Ptr< recob::Hit > > const &hits, std::vector< art::Ptr< recob::Hit > > const &allhits, geo::View_t const view) const override |
double | HitChargeCollectionPurity (detinfo::DetectorClocksData const &clockData, std::set< int > const &trackIDs, std::vector< art::Ptr< recob::Hit > > const &hits) const override |
double | HitChargeCollectionEfficiency (detinfo::DetectorClocksData const &clockData, std::set< int > const &trackIDs, std::vector< art::Ptr< recob::Hit > > const &hits, std::vector< art::Ptr< recob::Hit > > const &allhits, geo::View_t const view) const override |
std::set< int > | GetSetOfEveIDs () const override |
std::set< int > | GetSetOfTrackIDs () const override |
std::set< int > | GetSetOfEveIDs (detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::Hit > > const &hits) const override |
std::set< int > | GetSetOfTrackIDs (detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::Hit > > const &hits) const override |
Public Member Functions inherited from truth::IMCTruthMatching | |
virtual | ~IMCTruthMatching () noexcept=default |
Virtual Destructor. More... | |
Private Attributes | |
art::InputTag | fTrackProducerLabel |
tag for finding the tracks More... | |
const geo::GeometryCore * | fGeometry |
pointer to Geometry service More... | |
Definition at line 41 of file BackTrackerTruth_tool.cc.
|
explicit |
Constructor.
pset | Constructor. |
Arguments:
pset - Fcl parameters.
Definition at line 171 of file BackTrackerTruth_tool.cc.
truth::BackTrackerTruth::~BackTrackerTruth | ( | ) |
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 292 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 306 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 299 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 314 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 352 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 331 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 341 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 322 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 257 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 235 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 242 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Get a reference to the ParticleList.
Implements truth::IMCTruthMatching.
Definition at line 199 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
|
inlineoverridevirtual |
This rebuilds the internal maps, is a noop for this module since the BackTracker is a service and rebuilds its maps at begin run.
Implements truth::IMCTruthMatching.
Definition at line 60 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Implements truth::IMCTruthMatching.
Definition at line 193 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 385 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 371 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 264 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 221 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 214 of file BackTrackerTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 207 of file BackTrackerTruth_tool.cc.
|
private |
pointer to Geometry service
Definition at line 161 of file BackTrackerTruth_tool.cc.
|
private |
tag for finding the tracks
Definition at line 158 of file BackTrackerTruth_tool.cc.