LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "old.PhotonBackTracker.h"
Classes | |
struct | fhiclConfig |
Public Member Functions | |
PhotonBackTracker (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~PhotonBackTracker () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | Rebuild (const art::Event &evt) |
const sim::ParticleList & | ParticleList () const |
void | SetEveIdCalculator (sim::EveIdCalculator *ec) |
const simb::MCParticle * | TrackIDToParticle (int const &id) const |
const simb::MCParticle * | TrackIDToMotherParticle (int const &id) const |
std::vector< sim::SDP > | TrackIDToSimSDP (int const &id) const |
const art::Ptr< simb::MCTruth > & | TrackIDToMCTruth (int const &id) const |
const art::Ptr< simb::MCTruth > & | ParticleToMCTruth (const simb::MCParticle *p) const |
std::vector< const simb::MCParticle * > | MCTruthToParticles (art::Ptr< simb::MCTruth > const &mct) const |
const std::vector< art::Ptr< simb::MCTruth > > & | MCTruthVector () const |
DEPRECATED std::vector< sim::TrackSDP > | OpHitToTrackID (art::Ptr< recob::OpHit > const &hit) |
std::vector< sim::TrackSDP > | OpHitToTrackSDPs (art::Ptr< recob::OpHit > const &hit) |
const std::vector< std::vector< art::Ptr< recob::OpHit > > > | TrackIDsToOpHits (std::vector< art::Ptr< recob::OpHit >> const &allhits, std::vector< int > const &tkIDs) |
std::vector< sim::TrackSDP > | OpHitToEveSDPs (art::Ptr< recob::OpHit > const &hit) |
std::vector< sim::TrackSDP > | OpHitToEveID (art::Ptr< recob::OpHit > const &hit) |
std::vector< double > | SimSDPsToXYZ (std::vector< sim::SDP > const &sdps) |
std::vector< double > | OpHitToXYZ (art::Ptr< recob::OpHit > const &hit) |
double | OpHitCollectionPurity (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits) |
double | OpHitCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits) |
double | OpHitCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits, geo::View_t const &view) |
double | OpHitChargeCollectionPurity (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits) |
double | OpHitChargeCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits) |
double | OpHitChargeCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits, geo::View_t const &view) |
std::set< int > | GetSetOfEveIDs () |
std::set< int > | GetSetOfTrackIDs () |
std::set< int > | GetSetOfEveIDs (std::vector< art::Ptr< recob::OpHit >> const &hits) |
std::set< int > | GetSetOfTrackIDs (std::vector< art::Ptr< recob::OpHit >> const &hits) |
const std::vector< art::Ptr< sim::OpDetBacktrackerRecord > > & | OpDetBacktrackerRecords () const |
void | ChannelToTrackSDPs (std::vector< sim::TrackSDP > &trackSDPs, int channel, const double hit_start_time, const double hit_end_time) |
PhotonBackTracker (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~PhotonBackTracker () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | Rebuild (const art::Event &evt) |
const sim::ParticleList & | ParticleList () const |
void | SetEveIdCalculator (sim::EveIdCalculator *ec) |
const simb::MCParticle * | TrackIDToParticle (int const &id) const |
const simb::MCParticle * | TrackIDToMotherParticle (int const &id) const |
std::vector< sim::SDP > | TrackIDToSimSDP (int const &id) const |
const art::Ptr< simb::MCTruth > & | TrackIDToMCTruth (int const &id) const |
const art::Ptr< simb::MCTruth > & | ParticleToMCTruth (const simb::MCParticle *p) const |
std::vector< const simb::MCParticle * > | MCTruthToParticles (art::Ptr< simb::MCTruth > const &mct) const |
const std::vector< art::Ptr< simb::MCTruth > > & | MCTruthVector () const |
DEPRECATED std::vector< sim::TrackSDP > | OpHitToTrackID (art::Ptr< recob::OpHit > const &hit) |
std::vector< sim::TrackSDP > | OpHitToTrackSDPs (art::Ptr< recob::OpHit > const &hit) |
const std::vector< std::vector< art::Ptr< recob::OpHit > > > | TrackIDsToOpHits (std::vector< art::Ptr< recob::OpHit >> const &allhits, std::vector< int > const &tkIDs) |
std::vector< sim::TrackSDP > | OpHitToEveSDPs (art::Ptr< recob::OpHit > const &hit) |
std::vector< sim::TrackSDP > | OpHitToEveID (art::Ptr< recob::OpHit > const &hit) |
std::vector< double > | SimSDPsToXYZ (std::vector< sim::SDP > const &sdps) |
std::vector< double > | OpHitToXYZ (art::Ptr< recob::OpHit > const &hit) |
double | OpHitCollectionPurity (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits) |
double | OpHitCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits) |
double | OpHitCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits, geo::View_t const &view) |
double | OpHitChargeCollectionPurity (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits) |
double | OpHitChargeCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits) |
double | OpHitChargeCollectionEfficiency (std::set< int > trackIDs, std::vector< art::Ptr< recob::OpHit >> const &hits, std::vector< art::Ptr< recob::OpHit >> const &allhits, geo::View_t const &view) |
std::set< int > | GetSetOfEveIDs () |
std::set< int > | GetSetOfTrackIDs () |
std::set< int > | GetSetOfEveIDs (std::vector< art::Ptr< recob::OpHit >> const &hits) |
std::set< int > | GetSetOfTrackIDs (std::vector< art::Ptr< recob::OpHit >> const &hits) |
const std::vector< art::Ptr< sim::OpDetBacktrackerRecord > > & | OpDetBacktrackerRecords () const |
void | ChannelToTrackSDPs (std::vector< sim::TrackSDP > &trackSDPs, int channel, const double hit_start_time, const double hit_end_time) |
PhotonBackTracker (fhiclConfig const &config, const cheat::ParticleInventory *partInv, const geo::GeometryCore *geom) | |
PhotonBackTracker (fhicl::ParameterSet const &pSet, const cheat::ParticleInventory *partInv, const geo::GeometryCore *geom) | |
PhotonBackTracker (PhotonBackTracker const &)=delete | |
template<typename Evt > | |
void | PrepEvent (Evt const &evt) |
template<typename Evt > | |
const bool | CanRun (Evt const &evt) |
template<typename Evt > | |
void | PrepOpDetBTRs (Evt const &evt) |
template<typename Evt > | |
void | PrepOpFlashToOpHits (Evt const &evt) |
const std::vector< art::Ptr< recob::OpHit > > | OpFlashToOpHits_Ps (art::Ptr< recob::OpFlash > &flash_P) const |
const std::vector< double > | OpFlashToXYZ (art::Ptr< recob::OpFlash > &flash_P) const |
const std::set< int > | OpFlashToTrackIds (art::Ptr< recob::OpFlash > &flash_P) const |
const double | GetDelay () |
void | ClearEvent () |
const bool | BTRsReady () |
const bool | OpFlashToOpHitsReady () |
std::vector< art::Ptr< sim::OpDetBacktrackerRecord > > const & | OpDetBTRs () |
const std::vector< const sim::SDP * > | TrackIdToSimSDPs_Ps (int const &id) |
const std::vector< const sim::SDP * > | TrackIdToSimSDPs_Ps (int const &id, geo::View_t const &view) |
const art::Ptr< sim::OpDetBacktrackerRecord > | FindOpDetBTR (int const &opDetNum) const |
const std::vector< sim::TrackSDP > | OpDetToTrackSDPs (int const &OpDetNum, double const &opHit_start_time, double const &opHit_end_time) const |
const std::vector< sim::TrackSDP > | OpHitToTrackSDPs (art::Ptr< recob::OpHit > const &opHit_P) const |
const std::vector< sim::TrackSDP > | OpHitToTrackSDPs (recob::OpHit const &opHit) const |
const std::vector< int > | OpHitToTrackIds (recob::OpHit const &opHit) const |
const std::vector< int > | OpHitToTrackIds (art::Ptr< recob::OpHit > const &opHit) const |
const std::vector< int > | OpHitToEveTrackIds (recob::OpHit const &opHit) |
const std::vector< int > | OpHitToEveTrackIds (art::Ptr< recob::OpHit > const &opHit_P) |
const std::vector< sim::TrackSDP > | OpHitToEveTrackSDPs (art::Ptr< recob::OpHit > const &opHit_P) const |
const std::vector< sim::TrackSDP > | OpHitToEveTrackSDPs (recob::OpHit const &opHit) const |
const std::vector< art::Ptr< recob::OpHit > > | TrackIdToOpHits_Ps (int const &tkId, std::vector< art::Ptr< recob::OpHit >> const &hitsIn) |
const std::vector< std::vector< art::Ptr< recob::OpHit > > > | TrackIdsToOpHits_Ps (std::vector< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &hitsIn) |
const std::vector< const sim::SDP * > | OpHitToSimSDPs_Ps (recob::OpHit const &opHit) const |
const std::vector< const sim::SDP * > | OpHitToSimSDPs_Ps (art::Ptr< recob::OpHit > const &opHit_P) const |
const std::vector< const sim::SDP * > | OpHitsToSimSDPs_Ps (std::vector< art::Ptr< recob::OpHit >> const &opHits_Ps) const |
const std::vector< double > | SimSDPsToXYZ (std::vector< sim::SDP > const &sdps) const & |
const std::vector< double > | SimSDPsToXYZ (std::vector< const sim::SDP * > const &sdps_Ps) const & |
const std::vector< double > | OpHitToXYZ (art::Ptr< recob::OpHit > const &opHit) |
const std::vector< double > | OpHitToXYZ (recob::OpHit const &opHit) |
const std::vector< double > | OpHitsToXYZ (std::vector< art::Ptr< recob::OpHit >> const &opHits_Ps) const |
const std::unordered_set< const sim::SDP * > | OpHitToEveSimSDPs_Ps (recob::OpHit const &opHit) |
const std::unordered_set< const sim::SDP * > | OpHitToEveSimSDPs_Ps (art::Ptr< recob::OpHit > &opHit_P) |
const std::set< int > | GetSetOfEveIds () const |
const std::set< int > | GetSetOfTrackIds () const |
const std::set< int > | GetSetOfEveIds (std::vector< art::Ptr< recob::OpHit >> const &opHits) const |
const std::set< int > | GetSetOfEveIds (std::vector< recob::OpHit > const &opHits) const |
const std::set< int > | GetSetOfTrackIds (std::vector< art::Ptr< recob::OpHit >> const &opHits) const |
const std::set< int > | GetSetOfTrackIds (std::vector< recob::OpHit > const &opHits) const |
const double | OpHitCollectionPurity (std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &opHits) |
const double | OpHitLightCollectionPurity (std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &opHits) |
const double | OpHitCollectionEfficiency (std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &opHits, std::vector< art::Ptr< recob::OpHit >> const &opHitsIn) |
const double | OpHitCollectionEfficiency (std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &opHits, std::vector< art::Ptr< recob::OpHit >> const &opHitsIn, geo::View_t const &view) |
const double | OpHitLightCollectionEfficiency (std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &opHits, std::vector< art::Ptr< recob::OpHit >> const &opHitsIn) |
const double | OpHitLightCollectionEfficiency (std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit >> const &opHits, std::vector< art::Ptr< recob::OpHit >> const &opHitsIn, geo::View_t const &view) |
void | OpHitToSDPs (recob::OpHit const &hit, std::vector< sim::SDP > &sdps) const |
DEPRECATED void | OpHitToSimSDPs (recob::OpHit const &hit, std::vector< sim::SDP > &sdps) const |
void | OpHitToSDPs (art::Ptr< recob::OpHit > const &hit, std::vector< sim::SDP > &sdps) const |
DEPRECATED void | OpHitToSimSDPs (art::Ptr< recob::OpHit > const &hit, std::vector< sim::SDP > &sdps) const |
void | OpHitToSDPs (recob::OpHit const &hit, std::vector< sim::SDP > &sdps) const |
DEPRECATED void | OpHitToSimSDPs (recob::OpHit const &hit, std::vector< sim::SDP > &sdps) const |
void | OpHitToSDPs (art::Ptr< recob::OpHit > const &hit, std::vector< sim::SDP > &sdps) const |
DEPRECATED void | OpHitToSimSDPs (art::Ptr< recob::OpHit > const &hit, std::vector< sim::SDP > &sdps) const |
Private Member Functions | |
const art::Ptr< sim::OpDetBacktrackerRecord > | FindOpDetBacktrackerRecord (int channel) const |
const void | shouldThisFail () const |
const art::Ptr< sim::OpDetBacktrackerRecord > | FindOpDetBacktrackerRecord (int channel) const |
const void | shouldThisFail () const |
Definition at line 43 of file old.PhotonBackTracker.h.
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
cheat::PhotonBackTracker::~PhotonBackTracker | ( | ) |
Definition at line 41 of file old.PhotonBackTracker_service.cc.
References fDelay, fG4ModuleLabel, fMinOpHitEnergyFraction, fhicl::ParameterSet::get(), have_complained, and reconfigure().
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
cheat::PhotonBackTracker::~PhotonBackTracker | ( | ) |
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhiclConfig const & | config, |
const cheat::ParticleInventory * | partInv, | ||
const geo::GeometryCore * | geom | ||
) |
Definition at line 35 of file PhotonBackTracker.cc.
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhicl::ParameterSet const & | pSet, |
const cheat::ParticleInventory * | partInv, | ||
const geo::GeometryCore * | geom | ||
) |
Definition at line 54 of file PhotonBackTracker.cc.
References fMinOpHitEnergyFraction, fOpFlashLabel, and fOpHitLabel.
|
delete |
const bool cheat::PhotonBackTracker::BTRsReady | ( | ) |
Definition at line 84 of file PhotonBackTracker.cc.
References priv_OpDetBTRs.
const bool cheat::PhotonBackTracker::CanRun | ( | Evt const & | evt | ) |
Referenced by cheat::PhotonBackTrackerService::priv_CanRun().
void cheat::PhotonBackTracker::ChannelToTrackSDPs | ( | std::vector< sim::TrackSDP > & | trackSDPs, |
int | channel, | ||
const double | hit_start_time, | ||
const double | hit_end_time | ||
) |
void cheat::PhotonBackTracker::ChannelToTrackSDPs | ( | std::vector< sim::TrackSDP > & | trackSDPs, |
int | channel, | ||
const double | hit_start_time, | ||
const double | hit_end_time | ||
) |
Definition at line 660 of file old.PhotonBackTracker_service.cc.
References e, sim::TrackSDP::energy, energy, sim::TrackSDP::energyFrac, FindOpDetBacktrackerRecord(), geom, sim::NoParticleId, geo::GeometryCore::OpDetFromOpChannel(), shouldThisFail(), sim::TrackSDP::trackID, and sim::OpDetBacktrackerRecord::TrackIDsAndEnergies().
Referenced by GetSetOfTrackIDs(), OpDetBacktrackerRecords(), OpHitToTrackSDPs(), and TrackIDsToOpHits().
void cheat::PhotonBackTracker::ClearEvent | ( | ) |
Definition at line 77 of file PhotonBackTracker.cc.
References priv_OpDetBTRs, and priv_OpFlashToOpHits.
Referenced by cheat::PhotonBackTrackerService::priv_PrepEvent().
|
private |
|
private |
Definition at line 639 of file old.PhotonBackTracker_service.cc.
References cOpDetBacktrackerRecords, sc, and shouldThisFail().
Referenced by ChannelToTrackSDPs(), OpDetBacktrackerRecords(), and OpHitToSDPs().
const art::Ptr< sim::OpDetBacktrackerRecord > cheat::PhotonBackTracker::FindOpDetBTR | ( | int const & | opDetNum | ) | const |
Definition at line 128 of file PhotonBackTracker.cc.
References priv_OpDetBTRs, and sc.
Referenced by cheat::PhotonBackTrackerService::FindOpDetBTR(), OpDetToTrackSDPs(), and OpHitToSimSDPs_Ps().
const double cheat::PhotonBackTracker::GetDelay | ( | ) |
Definition at line 71 of file PhotonBackTracker.cc.
References fDelay.
Referenced by cheat::PhotonBackTrackerService::GetDelay().
std::set< int > cheat::PhotonBackTracker::GetSetOfEveIDs | ( | ) |
Definition at line 371 of file old.PhotonBackTracker_service.cc.
References sim::ParticleList::begin(), sim::ParticleList::end(), sim::ParticleList::EveId(), fParticleList, and shouldThisFail().
Referenced by OpHitToSimSDPs().
std::set<int> cheat::PhotonBackTracker::GetSetOfEveIDs | ( | ) |
std::set<int> cheat::PhotonBackTracker::GetSetOfEveIDs | ( | std::vector< art::Ptr< recob::OpHit >> const & | hits | ) |
std::set< int > cheat::PhotonBackTracker::GetSetOfEveIDs | ( | std::vector< art::Ptr< recob::OpHit >> const & | hits | ) |
Definition at line 400 of file old.PhotonBackTracker_service.cc.
References OpHitToEveID(), and shouldThisFail().
const std::set< int > cheat::PhotonBackTracker::GetSetOfEveIds | ( | ) | const |
Definition at line 508 of file PhotonBackTracker.cc.
References fPartInv, and cheat::ParticleInventory::GetSetOfEveIds().
Referenced by cheat::PhotonBackTrackerService::GetSetOfEveIds().
const std::set< int > cheat::PhotonBackTracker::GetSetOfEveIds | ( | std::vector< art::Ptr< recob::OpHit >> const & | opHits | ) | const |
Definition at line 522 of file PhotonBackTracker.cc.
References OpHitToEveTrackSDPs().
const std::set< int > cheat::PhotonBackTracker::GetSetOfEveIds | ( | std::vector< recob::OpHit > const & | opHits | ) | const |
Definition at line 536 of file PhotonBackTracker.cc.
References OpHitToEveTrackSDPs().
std::set<int> cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | ) |
std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | ) |
Definition at line 388 of file old.PhotonBackTracker_service.cc.
References fParticleList, and shouldThisFail().
Referenced by OpHitToSimSDPs(), and Rebuild().
std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | std::vector< art::Ptr< recob::OpHit >> const & | hits | ) |
Definition at line 422 of file old.PhotonBackTracker_service.cc.
References ChannelToTrackSDPs(), util::end(), fDelay, and shouldThisFail().
std::set<int> cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | std::vector< art::Ptr< recob::OpHit >> const & | hits | ) |
const std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIds | ( | ) | const |
Definition at line 516 of file PhotonBackTracker.cc.
References fPartInv, and cheat::ParticleInventory::GetSetOfTrackIds().
Referenced by cheat::PhotonBackTrackerService::GetSetOfTrackIds().
const std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIds | ( | std::vector< art::Ptr< recob::OpHit >> const & | opHits | ) | const |
Definition at line 550 of file PhotonBackTracker.cc.
References OpHitToTrackSDPs().
const std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIds | ( | std::vector< recob::OpHit > const & | opHits | ) | const |
Definition at line 563 of file PhotonBackTracker.cc.
References OpHitToTrackSDPs().
std::vector<const simb::MCParticle*> cheat::PhotonBackTracker::MCTruthToParticles | ( | art::Ptr< simb::MCTruth > const & | mct | ) | const |
std::vector< const simb::MCParticle * > cheat::PhotonBackTracker::MCTruthToParticles | ( | art::Ptr< simb::MCTruth > const & | mct | ) | const |
Definition at line 256 of file old.PhotonBackTracker_service.cc.
References fParticleList, shouldThisFail(), and TrackIDToMCTruth().
Referenced by SetEveIdCalculator().
|
inline |
Definition at line 77 of file old.PhotonBackTracker.h.
References fMCTruthList.
|
inline |
Definition at line 77 of file old.PhotonBackTrackerService.h.
References fMCTruthList.
|
inline |
Definition at line 169 of file old.PhotonBackTrackerService.h.
References ChannelToTrackSDPs(), cOpDetBacktrackerRecords, DECLARE_ART_SERVICE, fDelay, fG4ModuleLabel, FindOpDetBacktrackerRecord(), fMCTruthList, fMinOpHitEnergyFraction, fParticleList, fTrackIDToMCTruthIndex, fVoxelList, geom, have_complained, and shouldThisFail().
|
inline |
Definition at line 169 of file old.PhotonBackTracker.h.
References ChannelToTrackSDPs(), and cOpDetBacktrackerRecords.
const std::vector< art::Ptr< sim::OpDetBacktrackerRecord > > & cheat::PhotonBackTracker::OpDetBTRs | ( | ) |
Definition at line 96 of file PhotonBackTracker.cc.
References priv_OpDetBTRs.
Referenced by cheat::PhotonBackTrackerService::OpDetBTRs().
const std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpDetToTrackSDPs | ( | int const & | OpDetNum, |
double const & | opHit_start_time, | ||
double const & | opHit_end_time | ||
) | const |
Definition at line 144 of file PhotonBackTracker.cc.
References util::abs(), e, energy, sim::TrackSDP::energy, sim::TrackSDP::energyFrac, FindOpDetBTR(), sim::NoParticleId, sim::TrackSDP::trackID, and sim::OpDetBacktrackerRecord::TrackIDsAndEnergies().
Referenced by cheat::PhotonBackTrackerService::OpDetToTrackSDPs(), OpHitToTrackSDPs(), and TrackIdsToOpHits_Ps().
const std::vector< art::Ptr< recob::OpHit > > cheat::PhotonBackTracker::OpFlashToOpHits_Ps | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
Definition at line 748 of file PhotonBackTracker.cc.
References priv_OpFlashToOpHits.
Referenced by cheat::PhotonBackTrackerService::OpFlashToOpHits_Ps(), OpFlashToTrackIds(), and OpFlashToXYZ().
const bool cheat::PhotonBackTracker::OpFlashToOpHitsReady | ( | ) |
Definition at line 90 of file PhotonBackTracker.cc.
References priv_OpFlashToOpHits.
const std::set< int > cheat::PhotonBackTracker::OpFlashToTrackIds | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
Definition at line 767 of file PhotonBackTracker.cc.
References OpFlashToOpHits_Ps(), and OpHitToTrackIds().
Referenced by cheat::PhotonBackTrackerService::OpFlashToTrackIds().
const std::vector< double > cheat::PhotonBackTracker::OpFlashToXYZ | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
Definition at line 758 of file PhotonBackTracker.cc.
References OpFlashToOpHits_Ps(), and OpHitsToXYZ().
Referenced by cheat::PhotonBackTrackerService::OpFlashToXYZ().
double cheat::PhotonBackTracker::OpHitChargeCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits | ||
) |
Definition at line 575 of file old.PhotonBackTracker_service.cc.
References recob::OpHit::Area(), e, fMinOpHitEnergyFraction, OpHitToTrackSDPs(), and shouldThisFail().
Referenced by OpHitToSimSDPs().
double cheat::PhotonBackTracker::OpHitChargeCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits | ||
) |
double cheat::PhotonBackTracker::OpHitChargeCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits, | ||
geo::View_t const & | view | ||
) |
double cheat::PhotonBackTracker::OpHitChargeCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits, | ||
geo::View_t const & | view | ||
) |
Definition at line 566 of file old.PhotonBackTracker_service.cc.
double cheat::PhotonBackTracker::OpHitChargeCollectionPurity | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits | ||
) |
Definition at line 482 of file old.PhotonBackTracker_service.cc.
References recob::OpHit::Area(), e, OpHitToTrackSDPs(), and shouldThisFail().
Referenced by OpHitToSimSDPs().
double cheat::PhotonBackTracker::OpHitChargeCollectionPurity | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits | ||
) |
double cheat::PhotonBackTracker::OpHitCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits | ||
) |
Definition at line 523 of file old.PhotonBackTracker_service.cc.
References e, fMinOpHitEnergyFraction, OpHitToTrackSDPs(), and shouldThisFail().
Referenced by cheat::PhotonBackTrackerService::OpHitCollectionEfficiency(), and OpHitToSimSDPs().
double cheat::PhotonBackTracker::OpHitCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits | ||
) |
double cheat::PhotonBackTracker::OpHitCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits, | ||
geo::View_t const & | view | ||
) |
Definition at line 513 of file old.PhotonBackTracker_service.cc.
double cheat::PhotonBackTracker::OpHitCollectionEfficiency | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | allhits, | ||
geo::View_t const & | view | ||
) |
const double cheat::PhotonBackTracker::OpHitCollectionEfficiency | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | opHits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | opHitsIn | ||
) |
Definition at line 644 of file PhotonBackTracker.cc.
References e, fMinOpHitEnergyFraction, and OpHitToTrackSDPs().
const double cheat::PhotonBackTracker::OpHitCollectionEfficiency | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | opHits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | opHitsIn, | ||
geo::View_t const & | view | ||
) |
Definition at line 633 of file PhotonBackTracker.cc.
double cheat::PhotonBackTracker::OpHitCollectionPurity | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits | ||
) |
Definition at line 455 of file old.PhotonBackTracker_service.cc.
References e, OpHitToTrackSDPs(), and shouldThisFail().
Referenced by cheat::PhotonBackTrackerService::OpHitCollectionPurity(), and OpHitToSimSDPs().
double cheat::PhotonBackTracker::OpHitCollectionPurity | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit >> const & | hits | ||
) |
const double cheat::PhotonBackTracker::OpHitCollectionPurity | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | opHits | ||
) |
Definition at line 576 of file PhotonBackTracker.cc.
References e, and OpHitToTrackSDPs().
const double cheat::PhotonBackTracker::OpHitLightCollectionEfficiency | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | opHits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | opHitsIn | ||
) |
Definition at line 697 of file PhotonBackTracker.cc.
References recob::OpHit::Area(), e, fMinOpHitEnergyFraction, and OpHitToTrackSDPs().
Referenced by cheat::PhotonBackTrackerService::OpHitLightCollectionEfficiency().
const double cheat::PhotonBackTracker::OpHitLightCollectionEfficiency | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | opHits, | ||
std::vector< art::Ptr< recob::OpHit >> const & | opHitsIn, | ||
geo::View_t const & | view | ||
) |
Definition at line 686 of file PhotonBackTracker.cc.
const double cheat::PhotonBackTracker::OpHitLightCollectionPurity | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | opHits | ||
) |
Definition at line 603 of file PhotonBackTracker.cc.
References recob::OpHit::Area(), e, and OpHitToTrackSDPs().
Referenced by cheat::PhotonBackTrackerService::OpHitLightCollectionPurity().
const std::vector< const sim::SDP * > cheat::PhotonBackTracker::OpHitsToSimSDPs_Ps | ( | std::vector< art::Ptr< recob::OpHit >> const & | opHits_Ps | ) | const |
Definition at line 458 of file PhotonBackTracker.cc.
References OpHitToSimSDPs_Ps().
Referenced by OpHitsToXYZ().
const std::vector< double > cheat::PhotonBackTracker::OpHitsToXYZ | ( | std::vector< art::Ptr< recob::OpHit >> const & | opHits_Ps | ) | const |
Definition at line 470 of file PhotonBackTracker.cc.
References OpHitsToSimSDPs_Ps(), and SimSDPsToXYZ().
Referenced by OpFlashToXYZ().
std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToEveID | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 361 of file old.PhotonBackTracker_service.cc.
References OpHitToEveSDPs().
Referenced by GetSetOfEveIDs(), and OpHitToTrackID().
std::vector<sim::TrackSDP> cheat::PhotonBackTracker::OpHitToEveID | ( | art::Ptr< recob::OpHit > const & | hit | ) |
std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToEveSDPs | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 333 of file old.PhotonBackTracker_service.cc.
References sim::TrackSDP::energy, sim::TrackSDP::energyFrac, sim::ParticleList::EveId(), fParticleList, OpHitToTrackSDPs(), shouldThisFail(), and sim::TrackSDP::trackID.
Referenced by OpHitToEveID(), and OpHitToTrackID().
std::vector<sim::TrackSDP> cheat::PhotonBackTracker::OpHitToEveSDPs | ( | art::Ptr< recob::OpHit > const & | hit | ) |
const std::unordered_set< const sim::SDP * > cheat::PhotonBackTracker::OpHitToEveSimSDPs_Ps | ( | recob::OpHit const & | opHit | ) |
Definition at line 478 of file PhotonBackTracker.cc.
References OpHitToEveTrackIds(), and TrackIdToSimSDPs_Ps().
Referenced by cheat::PhotonBackTrackerService::OpHitToEveSimSDPs_Ps().
const std::unordered_set< const sim::SDP * > cheat::PhotonBackTracker::OpHitToEveSimSDPs_Ps | ( | art::Ptr< recob::OpHit > & | opHit_P | ) |
Definition at line 493 of file PhotonBackTracker.cc.
References OpHitToEveTrackIds(), and TrackIdToSimSDPs_Ps().
const std::vector< int > cheat::PhotonBackTracker::OpHitToEveTrackIds | ( | recob::OpHit const & | opHit | ) |
Definition at line 218 of file PhotonBackTracker.cc.
References OpHitToEveTrackSDPs().
Referenced by OpHitToEveSimSDPs_Ps(), cheat::PhotonBackTrackerService::OpHitToEveTrackIds(), and OpHitToEveTrackIds().
const std::vector< int > cheat::PhotonBackTracker::OpHitToEveTrackIds | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) |
Definition at line 228 of file PhotonBackTracker.cc.
References OpHitToEveTrackIds().
const std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToEveTrackSDPs | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) | const |
Definition at line 235 of file PhotonBackTracker.cc.
Referenced by GetSetOfEveIds(), OpHitToEveTrackIds(), and cheat::PhotonBackTrackerService::OpHitToEveTrackSDPs().
const std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToEveTrackSDPs | ( | recob::OpHit const & | opHit | ) | const |
Definition at line 242 of file PhotonBackTracker.cc.
References sim::TrackSDP::energy, sim::TrackSDP::energyFrac, fPartInv, OpHitToTrackSDPs(), cheat::ParticleInventory::ParticleList(), and sim::TrackSDP::trackID.
void cheat::PhotonBackTracker::OpHitToSDPs | ( | recob::OpHit const & | hit, |
std::vector< sim::SDP > & | sdps | ||
) | const |
Definition at line 714 of file old.PhotonBackTracker_service.cc.
References fDelay, FindOpDetBacktrackerRecord(), geom, recob::OpHit::OpChannel(), geo::GeometryCore::OpDetFromOpChannel(), recob::OpHit::PeakTime(), shouldThisFail(), sim::OpDetBacktrackerRecord::TrackIDsAndEnergies(), and recob::OpHit::Width().
Referenced by OpHitToSDPs(), OpHitToSimSDPs(), OpHitToTrackID(), and OpHitToXYZ().
void cheat::PhotonBackTracker::OpHitToSDPs | ( | recob::OpHit const & | hit, |
std::vector< sim::SDP > & | sdps | ||
) | const |
|
inline |
Definition at line 104 of file old.PhotonBackTrackerService.h.
References OpHitToSDPs().
|
inline |
Definition at line 104 of file old.PhotonBackTracker.h.
References OpHitToSDPs().
|
inline |
Definition at line 100 of file old.PhotonBackTracker.h.
References OpHitToSDPs().
|
inline |
Definition at line 100 of file old.PhotonBackTrackerService.h.
References OpHitToSDPs().
|
inline |
Definition at line 108 of file old.PhotonBackTrackerService.h.
References GetSetOfEveIDs(), GetSetOfTrackIDs(), hits(), OpHitChargeCollectionEfficiency(), OpHitChargeCollectionPurity(), OpHitCollectionEfficiency(), OpHitCollectionPurity(), OpHitToSDPs(), OpHitToXYZ(), SimSDPsToXYZ(), and lar::dump::vector().
|
inline |
Definition at line 108 of file old.PhotonBackTracker.h.
References GetSetOfEveIDs(), GetSetOfTrackIDs(), hits(), OpHitChargeCollectionEfficiency(), OpHitChargeCollectionPurity(), OpHitCollectionEfficiency(), OpHitCollectionPurity(), OpHitToSDPs(), OpHitToXYZ(), SimSDPsToXYZ(), and lar::dump::vector().
const std::vector< const sim::SDP * > cheat::PhotonBackTracker::OpHitToSimSDPs_Ps | ( | recob::OpHit const & | opHit | ) | const |
Definition at line 323 of file PhotonBackTracker.cc.
References fDelay, fGeom, FindOpDetBTR(), recob::OpHit::OpChannel(), geo::GeometryCore::OpDetFromOpChannel(), recob::OpHit::PeakTime(), and recob::OpHit::Width().
Referenced by OpHitsToSimSDPs_Ps(), cheat::PhotonBackTrackerService::OpHitToSimSDPs_Ps(), OpHitToSimSDPs_Ps(), and OpHitToXYZ().
const std::vector< const sim::SDP * > cheat::PhotonBackTracker::OpHitToSimSDPs_Ps | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) | const |
Definition at line 378 of file PhotonBackTracker.cc.
References OpHitToSimSDPs_Ps().
|
inline |
Definition at line 81 of file old.PhotonBackTracker.h.
References OpHitToEveID(), OpHitToEveSDPs(), OpHitToSDPs(), OpHitToTrackSDPs(), TrackIDsToOpHits(), and lar::dump::vector().
|
inline |
Definition at line 81 of file old.PhotonBackTrackerService.h.
References OpHitToEveID(), OpHitToEveSDPs(), OpHitToSDPs(), OpHitToTrackSDPs(), TrackIDsToOpHits(), and lar::dump::vector().
const std::vector< int > cheat::PhotonBackTracker::OpHitToTrackIds | ( | recob::OpHit const & | opHit | ) | const |
Definition at line 201 of file PhotonBackTracker.cc.
References OpHitToTrackSDPs().
Referenced by OpFlashToTrackIds(), cheat::PhotonBackTrackerService::OpHitToTrackIds(), and OpHitToTrackIds().
const std::vector< int > cheat::PhotonBackTracker::OpHitToTrackIds | ( | art::Ptr< recob::OpHit > const & | opHit | ) | const |
Definition at line 211 of file PhotonBackTracker.cc.
References OpHitToTrackIds().
std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 271 of file old.PhotonBackTracker_service.cc.
References ChannelToTrackSDPs(), util::end(), fDelay, recob::OpHit::OpChannel(), recob::OpHit::PeakTime(), shouldThisFail(), and recob::OpHit::Width().
Referenced by GetSetOfTrackIds(), OpHitChargeCollectionEfficiency(), OpHitChargeCollectionPurity(), OpHitCollectionEfficiency(), OpHitCollectionPurity(), OpHitLightCollectionEfficiency(), OpHitLightCollectionPurity(), OpHitToEveSDPs(), OpHitToEveTrackSDPs(), OpHitToTrackID(), OpHitToTrackIds(), and cheat::PhotonBackTrackerService::OpHitToTrackSDPs().
std::vector<sim::TrackSDP> cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | art::Ptr< recob::OpHit > const & | hit | ) |
const std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) | const |
Definition at line 177 of file PhotonBackTracker.cc.
References util::end(), fDelay, fGeom, recob::OpHit::OpChannel(), geo::GeometryCore::OpDetFromOpChannel(), OpDetToTrackSDPs(), recob::OpHit::PeakTime(), and recob::OpHit::Width().
const std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | recob::OpHit const & | opHit | ) | const |
Definition at line 189 of file PhotonBackTracker.cc.
References util::end(), fDelay, fGeom, recob::OpHit::OpChannel(), geo::GeometryCore::OpDetFromOpChannel(), OpDetToTrackSDPs(), recob::OpHit::PeakTime(), and recob::OpHit::Width().
std::vector<double> cheat::PhotonBackTracker::OpHitToXYZ | ( | art::Ptr< recob::OpHit > const & | hit | ) |
const std::vector< double > cheat::PhotonBackTracker::OpHitToXYZ | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 769 of file old.PhotonBackTracker_service.cc.
References DEFINE_ART_SERVICE, OpHitToSDPs(), shouldThisFail(), and SimSDPsToXYZ().
Referenced by OpHitToSimSDPs(), cheat::PhotonBackTrackerService::OpHitToXYZ(), and OpHitToXYZ().
const std::vector<double> cheat::PhotonBackTracker::OpHitToXYZ | ( | art::Ptr< recob::OpHit > const & | opHit | ) |
const std::vector< double > cheat::PhotonBackTracker::OpHitToXYZ | ( | recob::OpHit const & | opHit | ) |
Definition at line 444 of file PhotonBackTracker.cc.
References OpHitToSimSDPs_Ps(), OpHitToXYZ(), and SimSDPsToXYZ().
|
inline |
Definition at line 60 of file old.PhotonBackTracker.h.
References fParticleList.
|
inline |
Definition at line 60 of file old.PhotonBackTrackerService.h.
References fParticleList.
const art::Ptr< simb::MCTruth > & cheat::PhotonBackTracker::ParticleToMCTruth | ( | const simb::MCParticle * | p | ) | const |
Definition at line 248 of file old.PhotonBackTracker_service.cc.
References shouldThisFail(), simb::MCParticle::TrackId(), and TrackIDToMCTruth().
Referenced by SetEveIdCalculator().
const art::Ptr<simb::MCTruth>& cheat::PhotonBackTracker::ParticleToMCTruth | ( | const simb::MCParticle * | p | ) | const |
void cheat::PhotonBackTracker::PrepEvent | ( | Evt const & | evt | ) |
void cheat::PhotonBackTracker::PrepOpDetBTRs | ( | Evt const & | evt | ) |
Referenced by cheat::PhotonBackTrackerService::priv_PrepOpDetBTRs().
void cheat::PhotonBackTracker::PrepOpFlashToOpHits | ( | Evt const & | evt | ) |
Referenced by cheat::PhotonBackTrackerService::priv_PrepOpFlashToOpHits().
void cheat::PhotonBackTracker::Rebuild | ( | const art::Event & | evt | ) |
Definition at line 53 of file old.PhotonBackTracker_service.cc.
References sim::ParticleList::Add(), sim::ParticleList::AdoptEveIdCalculator(), sim::ParticleList::clear(), cOpDetBacktrackerRecords, art::Handle< T >::failedToGet(), fG4ModuleLabel, art::fill_ptr_vector(), fMCTruthList, fParticleList, fTrackIDToMCTruthIndex, art::ProductRetriever::getByLabel(), GetSetOfTrackIDs(), have_complained, art::Event::isRealData(), MF_LOG_DEBUG, part, art::errors::ProductNotFound, and art::Handle< T >::whyFailed().
void cheat::PhotonBackTracker::Rebuild | ( | const art::Event & | evt | ) |
void cheat::PhotonBackTracker::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Referenced by ~PhotonBackTracker().
void cheat::PhotonBackTracker::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
|
inline |
Definition at line 63 of file old.PhotonBackTracker.h.
References sim::ParticleList::AdoptEveIdCalculator(), fParticleList, MCTruthToParticles(), ParticleToMCTruth(), TrackIDToMCTruth(), TrackIDToMotherParticle(), TrackIDToParticle(), and TrackIDToSimSDP().
|
inline |
Definition at line 63 of file old.PhotonBackTrackerService.h.
References sim::ParticleList::AdoptEveIdCalculator(), fParticleList, MCTruthToParticles(), ParticleToMCTruth(), TrackIDToMCTruth(), TrackIDToMotherParticle(), TrackIDToParticle(), and TrackIDToSimSDP().
|
private |
Definition at line 168 of file old.PhotonBackTracker_service.cc.
References have_complained.
Referenced by ChannelToTrackSDPs(), FindOpDetBacktrackerRecord(), GetSetOfEveIDs(), GetSetOfTrackIDs(), MCTruthToParticles(), OpDetBacktrackerRecords(), OpHitChargeCollectionEfficiency(), OpHitChargeCollectionPurity(), OpHitCollectionEfficiency(), OpHitCollectionPurity(), OpHitToEveSDPs(), OpHitToSDPs(), OpHitToTrackSDPs(), OpHitToXYZ(), ParticleToMCTruth(), SimSDPsToXYZ(), TrackIDsToOpHits(), TrackIDToMCTruth(), TrackIDToMotherParticle(), TrackIDToParticle(), and TrackIDToSimSDP().
|
private |
std::vector< double > cheat::PhotonBackTracker::SimSDPsToXYZ | ( | std::vector< sim::SDP > const & | sdps | ) |
Definition at line 731 of file old.PhotonBackTracker_service.cc.
References e, shouldThisFail(), w, weight, x, y, and z.
Referenced by OpHitsToXYZ(), OpHitToSimSDPs(), OpHitToXYZ(), and cheat::PhotonBackTrackerService::SimSDPsToXYZ().
std::vector<double> cheat::PhotonBackTracker::SimSDPsToXYZ | ( | std::vector< sim::SDP > const & | sdps | ) |
const std::vector< double > cheat::PhotonBackTracker::SimSDPsToXYZ | ( | std::vector< sim::SDP > const & | sdps | ) | const |
Definition at line 385 of file PhotonBackTracker.cc.
References e, w, weight, x, y, and z.
const std::vector< double > cheat::PhotonBackTracker::SimSDPsToXYZ | ( | std::vector< const sim::SDP * > const & | sdps_Ps | ) | const |
Definition at line 414 of file PhotonBackTracker.cc.
References e, w, weight, x, y, and z.
const std::vector< std::vector< art::Ptr< recob::OpHit > > > cheat::PhotonBackTracker::TrackIDsToOpHits | ( | std::vector< art::Ptr< recob::OpHit >> const & | allhits, |
std::vector< int > const & | tkIDs | ||
) |
Definition at line 287 of file old.PhotonBackTracker_service.cc.
References ChannelToTrackSDPs(), util::end(), fDelay, fMinOpHitEnergyFraction, recob::OpHit::OpChannel(), recob::OpHit::PeakTime(), shouldThisFail(), and recob::OpHit::Width().
Referenced by OpHitToTrackID().
const std::vector<std::vector<art::Ptr<recob::OpHit> > > cheat::PhotonBackTracker::TrackIDsToOpHits | ( | std::vector< art::Ptr< recob::OpHit >> const & | allhits, |
std::vector< int > const & | tkIDs | ||
) |
const std::vector< std::vector< art::Ptr< recob::OpHit > > > cheat::PhotonBackTracker::TrackIdsToOpHits_Ps | ( | std::vector< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit >> const & | hitsIn | ||
) |
Definition at line 286 of file PhotonBackTracker.cc.
References util::end(), fDelay, fGeom, fMinOpHitEnergyFraction, recob::OpHit::OpChannel(), geo::GeometryCore::OpDetFromOpChannel(), OpDetToTrackSDPs(), recob::OpHit::PeakTime(), and recob::OpHit::Width().
Referenced by cheat::PhotonBackTrackerService::TrackIdsToOpHits_Ps(), and TrackIdToOpHits_Ps().
const art::Ptr< simb::MCTruth > & cheat::PhotonBackTracker::TrackIDToMCTruth | ( | int const & | id | ) | const |
Definition at line 207 of file old.PhotonBackTracker_service.cc.
References util::abs(), fMCTruthList, fTrackIDToMCTruthIndex, and shouldThisFail().
Referenced by MCTruthToParticles(), ParticleToMCTruth(), and SetEveIdCalculator().
const art::Ptr<simb::MCTruth>& cheat::PhotonBackTracker::TrackIDToMCTruth | ( | int const & | id | ) | const |
const simb::MCParticle * cheat::PhotonBackTracker::TrackIDToMotherParticle | ( | int const & | id | ) | const |
Definition at line 197 of file old.PhotonBackTracker_service.cc.
References util::abs(), sim::ParticleList::EveId(), fParticleList, shouldThisFail(), and TrackIDToParticle().
Referenced by SetEveIdCalculator().
const simb::MCParticle* cheat::PhotonBackTracker::TrackIDToMotherParticle | ( | int const & | id | ) | const |
const std::vector< art::Ptr< recob::OpHit > > cheat::PhotonBackTracker::TrackIdToOpHits_Ps | ( | int const & | tkId, |
std::vector< art::Ptr< recob::OpHit >> const & | hitsIn | ||
) |
Definition at line 272 of file PhotonBackTracker.cc.
References TrackIdsToOpHits_Ps().
Referenced by cheat::PhotonBackTrackerService::TrackIdToOpHits_Ps().
const simb::MCParticle * cheat::PhotonBackTracker::TrackIDToParticle | ( | int const & | id | ) | const |
Definition at line 181 of file old.PhotonBackTracker_service.cc.
References sim::ParticleList::end(), sim::ParticleList::find(), fParticleList, and shouldThisFail().
Referenced by SetEveIdCalculator(), and TrackIDToMotherParticle().
const simb::MCParticle* cheat::PhotonBackTracker::TrackIDToParticle | ( | int const & | id | ) | const |
std::vector< sim::SDP > cheat::PhotonBackTracker::TrackIDToSimSDP | ( | int const & | id | ) | const |
Definition at line 222 of file old.PhotonBackTracker_service.cc.
References util::abs(), cOpDetBacktrackerRecords, sc, and shouldThisFail().
Referenced by SetEveIdCalculator().
std::vector<sim::SDP> cheat::PhotonBackTracker::TrackIDToSimSDP | ( | int const & | id | ) | const |
const std::vector< const sim::SDP * > cheat::PhotonBackTracker::TrackIdToSimSDPs_Ps | ( | int const & | id | ) |
Definition at line 102 of file PhotonBackTracker.cc.
References util::abs(), and priv_OpDetBTRs.
Referenced by OpHitToEveSimSDPs_Ps(), and cheat::PhotonBackTrackerService::TrackIdToSimSDPs_Ps().
const std::vector< const sim::SDP * > cheat::PhotonBackTracker::TrackIdToSimSDPs_Ps | ( | int const & | id, |
geo::View_t const & | view | ||
) |
Definition at line 120 of file PhotonBackTracker.cc.
|
private |
all the OpDetBacktrackerRecords for the event
Definition at line 194 of file old.PhotonBackTracker.h.
Referenced by FindOpDetBacktrackerRecord(), OpDetBacktrackerRecords(), Rebuild(), and TrackIDToSimSDP().
|
private |
Definition at line 198 of file old.PhotonBackTracker.h.
Referenced by GetDelay(), GetSetOfTrackIDs(), OpDetBacktrackerRecords(), OpHitToSDPs(), OpHitToSimSDPs_Ps(), OpHitToTrackSDPs(), TrackIDsToOpHits(), TrackIdsToOpHits_Ps(), and ~PhotonBackTracker().
|
private |
Definition at line 287 of file PhotonBackTracker.h.
|
private |
label for geant4 module
Definition at line 196 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), Rebuild(), and ~PhotonBackTracker().
|
private |
Definition at line 288 of file PhotonBackTracker.h.
|
private |
Definition at line 289 of file PhotonBackTracker.h.
|
private |
Definition at line 285 of file PhotonBackTracker.h.
Referenced by OpHitToSimSDPs_Ps(), OpHitToTrackSDPs(), and TrackIdsToOpHits_Ps().
|
private |
all the MCTruths for the event
Definition at line 192 of file old.PhotonBackTracker.h.
Referenced by MCTruthVector(), OpDetBacktrackerRecords(), Rebuild(), and TrackIDToMCTruth().
|
private |
minimum fraction of energy a track id has to
Definition at line 197 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), OpHitChargeCollectionEfficiency(), OpHitCollectionEfficiency(), OpHitLightCollectionEfficiency(), PhotonBackTracker(), TrackIDsToOpHits(), TrackIdsToOpHits_Ps(), and ~PhotonBackTracker().
|
private |
Definition at line 292 of file PhotonBackTracker.h.
|
private |
Definition at line 291 of file PhotonBackTracker.h.
Referenced by PhotonBackTracker().
|
private |
Definition at line 290 of file PhotonBackTracker.h.
Referenced by PhotonBackTracker().
|
private |
ParticleList to map track ID to sim::Particle.
Definition at line 188 of file old.PhotonBackTracker.h.
Referenced by GetSetOfEveIDs(), GetSetOfTrackIDs(), MCTruthToParticles(), OpDetBacktrackerRecords(), OpHitToEveSDPs(), ParticleList(), Rebuild(), SetEveIdCalculator(), TrackIDToMotherParticle(), and TrackIDToParticle().
|
private |
Definition at line 284 of file PhotonBackTracker.h.
Referenced by GetSetOfEveIds(), GetSetOfTrackIds(), and OpHitToEveTrackSDPs().
|
private |
map of track ids to MCTruthList entry
Definition at line 195 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), Rebuild(), and TrackIDToMCTruth().
|
private |
List to map the position of energy depostions in voxels to the particles depositing the energy
Definition at line 189 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords().
|
private |
Definition at line 180 of file old.PhotonBackTracker.h.
Referenced by ChannelToTrackSDPs(), OpDetBacktrackerRecords(), and OpHitToSDPs().
|
private |
Definition at line 186 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), Rebuild(), shouldThisFail(), and ~PhotonBackTracker().
|
mutableprivate |
Definition at line 293 of file PhotonBackTracker.h.
Referenced by BTRsReady(), ClearEvent(), FindOpDetBTR(), OpDetBTRs(), and TrackIdToSimSDPs_Ps().
|
private |
Definition at line 294 of file PhotonBackTracker.h.
Referenced by ClearEvent(), OpFlashToOpHits_Ps(), and OpFlashToOpHitsReady().