LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 46 of file old.PhotonBackTracker.h.
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
cheat::PhotonBackTracker::~PhotonBackTracker | ( | ) |
Definition at line 42 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 36 of file PhotonBackTracker.cc.
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhicl::ParameterSet const & | pSet, |
const cheat::ParticleInventory * | partInv, | ||
const geo::GeometryCore * | geom | ||
) |
Definition at line 52 of file PhotonBackTracker.cc.
|
delete |
const bool cheat::PhotonBackTracker::BTRsReady | ( | ) |
Definition at line 77 of file PhotonBackTracker.cc.
References priv_OpDetBTRs.
Referenced by cheat::PhotonBackTrackerService::priv_OpDetBTRsReady().
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 636 of file old.PhotonBackTracker_service.cc.
References e, energy, sim::TrackSDP::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 71 of file PhotonBackTracker.cc.
References priv_OpDetBTRs, and priv_OpFlashToOpHits.
Referenced by cheat::PhotonBackTrackerService::priv_PrepEvent().
|
private |
|
private |
Definition at line 616 of file old.PhotonBackTracker_service.cc.
References cOpDetBacktrackerRecords, and shouldThisFail().
Referenced by ChannelToTrackSDPs(), OpDetBacktrackerRecords(), and OpHitToSDPs().
const art::Ptr< sim::OpDetBacktrackerRecord > cheat::PhotonBackTracker::FindOpDetBTR | ( | int const & | opDetNum | ) | const |
Definition at line 121 of file PhotonBackTracker.cc.
References priv_OpDetBTRs.
Referenced by cheat::PhotonBackTrackerService::FindOpDetBTR(), OpDetToTrackSDPs(), and OpHitToSimSDPs_Ps().
const double cheat::PhotonBackTracker::GetDelay | ( | ) |
Definition at line 68 of file PhotonBackTracker.cc.
References fDelay.
Referenced by cheat::PhotonBackTrackerService::GetDelay().
std::set< int > cheat::PhotonBackTracker::GetSetOfEveIDs | ( | ) |
Definition at line 357 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 386 of file old.PhotonBackTracker_service.cc.
References OpHitToEveID(), and shouldThisFail().
const std::set< int > cheat::PhotonBackTracker::GetSetOfEveIds | ( | ) | const |
Definition at line 481 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 495 of file PhotonBackTracker.cc.
References OpHitToEveTrackSDPs().
const std::set< int > cheat::PhotonBackTracker::GetSetOfEveIds | ( | std::vector< recob::OpHit > const & | opHits | ) | const |
Definition at line 506 of file PhotonBackTracker.cc.
References OpHitToEveTrackSDPs().
std::set<int> cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | ) |
std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | ) |
Definition at line 374 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 407 of file old.PhotonBackTracker_service.cc.
References ChannelToTrackSDPs(), evd::details::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 489 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 517 of file PhotonBackTracker.cc.
References OpHitToTrackSDPs().
const std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIds | ( | std::vector< recob::OpHit > const & | opHits | ) | const |
Definition at line 529 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 247 of file old.PhotonBackTracker_service.cc.
References fParticleList, shouldThisFail(), and TrackIDToMCTruth().
Referenced by SetEveIdCalculator().
|
inline |
Definition at line 82 of file old.PhotonBackTracker.h.
References fMCTruthList.
|
inline |
Definition at line 82 of file old.PhotonBackTrackerService.h.
References fMCTruthList.
|
inline |
Definition at line 168 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 168 of file old.PhotonBackTracker.h.
References ChannelToTrackSDPs(), and cOpDetBacktrackerRecords.
const std::vector< art::Ptr< sim::OpDetBacktrackerRecord > > & cheat::PhotonBackTracker::OpDetBTRs | ( | ) |
Definition at line 89 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 137 of file PhotonBackTracker.cc.
References 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 704 of file PhotonBackTracker.cc.
References priv_OpFlashToOpHits.
Referenced by cheat::PhotonBackTrackerService::OpFlashToOpHits_Ps(), OpFlashToTrackIds(), and OpFlashToXYZ().
const bool cheat::PhotonBackTracker::OpFlashToOpHitsReady | ( | ) |
Definition at line 83 of file PhotonBackTracker.cc.
References priv_OpFlashToOpHits.
Referenced by cheat::PhotonBackTrackerService::priv_OpFlashToOpHitsReady().
const std::set< int > cheat::PhotonBackTracker::OpFlashToTrackIds | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
Definition at line 722 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 713 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 551 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 544 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 465 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 504 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 496 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 604 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 595 of file PhotonBackTracker.cc.
double cheat::PhotonBackTracker::OpHitCollectionPurity | ( | std::set< int > | trackIDs, |
std::vector< art::Ptr< recob::OpHit > > const & | hits | ||
) |
Definition at line 439 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 541 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 654 of file PhotonBackTracker.cc.
References recob::OpHit::Area(), e, fMinOpHitEnergyFraction, and OpHitToTrackSDPs().
Referenced by cheat::PhotonBackTrackerService::OpHitChargeCollectionEfficiency(), and 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 645 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 566 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 435 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 446 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 349 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 321 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 453 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 467 of file PhotonBackTracker.cc.
References OpHitToEveTrackIds(), and TrackIdToSimSDPs_Ps().
const std::vector< int > cheat::PhotonBackTracker::OpHitToEveTrackIds | ( | recob::OpHit const & | opHit | ) |
Definition at line 219 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 229 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 241 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 691 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 106 of file old.PhotonBackTrackerService.h.
References OpHitToSDPs().
|
inline |
Definition at line 106 of file old.PhotonBackTracker.h.
References OpHitToSDPs().
|
inline |
Definition at line 103 of file old.PhotonBackTracker.h.
References OpHitToSDPs().
|
inline |
Definition at line 103 of file old.PhotonBackTrackerService.h.
References OpHitToSDPs().
|
inline |
Definition at line 109 of file old.PhotonBackTrackerService.h.
References GetSetOfEveIDs(), GetSetOfTrackIDs(), hits(), OpHitChargeCollectionEfficiency(), OpHitChargeCollectionPurity(), OpHitCollectionEfficiency(), OpHitCollectionPurity(), OpHitToSDPs(), OpHitToXYZ(), SimSDPsToXYZ(), and lar::dump::vector().
|
inline |
Definition at line 109 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 315 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 360 of file PhotonBackTracker.cc.
References OpHitToSimSDPs_Ps().
|
inline |
Definition at line 86 of file old.PhotonBackTracker.h.
References OpHitToEveID(), OpHitToEveSDPs(), OpHitToSDPs(), OpHitToTrackSDPs(), TrackIDsToOpHits(), and lar::dump::vector().
|
inline |
Definition at line 86 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 203 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 213 of file PhotonBackTracker.cc.
References OpHitToTrackIds().
std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 262 of file old.PhotonBackTracker_service.cc.
References ChannelToTrackSDPs(), evd::details::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 168 of file PhotonBackTracker.cc.
References evd::details::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 188 of file PhotonBackTracker.cc.
References evd::details::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 745 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 421 of file PhotonBackTracker.cc.
References OpHitToSimSDPs_Ps(), OpHitToXYZ(), and SimSDPsToXYZ().
|
inline |
Definition at line 66 of file old.PhotonBackTracker.h.
References fParticleList.
|
inline |
Definition at line 66 of file old.PhotonBackTrackerService.h.
References fParticleList.
const art::Ptr< simb::MCTruth > & cheat::PhotonBackTracker::ParticleToMCTruth | ( | const simb::MCParticle * | p | ) | const |
Definition at line 240 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 56 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::DataViewImpl::getByLabel(), GetSetOfTrackIDs(), have_complained, art::Event::isRealData(), 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 69 of file old.PhotonBackTracker.h.
References sim::ParticleList::AdoptEveIdCalculator(), fParticleList, MCTruthToParticles(), ParticleToMCTruth(), TrackIDToMCTruth(), TrackIDToMotherParticle(), TrackIDToParticle(), and TrackIDToSimSDP().
|
inline |
Definition at line 69 of file old.PhotonBackTrackerService.h.
References sim::ParticleList::AdoptEveIdCalculator(), fParticleList, MCTruthToParticles(), ParticleToMCTruth(), TrackIDToMCTruth(), TrackIDToMotherParticle(), TrackIDToParticle(), and TrackIDToSimSDP().
|
private |
Definition at line 163 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 708 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 366 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 393 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 277 of file old.PhotonBackTracker_service.cc.
References ChannelToTrackSDPs(), evd::details::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 281 of file PhotonBackTracker.cc.
References evd::details::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 199 of file old.PhotonBackTracker_service.cc.
References 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 189 of file old.PhotonBackTracker_service.cc.
References 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 270 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 173 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 214 of file old.PhotonBackTracker_service.cc.
References cOpDetBacktrackerRecords, 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 95 of file PhotonBackTracker.cc.
References evd::details::end(), 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 114 of file PhotonBackTracker.cc.
|
private |
all the OpDetBacktrackerRecords for the event
Definition at line 190 of file old.PhotonBackTracker.h.
Referenced by FindOpDetBacktrackerRecord(), OpDetBacktrackerRecords(), Rebuild(), and TrackIDToSimSDP().
|
private |
Definition at line 194 of file old.PhotonBackTracker.h.
Referenced by GetDelay(), GetSetOfTrackIDs(), OpDetBacktrackerRecords(), OpHitToSDPs(), OpHitToSimSDPs_Ps(), OpHitToTrackSDPs(), TrackIDsToOpHits(), TrackIdsToOpHits_Ps(), and ~PhotonBackTracker().
|
private |
Definition at line 246 of file PhotonBackTracker.h.
|
private |
label for geant4 module
Definition at line 192 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), Rebuild(), and ~PhotonBackTracker().
|
private |
Definition at line 247 of file PhotonBackTracker.h.
|
private |
Definition at line 244 of file PhotonBackTracker.h.
Referenced by OpHitToSimSDPs_Ps(), OpHitToTrackSDPs(), and TrackIdsToOpHits_Ps().
|
private |
all the MCTruths for the event
Definition at line 189 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 193 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), OpHitChargeCollectionEfficiency(), OpHitCollectionEfficiency(), OpHitLightCollectionEfficiency(), TrackIDsToOpHits(), TrackIdsToOpHits_Ps(), and ~PhotonBackTracker().
|
private |
Definition at line 250 of file PhotonBackTracker.h.
|
private |
Definition at line 249 of file PhotonBackTracker.h.
|
private |
Definition at line 248 of file PhotonBackTracker.h.
|
private |
ParticleList to map track ID to sim::Particle.
Definition at line 185 of file old.PhotonBackTracker.h.
Referenced by GetSetOfEveIDs(), GetSetOfTrackIDs(), MCTruthToParticles(), OpDetBacktrackerRecords(), OpHitToEveSDPs(), ParticleList(), Rebuild(), SetEveIdCalculator(), TrackIDToMotherParticle(), and TrackIDToParticle().
|
private |
Definition at line 243 of file PhotonBackTracker.h.
Referenced by GetSetOfEveIds(), GetSetOfTrackIds(), and OpHitToEveTrackSDPs().
|
private |
map of track ids to MCTruthList entry
Definition at line 191 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 186 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords().
|
private |
Definition at line 177 of file old.PhotonBackTracker.h.
Referenced by ChannelToTrackSDPs(), OpDetBacktrackerRecords(), and OpHitToSDPs().
|
private |
Definition at line 183 of file old.PhotonBackTracker.h.
Referenced by OpDetBacktrackerRecords(), Rebuild(), shouldThisFail(), and ~PhotonBackTracker().
|
mutableprivate |
Definition at line 251 of file PhotonBackTracker.h.
Referenced by BTRsReady(), ClearEvent(), FindOpDetBTR(), OpDetBTRs(), and TrackIdToSimSDPs_Ps().
|
private |
Definition at line 252 of file PhotonBackTracker.h.
Referenced by ClearEvent(), OpFlashToOpHits_Ps(), and OpFlashToOpHitsReady().