9 #ifndef CHEAT_PHOTONBACKTRACKERSERVICESERVICE_H 10 #define CHEAT_PHOTONBACKTRACKERSERVICESERVICE_H 42 fhicl::Comment(
"This if the fhicl configuration of the PhotonBackTracker service provider.")
66 const std::vector< art::Ptr< sim::OpDetBacktrackerRecord >>&
OpDetBTRs() ;
72 double const& opHit_start_time,
double const& opHit_end_time);
88 const std::vector< double>
SimSDPsToXYZ(std::vector<sim::SDP>
const& sdps )
const& ;
89 const std::vector< double>
SimSDPsToXYZ(std::vector<const sim::SDP*>
const& sdps_Ps);
95 const std::set< int>
GetSetOfEveIds(
const std::vector< recob::OpHit >& opHits);
97 const std::set< int>
GetSetOfTrackIds(std::vector< recob::OpHit >
const& opHits);
145 #endif //CHEAT_PHOTONBACKTRACKERSERVICESERVICE_H
const std::set< int > GetSetOfEveIds()
art::Ptr< sim::OpDetBacktrackerRecord > FindOpDetBTR(int const &opDetNum)
const std::vector< art::Ptr< recob::OpHit > > OpFlashToOpHits_Ps(art::Ptr< recob::OpFlash > &flash_P)
const double OpHitLightCollectionPurity(std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit > > const &opHits_Ps)
const std::vector< const sim::SDP * > OpHitToSimSDPs_Ps(recob::OpHit const &opHit)
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
const std::unordered_set< const sim::SDP * > OpHitToEveSimSDPs_Ps(recob::OpHit const &opHit)
const std::vector< double > SimSDPsToXYZ(std::vector< sim::SDP > const &sdps) const &
const std::vector< art::Ptr< recob::OpHit > > TrackIdToOpHits_Ps(int const &tkId, std::vector< art::Ptr< recob::OpHit >> const &hitsIn)
ChannelGroupService::Name Name
const std::vector< int > OpHitToEveTrackIds(recob::OpHit const &opHit)
bool priv_CanRun(art::Event const &evt)
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 double OpHitCollectionPurity(std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit > > const &opHits_Ps)
void priv_PrepOpDetBTRs(art::Event const &evt)
const std::vector< double > OpHitToXYZ(recob::OpHit const &opHit)
art framework interface to geometry description
const std::vector< art::Ptr< sim::OpDetBacktrackerRecord > > & OpDetBTRs()
const double OpHitChargeCollectionEfficiency(std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit > > const &opHits_Ps, std::vector< art::Ptr< recob::OpHit > > const &opHitsIn_Ps)
bool priv_OpFlashToOpHitsReady()
#define DECLARE_ART_SERVICE(svc, scope)
void Rebuild(art::Event const &evt)
const double OpHitLightCollectionEfficiency(std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit > > const &opHits, std::vector< art::Ptr< recob::OpHit > > const &opHitsIn)
std::vector< sim::TrackSDP > OpHitToTrackSDPs(art::Ptr< recob::OpHit > const &opHit_P)
back track the reconstruction to the simulation
const std::vector< const sim::SDP * > TrackIdToSimSDPs_Ps(int const &id)
const provider_type * provider() const
fhicl::Table< PhotonBackTracker::fhiclConfig > PhotonBackTrackerTable
const std::vector< sim::TrackSDP > OpDetToTrackSDPs(int const &OpDetNum, double const &opHit_start_time, double const &opHit_end_time)
const double OpHitLightCollectionEfficiency(std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit > > const &opHits_Ps, std::vector< art::Ptr< recob::OpHit > > const &opHitsIn_Ps, geo::View_t const &view)
const std::vector< double > OpFlashToXYZ(art::Ptr< recob::OpFlash > &flash_P)
const double OpHitCollectionEfficiency(std::set< int > const &tkIds, std::vector< art::Ptr< recob::OpHit > > const &opHits_Ps, std::vector< art::Ptr< recob::OpHit > > const &opHitsIn_Ps, geo::View_t const &view)
PhotonBackTracker(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
code to link reconstructed objects back to the MC truth information
PhotonBackTrackerService(fhicl::ParameterSet const &pSet, art::ActivityRegistry ®)
bool priv_OpDetBTRsReady()
Access the description of detector geometry.
void priv_PrepEvent(art::Event const &evt, art::ScheduleContext)
const std::vector< int > OpHitToTrackIds(recob::OpHit const &opHit)
const std::set< int > OpFlashToTrackIds(art::Ptr< recob::OpFlash > &flash_P) const
std::vector< sim::TrackSDP > OpHitToEveTrackSDPs(art::Ptr< recob::OpHit > const &opHit_P)
const std::set< int > GetSetOfTrackIds()
const bool OpFlashToOpHitsReady()
void priv_PrepOpFlashToOpHits(art::Event const &evt)