#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 |
Private Attributes | |
geo::GeometryCore const * | geom = lar::providerFrom<geo::Geometry>() |
bool | have_complained |
sim::ParticleList | fParticleList |
ParticleList to map track ID to sim::Particle. More... | |
sim::LArVoxelList | fVoxelList |
std::vector< art::Ptr < simb::MCTruth > > | fMCTruthList |
all the MCTruths for the event More... | |
std::vector< art::Ptr < sim::OpDetBacktrackerRecord > > | cOpDetBacktrackerRecords |
all the OpDetBacktrackerRecords for the event More... | |
std::map< int, int > | fTrackIDToMCTruthIndex |
map of track ids to MCTruthList entry More... | |
std::string | fG4ModuleLabel |
label for geant4 module More... | |
double | fMinOpHitEnergyFraction |
minimum fraction of energy a track id has to More... | |
double | fDelay |
const cheat::ParticleInventory * | fPartInv |
const geo::GeometryCore * | fGeom |
const double | fDelay |
const art::InputTag | fG4ModuleLabel |
const std::vector< art::InputTag > | fG4ModuleLabels |
const art::InputTag | fOpHitLabel |
const art::InputTag | fOpFlashLabel |
const double | fMinOpHitEnergyFraction |
std::vector< art::Ptr < sim::OpDetBacktrackerRecord > > | priv_OpDetBTRs |
std::map< art::Ptr < recob::OpFlash > , std::vector< art::Ptr < recob::OpHit > > > | priv_OpFlashToOpHits |
Definition at line 45 of file old.PhotonBackTracker.h.
cheat::PhotonBackTracker::PhotonBackTracker | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 33 of file old.PhotonBackTracker_service.cc.
cheat::PhotonBackTracker::~PhotonBackTracker | ( | ) |
Definition at line 42 of file old.PhotonBackTracker_service.cc.
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 53 of file PhotonBackTracker.cc.
|
delete |
const bool cheat::PhotonBackTracker::BTRsReady | ( | ) |
const bool cheat::PhotonBackTracker::CanRun | ( | Evt const & | evt | ) |
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.
void cheat::PhotonBackTracker::ClearEvent | ( | ) |
|
private |
|
private |
Definition at line 616 of file old.PhotonBackTracker_service.cc.
const art::Ptr< sim::OpDetBacktrackerRecord > cheat::PhotonBackTracker::FindOpDetBTR | ( | int const & | opDetNum | ) | const |
const double cheat::PhotonBackTracker::GetDelay | ( | ) |
std::set< int > cheat::PhotonBackTracker::GetSetOfEveIDs | ( | ) |
Definition at line 357 of file old.PhotonBackTracker_service.cc.
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.
const std::set< int> cheat::PhotonBackTracker::GetSetOfEveIds | ( | ) | const |
const std::set< int> cheat::PhotonBackTracker::GetSetOfEveIds | ( | std::vector< art::Ptr< recob::OpHit > > const & | opHits | ) | const |
const std::set< int> cheat::PhotonBackTracker::GetSetOfEveIds | ( | std::vector< recob::OpHit > const & | opHits | ) | const |
std::set<int> cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | ) |
std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | ) |
Definition at line 374 of file old.PhotonBackTracker_service.cc.
std::set< int > cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | std::vector< art::Ptr< recob::OpHit > > const & | hits | ) |
Definition at line 407 of file old.PhotonBackTracker_service.cc.
std::set<int> cheat::PhotonBackTracker::GetSetOfTrackIDs | ( | std::vector< art::Ptr< recob::OpHit > > const & | hits | ) |
const std::set< int> cheat::PhotonBackTracker::GetSetOfTrackIds | ( | ) | const |
const std::set< int> cheat::PhotonBackTracker::GetSetOfTrackIds | ( | std::vector< art::Ptr< recob::OpHit > > const & | opHits | ) | const |
const std::set< int> cheat::PhotonBackTracker::GetSetOfTrackIds | ( | std::vector< recob::OpHit > const & | opHits | ) | const |
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.
|
inline |
Definition at line 81 of file old.PhotonBackTracker.h.
|
inline |
Definition at line 81 of file old.PhotonBackTrackerService.h.
|
inline |
Definition at line 167 of file old.PhotonBackTrackerService.h.
|
inline |
Definition at line 167 of file old.PhotonBackTracker.h.
std::vector<art::Ptr<sim::OpDetBacktrackerRecord> > const& cheat::PhotonBackTracker::OpDetBTRs | ( | ) |
const std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpDetToTrackSDPs | ( | int const & | OpDetNum, |
double const & | opHit_start_time, | ||
double const & | opHit_end_time | ||
) | const |
const std::vector< art::Ptr<recob::OpHit> > cheat::PhotonBackTracker::OpFlashToOpHits_Ps | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
const bool cheat::PhotonBackTracker::OpFlashToOpHitsReady | ( | ) |
const std::set<int> cheat::PhotonBackTracker::OpFlashToTrackIds | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
const std::vector<double> cheat::PhotonBackTracker::OpFlashToXYZ | ( | art::Ptr< recob::OpFlash > & | flash_P | ) | const |
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.
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.
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.
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 | ||
) |
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 | ||
) |
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.
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 | ||
) |
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 | ||
) |
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 | ||
) |
const double cheat::PhotonBackTracker::OpHitLightCollectionPurity | ( | std::set< int > const & | tkIds, |
std::vector< art::Ptr< recob::OpHit > > const & | opHits | ||
) |
const std::vector< const sim::SDP* > cheat::PhotonBackTracker::OpHitsToSimSDPs_Ps | ( | std::vector< art::Ptr< recob::OpHit > > const & | opHits_Ps | ) | const |
const std::vector< double > cheat::PhotonBackTracker::OpHitsToXYZ | ( | std::vector< art::Ptr< recob::OpHit > > const & | opHits_Ps | ) | const |
std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToEveID | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 349 of file old.PhotonBackTracker_service.cc.
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.
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 | ) |
const std::unordered_set<const sim::SDP*> cheat::PhotonBackTracker::OpHitToEveSimSDPs_Ps | ( | art::Ptr< recob::OpHit > & | opHit_P | ) |
const std::vector< int > cheat::PhotonBackTracker::OpHitToEveTrackIds | ( | recob::OpHit const & | opHit | ) |
const std::vector< int > cheat::PhotonBackTracker::OpHitToEveTrackIds | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) |
const std::vector< sim::TrackSDP> cheat::PhotonBackTracker::OpHitToEveTrackSDPs | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) | const |
const std::vector< sim::TrackSDP> cheat::PhotonBackTracker::OpHitToEveTrackSDPs | ( | recob::OpHit const & | opHit | ) | const |
void cheat::PhotonBackTracker::OpHitToSDPs | ( | recob::OpHit const & | hit, |
std::vector< sim::SDP > & | sdps | ||
) | const |
Definition at line 691 of file old.PhotonBackTracker_service.cc.
void cheat::PhotonBackTracker::OpHitToSDPs | ( | recob::OpHit const & | hit, |
std::vector< sim::SDP > & | sdps | ||
) | const |
|
inline |
Definition at line 105 of file old.PhotonBackTrackerService.h.
|
inline |
Definition at line 105 of file old.PhotonBackTracker.h.
|
inline |
Definition at line 102 of file old.PhotonBackTracker.h.
|
inline |
Definition at line 102 of file old.PhotonBackTrackerService.h.
|
inline |
Definition at line 108 of file old.PhotonBackTrackerService.h.
|
inline |
Definition at line 108 of file old.PhotonBackTracker.h.
const std::vector< const sim::SDP* > cheat::PhotonBackTracker::OpHitToSimSDPs_Ps | ( | recob::OpHit const & | opHit | ) | const |
const std::vector< const sim::SDP* > cheat::PhotonBackTracker::OpHitToSimSDPs_Ps | ( | art::Ptr< recob::OpHit > const & | opHit_P | ) | const |
|
inline |
Definition at line 85 of file old.PhotonBackTracker.h.
|
inline |
Definition at line 85 of file old.PhotonBackTrackerService.h.
const std::vector< int > cheat::PhotonBackTracker::OpHitToTrackIds | ( | recob::OpHit const & | opHit | ) | const |
const std::vector< int > cheat::PhotonBackTracker::OpHitToTrackIds | ( | art::Ptr< recob::OpHit > const & | opHit | ) | const |
std::vector< sim::TrackSDP > cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 262 of file old.PhotonBackTracker_service.cc.
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 |
const std::vector< sim::TrackSDP> cheat::PhotonBackTracker::OpHitToTrackSDPs | ( | recob::OpHit const & | opHit | ) | const |
std::vector<double> cheat::PhotonBackTracker::OpHitToXYZ | ( | art::Ptr< recob::OpHit > const & | hit | ) |
std::vector< double > cheat::PhotonBackTracker::OpHitToXYZ | ( | art::Ptr< recob::OpHit > const & | hit | ) |
Definition at line 745 of file old.PhotonBackTracker_service.cc.
const std::vector< double > cheat::PhotonBackTracker::OpHitToXYZ | ( | art::Ptr< recob::OpHit > const & | opHit | ) |
const std::vector< double > cheat::PhotonBackTracker::OpHitToXYZ | ( | recob::OpHit const & | opHit | ) |
|
inline |
Definition at line 65 of file old.PhotonBackTracker.h.
|
inline |
Definition at line 65 of file old.PhotonBackTrackerService.h.
const art::Ptr< simb::MCTruth > & cheat::PhotonBackTracker::ParticleToMCTruth | ( | const simb::MCParticle * | p | ) | const |
Definition at line 240 of file old.PhotonBackTracker_service.cc.
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 | ) |
void cheat::PhotonBackTracker::PrepOpFlashToOpHits | ( | Evt const & | evt | ) |
void cheat::PhotonBackTracker::Rebuild | ( | const art::Event & | evt | ) |
Definition at line 56 of file old.PhotonBackTracker_service.cc.
void cheat::PhotonBackTracker::Rebuild | ( | const art::Event & | evt | ) |
void cheat::PhotonBackTracker::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 47 of file old.PhotonBackTracker_service.cc.
void cheat::PhotonBackTracker::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
|
inline |
Definition at line 68 of file old.PhotonBackTracker.h.
|
inline |
Definition at line 68 of file old.PhotonBackTrackerService.h.
|
private |
Definition at line 163 of file old.PhotonBackTracker_service.cc.
|
private |
std::vector< double > cheat::PhotonBackTracker::SimSDPsToXYZ | ( | std::vector< sim::SDP > const & | sdps | ) |
Definition at line 708 of file old.PhotonBackTracker_service.cc.
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 |
const std::vector< double > cheat::PhotonBackTracker::SimSDPsToXYZ | ( | std::vector< const sim::SDP * > const & | sdps_Ps | ) | const |
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.
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 | ||
) |
const art::Ptr< simb::MCTruth > & cheat::PhotonBackTracker::TrackIDToMCTruth | ( | int const & | id | ) | const |
Definition at line 199 of file old.PhotonBackTracker_service.cc.
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.
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 | ||
) |
const simb::MCParticle * cheat::PhotonBackTracker::TrackIDToParticle | ( | int const & | id | ) | const |
Definition at line 173 of file old.PhotonBackTracker_service.cc.
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.
std::vector<sim::SDP> cheat::PhotonBackTracker::TrackIDToSimSDP | ( | int const & | id | ) | const |
const std::vector< const sim::SDP* > cheat::PhotonBackTracker::TrackIdToSimSDPs_Ps | ( | int const & | id | ) |
const std::vector< const sim::SDP* > cheat::PhotonBackTracker::TrackIdToSimSDPs_Ps | ( | int const & | id, |
geo::View_t const & | view | ||
) |
|
private |
all the OpDetBacktrackerRecords for the event
Definition at line 189 of file old.PhotonBackTracker.h.
|
private |
Definition at line 193 of file old.PhotonBackTracker.h.
|
private |
Definition at line 247 of file PhotonBackTracker.h.
|
private |
label for geant4 module
Definition at line 191 of file old.PhotonBackTracker.h.
|
private |
Definition at line 248 of file PhotonBackTracker.h.
|
private |
Definition at line 249 of file PhotonBackTracker.h.
|
private |
Definition at line 245 of file PhotonBackTracker.h.
|
private |
all the MCTruths for the event
Definition at line 188 of file old.PhotonBackTracker.h.
|
private |
minimum fraction of energy a track id has to
Definition at line 192 of file old.PhotonBackTracker.h.
|
private |
Definition at line 252 of file PhotonBackTracker.h.
|
private |
Definition at line 251 of file PhotonBackTracker.h.
|
private |
Definition at line 250 of file PhotonBackTracker.h.
|
private |
ParticleList to map track ID to sim::Particle.
Definition at line 184 of file old.PhotonBackTracker.h.
|
private |
Definition at line 244 of file PhotonBackTracker.h.
|
private |
map of track ids to MCTruthList entry
Definition at line 190 of file old.PhotonBackTracker.h.
|
private |
List to map the position of energy depostions in voxels to the particles depositing the energy
Definition at line 185 of file old.PhotonBackTracker.h.
|
private |
Definition at line 176 of file old.PhotonBackTracker.h.
|
private |
Definition at line 182 of file old.PhotonBackTracker.h.
|
mutableprivate |
Definition at line 253 of file PhotonBackTracker.h.
|
private |
Definition at line 254 of file PhotonBackTracker.h.