9 #ifndef CHEAT_BACKTRACKERSERVICESERVICE_H 10 #define CHEAT_BACKTRACKERSERVICESERVICE_H 33 fhicl::Comment(
"This is the fhicl configuration of the BackTracker service provider.")};
50 const std::vector<art::Ptr<sim::SimChannel>>&
SimChannels()
const;
59 const double hit_start_time,
60 const double hit_end_time)
const;
84 std::vector<int>
const& tkIds,
97 std::vector<double>
SimIDEsToXYZ(std::vector<sim::IDE>
const& ides)
const;
98 std::vector<double>
SimIDEsToXYZ(std::vector<const sim::IDE*>
const& ide_Ps)
const;
106 std::set<int>
const& trackIds,
109 std::set<int>
const& trackIds,
113 std::set<int>
const& trackIds,
118 std::set<int>
const& trackIds,
163 #endif // CHEAT_BACKTRACKERSERVICESERVICE_H
std::vector< art::Ptr< recob::Hit > > TrackIdToHits_Ps(detinfo::DetectorClocksData const &clockData, int tkId, std::vector< art::Ptr< recob::Hit >> const &hitsIn) const
std::vector< sim::TrackIDE > HitToTrackIDEs(detinfo::DetectorClocksData const &clockData, recob::Hit const &hit) const
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
std::vector< art::Ptr< recob::Hit > > SpacePointToHits_Ps(art::Ptr< recob::SpacePoint > const &spt) const
double HitChargeCollectionPurity(detinfo::DetectorClocksData const &clockData, std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit >> const &hits) const
BackTracker(const fhiclConfig &config, const cheat::ParticleInventory *partInv, const geo::GeometryCore *geom)
double HitCollectionEfficiency(detinfo::DetectorClocksData const &clockData, 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
ChannelGroupService::Name Name
std::vector< const sim::IDE * > TrackIdToSimIDEs_Ps(int const &id) const
std::vector< double > HitToXYZ(detinfo::DetectorClocksData const &clockData, const recob::Hit &hit) const
art framework interface to geometry description
std::vector< int > HitToTrackIds(detinfo::DetectorClocksData const &clockData, recob::Hit const &hit) const
fhicl::Table< BackTracker::fhiclConfig > BackTrackerTable
art::Ptr< sim::SimChannel > FindSimChannel(raw::ChannelID_t channel) const
void Rebuild(const art::Event &evt)
std::set< int > GetSetOfTrackIds() const
BackTrackerService(const fhicl::ParameterSet &pSet, art::ActivityRegistry ®)
#define DECLARE_ART_SERVICE(svc, scope)
bool SimChannelsReady() const
double HitCollectionPurity(detinfo::DetectorClocksData const &clockData, std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit >> const &hits) const
void priv_PrepSimChannels(const art::Event &evt)
const provider_type * provider() const
std::vector< std::vector< art::Ptr< recob::Hit > > > TrackIdsToHits_Ps(detinfo::DetectorClocksData const &clockData, std::vector< int > const &tkIds, std::vector< art::Ptr< recob::Hit >> const &hitsIn) const
void priv_PrepEvent(const art::Event &evt, art::ScheduleContext)
Detector simulation of raw signals on wires.
std::set< int > GetSetOfEveIds() const
bool priv_CanRun(const art::Event &evt)
double HitChargeCollectionEfficiency(detinfo::DetectorClocksData const &clockData, 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
code to link reconstructed objects back to the MC truth information
Contains all timing reference information for the detector.
std::vector< sim::IDE > HitToAvgSimIDEs(detinfo::DetectorClocksData const &clockData, recob::Hit const &hit) const
std::vector< double > SpacePointHitsToWeightedXYZ(detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::Hit >> const &hits) const
std::vector< sim::TrackIDE > HitToEveTrackIDEs(detinfo::DetectorClocksData const &clockData, recob::Hit const &hit) const
bool priv_SimChannelsReady()
std::vector< double > SimIDEsToXYZ(std::vector< sim::IDE > const &ides) const
Header for the ParticleInvenotry Service Provider.
const std::vector< art::Ptr< sim::SimChannel > > & SimChannels() const
Access the description of detector geometry.
std::vector< const sim::IDE * > HitToSimIDEs_Ps(detinfo::DetectorClocksData const &clockData, recob::Hit const &hit) const
2D representation of charge deposited in the TDC/wire plane
unsigned int ChannelID_t
Type representing the ID of a readout channel.
std::vector< double > SpacePointToXYZ(detinfo::DetectorClocksData const &clockData, art::Ptr< recob::SpacePoint > const &spt) const
std::vector< sim::TrackIDE > ChannelToTrackIDEs(detinfo::DetectorClocksData const &clockData, raw::ChannelID_t channel, const double hit_start_time, const double hit_end_time) const