Public Member Functions | |
AssociationsTruth (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
~AssociationsTruth () | |
Destructor. More... | |
void | reconfigure (fhicl::ParameterSet const &pset) override |
void | Rebuild (const art::Event &evt) override |
This rebuilds the internal maps. More... | |
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 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 &, recob::Hit const &hit) const override |
std::vector< sim::TrackIDE > | HitToTrackID (detinfo::DetectorClocksData const &, 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 &, art::Ptr< recob::Hit > const &hit) const override |
std::vector< double > | SpacePointToXYZ (detinfo::DetectorClocksData const &clockData, 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 &, std::set< int > const &trackIDs, std::vector< art::Ptr< recob::Hit > > const &hits) const override |
double | HitCollectionEfficiency (detinfo::DetectorClocksData const &, 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 &, std::set< int > const &trackIDs, std::vector< art::Ptr< recob::Hit > > const &hits) const override |
double | HitChargeCollectionEfficiency (detinfo::DetectorClocksData const &, 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 &, 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 | |
std::vector< art::InputTag > | fAssnsProducerLabels |
tag for finding the tracks More... | |
art::InputTag | fG4ProducerLabel |
Input tag for G4 producer (MCParticle/MCTruth) More... | |
MCTruthAssociations | fMCTruthAssociations |
The class that does the work. More... | |
sim::ParticleList | fParticleList |
const geo::GeometryCore * | fGeometry |
pointer to Geometry service More... | |
Definition at line 47 of file AssociationsTruth_tool.cc.
|
explicit |
Constructor.
pset | Constructor. |
Arguments:
pset - Fcl parameters.
Definition at line 183 of file AssociationsTruth_tool.cc.
truth::AssociationsTruth::~AssociationsTruth | ( | ) |
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 346 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 358 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 352 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 365 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 399 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 380 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 389 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 372 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 332 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 300 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 314 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 409 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 288 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 294 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Get a reference to the ParticleList.
Implements truth::IMCTruthMatching.
Definition at line 269 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 282 of file AssociationsTruth_tool.cc.
|
overridevirtual |
This rebuilds the internal maps.
Rebuild method -> rebuild the basic maps to get truth information
Arguments:
event - the art event used to extract all information
Implements truth::IMCTruthMatching.
Definition at line 219 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Implements truth::IMCTruthMatching.
Definition at line 206 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 435 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 416 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 321 of file AssociationsTruth_tool.cc.
|
overridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 276 of file AssociationsTruth_tool.cc.
|
inlineoverridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 81 of file AssociationsTruth_tool.cc.
|
inlineoverridevirtual |
Implements truth::IMCTruthMatching.
Definition at line 80 of file AssociationsTruth_tool.cc.
|
private |
tag for finding the tracks
Definition at line 163 of file AssociationsTruth_tool.cc.
|
private |
Input tag for G4 producer (MCParticle/MCTruth)
Definition at line 164 of file AssociationsTruth_tool.cc.
|
private |
pointer to Geometry service
Definition at line 173 of file AssociationsTruth_tool.cc.
|
private |
The class that does the work.
Definition at line 167 of file AssociationsTruth_tool.cc.
|
private |
Definition at line 170 of file AssociationsTruth_tool.cc.