LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "BackTrackerService.h"
Classes | |
struct | fhiclConfig |
Public Types | |
using | provider_type = BackTracker |
Public Member Functions | |
const provider_type * | provider () const |
BackTrackerService (const fhicl::ParameterSet &pSet, art::ActivityRegistry ®) | |
BackTrackerService (const fhiclConfig &config, art::ActivityRegistry ®) | |
void | Rebuild (const art::Event &evt) |
const std::vector< art::Ptr< sim::SimChannel > > & | SimChannels () |
const std::vector< const sim::IDE * > | TrackIdToSimIDEs_Ps (int const &id) |
const std::vector< const sim::IDE * > | TrackIdToSimIDEs_Ps (int const &id, const geo::View_t view) |
const art::Ptr< sim::SimChannel > | FindSimChannel (raw::ChannelID_t channel) |
const std::vector< sim::TrackIDE > | ChannelToTrackIDEs (raw::ChannelID_t channel, const double hit_start_time, const double hit_end_time) |
const std::vector< sim::TrackIDE > | HitToTrackIDEs (recob::Hit const &hit) |
const std::vector< sim::TrackIDE > | HitToTrackIDEs (art::Ptr< recob::Hit > const &hit) |
const std::vector< int > | HitToTrackIds (recob::Hit const &hit) |
const std::vector< sim::TrackIDE > | HitToEveTrackIDEs (recob::Hit const &hit) |
const std::vector< sim::TrackIDE > | HitToEveTrackIDEs (art::Ptr< recob::Hit > const &hit) |
const std::vector< art::Ptr< recob::Hit > > | TrackIdToHits_Ps (const int &tkId, std::vector< art::Ptr< recob::Hit > > const &hitsIn) |
const std::vector< art::Ptr< recob::Hit > > | TrackIdToHits_Ps (const int &tkId) |
const std::vector< std::vector< art::Ptr< recob::Hit > > > | TrackIdsToHits_Ps (std::vector< int > const &tkIds, std::vector< art::Ptr< recob::Hit > > const &hitsIn) |
const std::vector< std::vector< art::Ptr< recob::Hit > > > | TrackIdsToHits_Ps (std::vector< int > const &tkIds) |
const std::vector< sim::IDE > | HitToAvgSimIDEs (recob::Hit const &hit) |
const std::vector< sim::IDE > | HitToAvgSimIDEs (art::Ptr< recob::Hit > hit) |
const std::vector< const sim::IDE * > | HitToSimIDEs_Ps (recob::Hit const &hit) |
const std::vector< const sim::IDE * > | HitToSimIDEs_Ps (art::Ptr< recob::Hit > const &hit) |
const std::vector< double > | SimIDEsToXYZ (std::vector< sim::IDE > const &ides) |
const std::vector< double > | SimIDEsToXYZ (std::vector< const sim::IDE * > const &ide_Ps) |
const std::vector< double > | HitToXYZ (const recob::Hit &hit) |
const std::vector< double > | HitToXYZ (art::Ptr< recob::Hit > const &hit) |
const double | HitCollectionPurity (std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) |
const double | HitChargeCollectionPurity (std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) |
const double | HitCollectionEfficiency (std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits, std::vector< art::Ptr< recob::Hit > > const &allhits, geo::View_t const &view) |
const double | HitChargeCollectionEfficiency (std::set< int > trackIds, std::vector< art::Ptr< recob::Hit > > const &hits, std::vector< art::Ptr< recob::Hit > > const &allhits, geo::View_t const &view) |
const std::set< int > | GetSetOfTrackIds () |
const std::set< int > | GetSetOfEveIds () |
const std::set< int > | GetSetOfTrackIds (std::vector< art::Ptr< recob::Hit > > const &hits) |
const std::set< int > | GetSetOfEveIds (std::vector< art::Ptr< recob::Hit > > const &hits) |
const std::vector< double > | SpacePointHitsToWeightedXYZ (std::vector< art::Ptr< recob::Hit >> const &hits) |
const std::vector< art::Ptr< recob::Hit > > | SpacePointToHits_Ps (art::Ptr< recob::SpacePoint > const &spt) |
const std::vector< double > | SpacePointToXYZ (art::Ptr< recob::SpacePoint > const &spt) |
Private Member Functions | |
void | priv_PrepEvent (const art::Event &evt) |
void | priv_PrepSimChannels (const art::Event &evt) |
void | priv_PrepFailed () |
bool | priv_CanRun (const art::Event &evt) |
bool | priv_SimChannelsReady () |
template<typename Evt > | |
void | PrepEvent (const Evt &evt) |
template<typename Evt > | |
void | PrepSimChannels (const Evt &evt) |
template<typename Evt > | |
bool | CanRun (const Evt &evt) |
template<typename Evt > | |
const std::vector< art::Ptr< recob::Hit > > | SpacePointToHits_Ps (art::Ptr< recob::SpacePoint > const &spt, const Evt &evt) const |
template<typename Evt > | |
const std::vector< double > | SpacePointToXYZ (art::Ptr< recob::SpacePoint > const &spt, const Evt &evt) const |
void | ClearEvent () |
bool | SimChannelsReady () const |
const std::vector< art::Ptr< sim::SimChannel > > & | SimChannels () const |
const std::vector< const sim::IDE * > | TrackIdToSimIDEs_Ps (int const &id) const |
const std::vector< const sim::IDE * > | TrackIdToSimIDEs_Ps (int const &id, const geo::View_t view) const |
art::Ptr< sim::SimChannel > | FindSimChannel (raw::ChannelID_t channel) const |
const std::vector< sim::TrackIDE > | ChannelToTrackIDEs (raw::ChannelID_t channel, const double hit_start_time, const double hit_end_time) const |
const std::vector< sim::TrackIDE > | HitToTrackIDEs (recob::Hit const &hit) const |
const std::vector< sim::TrackIDE > | HitToTrackIDEs (art::Ptr< recob::Hit > const &hit) const |
const std::vector< int > | HitToTrackIds (recob::Hit const &hit) const |
const std::vector< sim::TrackIDE > | HitToEveTrackIDEs (recob::Hit const &hit) const |
const std::vector< sim::TrackIDE > | HitToEveTrackIDEs (art::Ptr< recob::Hit > const &hit) const |
std::vector< art::Ptr< recob::Hit > > | TrackIdToHits_Ps (const int &tkId, std::vector< art::Ptr< recob::Hit > > const &hitsIn) const |
std::vector< std::vector< art::Ptr< recob::Hit > > > | TrackIdsToHits_Ps (std::vector< int > const &tkIds, std::vector< art::Ptr< recob::Hit > > const &hitsIn) const |
const std::vector< sim::IDE > | HitToAvgSimIDEs (recob::Hit const &hit) const |
const std::vector< sim::IDE > | HitToAvgSimIDEs (art::Ptr< recob::Hit > hit) const |
const std::vector< const sim::IDE * > | HitToSimIDEs_Ps (recob::Hit const &hit) const |
const std::vector< const sim::IDE * > | HitToSimIDEs_Ps (art::Ptr< recob::Hit > const &hit) const |
const std::vector< double > | SimIDEsToXYZ (std::vector< sim::IDE > const &ides) const |
const std::vector< double > | SimIDEsToXYZ (std::vector< const sim::IDE * > const &ide_Ps) const |
const std::vector< double > | HitToXYZ (const recob::Hit &hit) const |
const std::vector< double > | HitToXYZ (art::Ptr< recob::Hit > const &hit) const |
const double | HitCollectionPurity (std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) const |
const double | HitChargeCollectionPurity (std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) const |
const double | HitCollectionEfficiency (std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits, std::vector< art::Ptr< recob::Hit > > const &allhits, geo::View_t const &view) const |
const double | HitChargeCollectionEfficiency (std::set< int > trackIds, std::vector< art::Ptr< recob::Hit > > const &hits, std::vector< art::Ptr< recob::Hit > > const &allhits, geo::View_t const &view) const |
const std::set< int > | GetSetOfTrackIds () const |
const std::set< int > | GetSetOfTrackIds (std::vector< art::Ptr< recob::Hit > > const &hits) const |
const std::set< int > | GetSetOfEveIds () const |
const std::set< int > | GetSetOfEveIds (std::vector< art::Ptr< recob::Hit > > const &hits) const |
const std::vector< double > | SpacePointHitsToWeightedXYZ (std::vector< art::Ptr< recob::Hit >> const &hits) const |
Private Attributes | |
const art::Event * | fEvt =nullptr |
Definition at line 29 of file BackTrackerService.h.
Definition at line 40 of file BackTrackerService.h.
cheat::BackTrackerService::BackTrackerService | ( | const fhicl::ParameterSet & | pSet, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 25 of file BackTrackerService_service.cc.
References priv_PrepEvent(), and art::ActivityRegistry::sPreProcessEvent.
Referenced by provider().
cheat::BackTrackerService::BackTrackerService | ( | const fhiclConfig & | config, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 37 of file BackTrackerService_service.cc.
References priv_PrepEvent(), and art::ActivityRegistry::sPreProcessEvent.
|
inlineinherited |
Definition at line 72 of file BackTracker.h.
References cheat::BackTracker::ClearEvent(), cheat::BackTracker::fOverrideRealData, cheat::BackTracker::SpacePointToHits_Ps(), and cheat::BackTracker::SpacePointToXYZ().
Referenced by priv_CanRun().
const std::vector< sim::TrackIDE > cheat::BackTrackerService::ChannelToTrackIDEs | ( | raw::ChannelID_t | channel, |
const double | hit_start_time, | ||
const double | hit_end_time | ||
) |
Definition at line 138 of file BackTrackerService_service.cc.
References cheat::BackTracker::ChannelToTrackIDEs().
Referenced by tca::GetOrigin(), and provider().
|
inherited |
Definition at line 114 of file BackTracker.cc.
References e, energy, sim::TrackIDE::energy, sim::TrackIDE::energyFrac, cheat::BackTracker::fDetClocks, cheat::BackTracker::FindSimChannel(), sim::NoParticleId, sim::TrackIDE::numElectrons, detinfo::DetectorClocks::TPCTick2TDC(), sim::TrackIDE::trackID, and sim::SimChannel::TrackIDsAndEnergies().
Referenced by ChannelToTrackIDEs(), cheat::BackTracker::GetSetOfTrackIds(), cheat::BackTracker::HitToTrackIDEs(), cheat::BackTracker::SimChannels(), cheat::BackTracker::TrackIdsToHits_Ps(), and cheat::BackTracker::TrackIdToHits_Ps().
|
inherited |
Definition at line 53 of file BackTracker.cc.
References cheat::BackTracker::fSimChannels.
Referenced by cheat::BackTracker::CanRun(), and priv_PrepEvent().
const art::Ptr< sim::SimChannel > cheat::BackTrackerService::FindSimChannel | ( | raw::ChannelID_t | channel | ) |
Definition at line 131 of file BackTrackerService_service.cc.
References cheat::BackTracker::FindSimChannel().
Referenced by provider().
|
inherited |
Definition at line 101 of file BackTracker.cc.
References cheat::BackTracker::fSimChannels.
Referenced by cheat::BackTracker::ChannelToTrackIDEs(), FindSimChannel(), cheat::BackTracker::HitToAvgSimIDEs(), cheat::BackTracker::HitToSimIDEs_Ps(), and cheat::BackTracker::SimChannels().
const std::set< int > cheat::BackTrackerService::GetSetOfEveIds | ( | ) |
Definition at line 324 of file BackTrackerService_service.cc.
References cheat::BackTracker::GetSetOfEveIds().
Referenced by provider().
const std::set< int > cheat::BackTrackerService::GetSetOfEveIds | ( | std::vector< art::Ptr< recob::Hit > > const & | hits | ) |
Definition at line 343 of file BackTrackerService_service.cc.
References cheat::BackTracker::GetSetOfEveIds(), and hits().
|
inlineinherited |
Definition at line 149 of file BackTracker.h.
References cheat::BackTracker::fPartInv, cheat::ParticleInventory::GetSetOfEveIds(), cheat::BackTracker::GetSetOfTrackIds(), hits(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), and lar::dump::vector().
Referenced by GetSetOfEveIds().
|
inherited |
Definition at line 501 of file BackTracker.cc.
References hits(), and cheat::BackTracker::HitToEveTrackIDEs().
const std::set< int > cheat::BackTrackerService::GetSetOfTrackIds | ( | ) |
Definition at line 315 of file BackTrackerService_service.cc.
References cheat::BackTracker::GetSetOfTrackIds().
Referenced by cheat::RecoCheckAna::CheckReco(), cheat::RecoCheckAna::FillResults(), and provider().
const std::set< int > cheat::BackTrackerService::GetSetOfTrackIds | ( | std::vector< art::Ptr< recob::Hit > > const & | hits | ) |
Definition at line 334 of file BackTrackerService_service.cc.
References cheat::BackTracker::GetSetOfTrackIds(), and hits().
|
inlineinherited |
Definition at line 148 of file BackTracker.h.
References cheat::BackTracker::fPartInv, and cheat::ParticleInventory::GetSetOfTrackIds().
Referenced by cheat::BackTracker::GetSetOfEveIds(), and GetSetOfTrackIds().
|
inherited |
Definition at line 487 of file BackTracker.cc.
References cheat::BackTracker::ChannelToTrackIDEs(), evd::details::end(), and hits().
const double cheat::BackTrackerService::HitChargeCollectionEfficiency | ( | std::set< int > | trackIds, |
std::vector< art::Ptr< recob::Hit > > const & | hits, | ||
std::vector< art::Ptr< recob::Hit > > const & | allhits, | ||
geo::View_t const & | view | ||
) |
Definition at line 305 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitChargeCollectionEfficiency(), and hits().
Referenced by provider().
|
inherited |
Definition at line 454 of file BackTracker.cc.
References cheat::BackTracker::fMinHitEnergyFraction, hits(), cheat::BackTracker::HitToTrackIDEs(), and geo::k3D.
Referenced by HitChargeCollectionEfficiency(), and cheat::BackTracker::HitToXYZ().
const double cheat::BackTrackerService::HitChargeCollectionPurity | ( | std::set< int > const & | trackIds, |
std::vector< art::Ptr< recob::Hit > > const & | hits | ||
) |
Definition at line 285 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitChargeCollectionPurity(), and hits().
Referenced by provider().
|
inherited |
Definition at line 405 of file BackTracker.cc.
References hits(), and cheat::BackTracker::HitToTrackIDEs().
Referenced by HitChargeCollectionPurity(), and cheat::BackTracker::HitToXYZ().
const double cheat::BackTrackerService::HitCollectionEfficiency | ( | std::set< int > const & | trackIds, |
std::vector< art::Ptr< recob::Hit > > const & | hits, | ||
std::vector< art::Ptr< recob::Hit > > const & | allhits, | ||
geo::View_t const & | view | ||
) |
Definition at line 295 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitCollectionEfficiency(), and hits().
Referenced by cheat::CheckBackTracking::analyze(), cheat::RecoCheckAna::CheckReco(), cheat::RecoCheckAna::CheckRecoEvents(), cheat::RecoCheckAna::CheckRecoVertices(), and provider().
|
inherited |
Definition at line 422 of file BackTracker.cc.
References cheat::BackTracker::fMinHitEnergyFraction, hits(), cheat::BackTracker::HitToTrackIDEs(), and geo::k3D.
Referenced by HitCollectionEfficiency(), and cheat::BackTracker::HitToXYZ().
const double cheat::BackTrackerService::HitCollectionPurity | ( | std::set< int > const & | trackIds, |
std::vector< art::Ptr< recob::Hit > > const & | hits | ||
) |
Definition at line 276 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitCollectionPurity(), and hits().
Referenced by cheat::CheckBackTracking::analyze(), cheat::RecoCheckAna::CheckReco(), cheat::RecoCheckAna::CheckRecoEvents(), cheat::RecoCheckAna::CheckRecoVertices(), and provider().
|
inherited |
Definition at line 389 of file BackTracker.cc.
References hits(), and cheat::BackTracker::HitToTrackIDEs().
Referenced by HitCollectionPurity(), and cheat::BackTracker::HitToXYZ().
const std::vector< sim::IDE > cheat::BackTrackerService::HitToAvgSimIDEs | ( | recob::Hit const & | hit | ) |
Definition at line 210 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToAvgSimIDEs().
Referenced by trkf::SpacePointAlg::makeSpacePoints(), and provider().
const std::vector< sim::IDE > cheat::BackTrackerService::HitToAvgSimIDEs | ( | art::Ptr< recob::Hit > | hit | ) |
Definition at line 217 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToAvgSimIDEs().
|
inherited |
Definition at line 279 of file BackTracker.cc.
References recob::Hit::Channel(), cheat::BackTracker::fDetClocks, cheat::BackTracker::FindSimChannel(), recob::Hit::PeakTimeMinusRMS(), recob::Hit::PeakTimePlusRMS(), and detinfo::DetectorClocks::TPCTick2TDC().
Referenced by HitToAvgSimIDEs(), and cheat::BackTracker::HitToEveTrackIDEs().
|
inlineinherited |
Definition at line 124 of file BackTracker.h.
References cheat::BackTracker::HitToAvgSimIDEs(), and cheat::BackTracker::HitToSimIDEs_Ps().
Referenced by cheat::BackTracker::HitToAvgSimIDEs().
const std::vector< sim::TrackIDE > cheat::BackTrackerService::HitToEveTrackIDEs | ( | recob::Hit const & | hit | ) |
Definition at line 166 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToEveTrackIDEs().
Referenced by cheat::CheckBackTracking::analyze(), cluster::DBclusterAna::analyze(), DUNE::NeutrinoShowerEff::checkCNNtrkshw(), cluster::ClusterCheater::produce(), provider(), shower::TCShowerTemplateMaker::showerProfileTrue(), DUNE::NeutrinoShowerEff::truthMatcher(), and shower::TCShowerAnalysis::truthMatcher().
const std::vector< sim::TrackIDE > cheat::BackTrackerService::HitToEveTrackIDEs | ( | art::Ptr< recob::Hit > const & | hit | ) |
Definition at line 173 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToEveTrackIDEs().
|
inherited |
Definition at line 184 of file BackTracker.cc.
References sim::TrackIDE::energy, sim::TrackIDE::energyFrac, cheat::BackTracker::fPartInv, cheat::BackTracker::HitToTrackIDEs(), sim::TrackIDE::numElectrons, sim::TrackIDE::trackID, and cheat::ParticleInventory::TrackIdToEveTrackId().
Referenced by cheat::BackTracker::GetSetOfEveIds(), HitToEveTrackIDEs(), and cheat::BackTracker::HitToTrackIDEs().
|
inlineinherited |
Definition at line 111 of file BackTracker.h.
References cheat::BackTracker::HitToAvgSimIDEs(), cheat::BackTracker::HitToEveTrackIDEs(), cheat::BackTracker::TrackIdsToHits_Ps(), cheat::BackTracker::TrackIdToHits_Ps(), and lar::dump::vector().
Referenced by cheat::BackTracker::HitToEveTrackIDEs().
const std::vector< const sim::IDE * > cheat::BackTrackerService::HitToSimIDEs_Ps | ( | recob::Hit const & | hit | ) |
Definition at line 224 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToSimIDEs_Ps().
Referenced by hit::DisambigCheater::InitHitToWids(), and provider().
const std::vector< const sim::IDE * > cheat::BackTrackerService::HitToSimIDEs_Ps | ( | art::Ptr< recob::Hit > const & | hit | ) |
Definition at line 231 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToSimIDEs_Ps().
|
inherited |
Definition at line 291 of file BackTracker.cc.
References recob::Hit::Channel(), cheat::BackTracker::fDetClocks, cheat::BackTracker::FindSimChannel(), recob::Hit::PeakTimeMinusRMS(), recob::Hit::PeakTimePlusRMS(), and detinfo::DetectorClocks::TPCTick2TDC().
Referenced by cheat::BackTracker::HitToAvgSimIDEs(), HitToSimIDEs_Ps(), and cheat::BackTracker::HitToXYZ().
|
inlineinherited |
Definition at line 127 of file BackTracker.h.
References cheat::BackTracker::HitToSimIDEs_Ps(), cheat::BackTracker::HitToXYZ(), and cheat::BackTracker::SimIDEsToXYZ().
Referenced by cheat::BackTracker::HitToSimIDEs_Ps().
const std::vector< sim::TrackIDE > cheat::BackTrackerService::HitToTrackIDEs | ( | recob::Hit const & | hit | ) |
Definition at line 145 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToTrackIDEs().
Referenced by cheat::CheckBackTracking::analyze(), cluster::DBclusterAna::analyze(), hit::GausHitFinderAna::analyze(), hit::HitFinderAna::analyze(), trkf::TrackAna::anaStitch(), t0::DirectHitParticleAssns::CreateHitParticleAssociations(), cheat::RecoCheckAna::FillResults(), ems::MergeEMShower3D::getClusterBestId(), trkf::TrackKalmanCheater::produce(), t0::MCTruthT0Matching::produce(), provider(), DUNE::NeutrinoTrackingEff::truthMatcher(), and DUNE::MuonTrackingEff::truthMatcher().
const std::vector< sim::TrackIDE > cheat::BackTrackerService::HitToTrackIDEs | ( | art::Ptr< recob::Hit > const & | hit | ) |
Definition at line 152 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToTrackIDEs().
|
inherited |
Definition at line 164 of file BackTracker.cc.
References recob::Hit::Channel(), cheat::BackTracker::ChannelToTrackIDEs(), evd::details::end(), recob::Hit::PeakTimeMinusRMS(), and recob::Hit::PeakTimePlusRMS().
Referenced by cheat::BackTracker::HitChargeCollectionEfficiency(), cheat::BackTracker::HitChargeCollectionPurity(), cheat::BackTracker::HitCollectionEfficiency(), cheat::BackTracker::HitCollectionPurity(), cheat::BackTracker::HitToEveTrackIDEs(), HitToTrackIDEs(), cheat::BackTracker::HitToTrackIds(), and cheat::BackTracker::SimChannels().
|
inlineinherited |
Definition at line 105 of file BackTracker.h.
References cheat::BackTracker::HitToEveTrackIDEs(), cheat::BackTracker::HitToTrackIDEs(), and cheat::BackTracker::HitToTrackIds().
Referenced by cheat::BackTracker::HitToTrackIDEs().
const std::vector< int > cheat::BackTrackerService::HitToTrackIds | ( | recob::Hit const & | hit | ) |
Definition at line 159 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToTrackIds().
Referenced by provider().
|
inherited |
Definition at line 174 of file BackTracker.cc.
References cheat::BackTracker::HitToTrackIDEs().
Referenced by cheat::BackTracker::HitToTrackIDEs(), and HitToTrackIds().
const std::vector< double > cheat::BackTrackerService::HitToXYZ | ( | const recob::Hit & | hit | ) |
Definition at line 257 of file BackTrackerService_service.cc.
References cheat::BackTracker::HitToXYZ().
Referenced by cheat::CheckBackTracking::analyze(), trkf::SpacePointAna::analyze(), hit::MagDriftAna::analyze(), hit::HitFinderAna::analyze(), hit::GausHitFinderAna::analyze(), HitToXYZ(), shwf::ShowerCheater::produce(), trkf::TrackCheater::produce(), provider(), apa::DisambigAlg::RunDisambig(), apa::DisambigAlg::TrivialDisambig(), and reco3d::PlotSpacePoints::TrueSpacePoints().
const std::vector< double > cheat::BackTrackerService::HitToXYZ | ( | art::Ptr< recob::Hit > const & | hit | ) |
Definition at line 266 of file BackTrackerService_service.cc.
References HitToXYZ().
|
inherited |
Definition at line 383 of file BackTracker.cc.
References cheat::BackTracker::HitToSimIDEs_Ps(), and cheat::BackTracker::SimIDEsToXYZ().
Referenced by cheat::BackTracker::HitToSimIDEs_Ps(), HitToXYZ(), and cheat::BackTracker::SpacePointHitsToWeightedXYZ().
|
inlineinherited |
Definition at line 136 of file BackTracker.h.
References cheat::BackTracker::HitChargeCollectionEfficiency(), cheat::BackTracker::HitChargeCollectionPurity(), cheat::BackTracker::HitCollectionEfficiency(), cheat::BackTracker::HitCollectionPurity(), hits(), cheat::BackTracker::HitToXYZ(), and lar::dump::vector().
Referenced by cheat::BackTracker::HitToXYZ().
|
inherited |
|
inherited |
Referenced by priv_PrepSimChannels().
|
private |
Definition at line 72 of file BackTrackerService_service.cc.
References cheat::BackTracker::CanRun().
Referenced by priv_PrepEvent(), and priv_PrepSimChannels().
|
private |
Definition at line 63 of file BackTrackerService_service.cc.
References cheat::BackTracker::ClearEvent(), tca::evt, fEvt, priv_CanRun(), and priv_PrepSimChannels().
Referenced by BackTrackerService(), and Rebuild().
|
private |
Definition at line 77 of file BackTrackerService_service.cc.
Referenced by priv_PrepSimChannels().
|
private |
Definition at line 84 of file BackTrackerService_service.cc.
References cheat::BackTracker::PrepSimChannels(), priv_CanRun(), priv_PrepFailed(), and priv_SimChannelsReady().
Referenced by priv_PrepEvent().
|
inlineprivate |
Definition at line 124 of file BackTrackerService.h.
References DECLARE_ART_SERVICE, and cheat::BackTracker::SimChannelsReady().
Referenced by priv_PrepSimChannels().
|
inline |
Definition at line 41 of file BackTrackerService.h.
References BackTrackerService(), ChannelToTrackIDEs(), tca::evt, FindSimChannel(), GetSetOfEveIds(), GetSetOfTrackIds(), HitChargeCollectionEfficiency(), HitChargeCollectionPurity(), HitCollectionEfficiency(), HitCollectionPurity(), hits(), HitToAvgSimIDEs(), HitToEveTrackIDEs(), HitToSimIDEs_Ps(), HitToTrackIDEs(), HitToTrackIds(), HitToXYZ(), Rebuild(), SimChannels(), SimIDEsToXYZ(), SpacePointHitsToWeightedXYZ(), SpacePointToHits_Ps(), SpacePointToXYZ(), TrackIdsToHits_Ps(), TrackIdToHits_Ps(), TrackIdToSimIDEs_Ps(), and lar::dump::vector().
void cheat::BackTrackerService::Rebuild | ( | const art::Event & | evt | ) |
Event Rebuild Implimentation////////// This section contains the implimentation /// of all Prep templates from the service /// provider. ///
Definition at line 58 of file BackTrackerService_service.cc.
References priv_PrepEvent().
Referenced by cheat::BackTrackerLoader::produce(), and provider().
const std::vector< art::Ptr< sim::SimChannel > > & cheat::BackTrackerService::SimChannels | ( | ) |
Definition at line 110 of file BackTrackerService_service.cc.
References cheat::BackTracker::SimChannels().
Referenced by provider().
|
inlineinherited |
Definition at line 90 of file BackTracker.h.
References cheat::BackTracker::ChannelToTrackIDEs(), cheat::BackTracker::FindSimChannel(), cheat::BackTracker::fSimChannels, cheat::BackTracker::HitToTrackIDEs(), and cheat::BackTracker::TrackIdToSimIDEs_Ps().
Referenced by SimChannels().
|
inlineinherited |
Definition at line 87 of file BackTracker.h.
References cheat::BackTracker::fSimChannels.
Referenced by priv_SimChannelsReady().
const std::vector< double > cheat::BackTrackerService::SimIDEsToXYZ | ( | std::vector< sim::IDE > const & | ides | ) |
Definition at line 238 of file BackTrackerService_service.cc.
References cheat::BackTracker::SimIDEsToXYZ().
Referenced by hit::DisambigCheater::InitHitToWids(), trkf::SpacePointAlg::makeSpacePoints(), and provider().
const std::vector< double > cheat::BackTrackerService::SimIDEsToXYZ | ( | std::vector< const sim::IDE * > const & | ide_Ps | ) |
Definition at line 247 of file BackTrackerService_service.cc.
References cheat::BackTracker::SimIDEsToXYZ().
|
inherited |
Definition at line 354 of file BackTracker.cc.
Referenced by cheat::BackTracker::HitToSimIDEs_Ps(), cheat::BackTracker::HitToXYZ(), SimIDEsToXYZ(), and cheat::BackTracker::SimIDEsToXYZ().
|
inherited |
Definition at line 375 of file BackTracker.cc.
References cheat::BackTracker::SimIDEsToXYZ().
const std::vector< double > cheat::BackTrackerService::SpacePointHitsToWeightedXYZ | ( | std::vector< art::Ptr< recob::Hit >> const & | hits | ) |
Definition at line 351 of file BackTrackerService_service.cc.
References hits(), and cheat::BackTracker::SpacePointHitsToWeightedXYZ().
Referenced by trkf::SpacePointAna::analyze(), and provider().
|
inherited |
Definition at line 512 of file BackTracker.cc.
References geo::CryostatID::Cryostat, cheat::BackTracker::fGeom, hits(), cheat::BackTracker::HitToXYZ(), recob::Hit::Integral(), geo::GeometryCore::Ncryostats(), geo::GeometryCore::Nplanes(), geo::GeometryCore::NTPC(), geo::PlaneID::Plane, geo::GeometryCore::PositionToTPC(), geo::TPCID::TPC, and recob::Hit::WireID().
Referenced by cheat::BackTracker::GetSetOfEveIds(), and SpacePointHitsToWeightedXYZ().
|
inherited |
Referenced by cheat::BackTracker::CanRun(), and SpacePointToHits_Ps().
const std::vector< art::Ptr< recob::Hit > > cheat::BackTrackerService::SpacePointToHits_Ps | ( | art::Ptr< recob::SpacePoint > const & | spt | ) |
Definition at line 357 of file BackTrackerService_service.cc.
References fEvt, and cheat::BackTracker::SpacePointToHits_Ps().
Referenced by provider().
|
inherited |
Referenced by cheat::BackTracker::CanRun(), and SpacePointToXYZ().
const std::vector< double > cheat::BackTrackerService::SpacePointToXYZ | ( | art::Ptr< recob::SpacePoint > const & | spt | ) |
Definition at line 368 of file BackTrackerService_service.cc.
References DEFINE_ART_SERVICE, fEvt, and cheat::BackTracker::SpacePointToXYZ().
Referenced by provider().
const std::vector< std::vector< art::Ptr< recob::Hit > > > cheat::BackTrackerService::TrackIdsToHits_Ps | ( | std::vector< int > const & | tkIds, |
std::vector< art::Ptr< recob::Hit > > const & | hitsIn | ||
) |
Definition at line 195 of file BackTrackerService_service.cc.
References cheat::BackTracker::TrackIdsToHits_Ps().
Referenced by cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), and provider().
const std::vector< std::vector < art::Ptr < recob::Hit > > > cheat::BackTrackerService::TrackIdsToHits_Ps | ( | std::vector< int > const & | tkIds | ) |
|
inherited |
Definition at line 241 of file BackTracker.cc.
References recob::Hit::Channel(), cheat::BackTracker::ChannelToTrackIDEs(), cheat::BackTracker::fMinHitEnergyFraction, recob::Hit::PeakTimeMinusRMS(), and recob::Hit::PeakTimePlusRMS().
Referenced by cheat::BackTracker::HitToEveTrackIDEs(), and TrackIdsToHits_Ps().
const std::vector< art::Ptr< recob::Hit > > cheat::BackTrackerService::TrackIdToHits_Ps | ( | const int & | tkId, |
std::vector< art::Ptr< recob::Hit > > const & | hitsIn | ||
) |
Definition at line 180 of file BackTrackerService_service.cc.
References cheat::BackTracker::TrackIdToHits_Ps().
Referenced by provider().
const std::vector< art::Ptr < recob::Hit > > cheat::BackTrackerService::TrackIdToHits_Ps | ( | const int & | tkId | ) |
|
inherited |
Definition at line 218 of file BackTracker.cc.
References recob::Hit::Channel(), cheat::BackTracker::ChannelToTrackIDEs(), cheat::BackTracker::fMinHitEnergyFraction, recob::Hit::PeakTimeMinusRMS(), and recob::Hit::PeakTimePlusRMS().
Referenced by cheat::BackTracker::HitToEveTrackIDEs(), and TrackIdToHits_Ps().
const std::vector< const sim::IDE * > cheat::BackTrackerService::TrackIdToSimIDEs_Ps | ( | int const & | id | ) |
Definition at line 117 of file BackTrackerService_service.cc.
References cheat::BackTracker::TrackIdToSimIDEs_Ps().
Referenced by cheat::RecoCheckAna::FillResults(), and provider().
const std::vector< const sim::IDE * > cheat::BackTrackerService::TrackIdToSimIDEs_Ps | ( | int const & | id, |
const geo::View_t | view | ||
) |
Definition at line 124 of file BackTrackerService_service.cc.
References cheat::BackTracker::TrackIdToSimIDEs_Ps().
|
inherited |
Definition at line 59 of file BackTracker.cc.
References cheat::BackTracker::fSimChannels.
Referenced by cheat::BackTracker::SimChannels(), and TrackIdToSimIDEs_Ps().
|
inherited |
Definition at line 80 of file BackTracker.cc.
References cheat::BackTracker::fGeom, cheat::BackTracker::fSimChannels, sim::IDE::trackID, and geo::GeometryCore::View().
|
private |
Definition at line 114 of file BackTrackerService.h.
Referenced by priv_PrepEvent(), SpacePointToHits_Ps(), and SpacePointToXYZ().