9 #ifndef CHEAT_BACKTRACKERSERVICESERVICE_H 10 #define CHEAT_BACKTRACKERSERVICESERVICE_H 36 fhicl::Comment(
"This is the fhicl configuration of the BackTracker service provider.") };
51 const std::vector < art::Ptr < sim::SimChannel > >&
SimChannels() ;
69 const std::vector < art::Ptr < recob::Hit > >
TrackIdToHits_Ps(
const int& tkId ) ;
72 const std::vector < std::vector < art::Ptr < recob::Hit > > >
TrackIdsToHits_Ps( std::vector < int >
const& tkIds ) ;
80 const std::vector<double>
SimIDEsToXYZ( std::vector< sim::IDE >
const& ides) ;
81 const std::vector<double>
SimIDEsToXYZ( std::vector< const sim::IDE* >
const& ide_Ps) ;
137 #endif //CHEAT_BACKTRACKERSERVICESERVICE_H
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< double > SimIDEsToXYZ(std::vector< sim::IDE > const &ides)
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::vector< double > HitToXYZ(const recob::Hit &hit)
const std::vector< sim::TrackIDE > HitToTrackIDEs(recob::Hit const &hit)
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
fhicl::Table< BackTracker::fhiclConfig > BackTrackerTable
#define DECLARE_ART_SERVICE(svc, scope)
const std::set< int > GetSetOfEveIds()
const art::Ptr< sim::SimChannel > FindSimChannel(raw::ChannelID_t channel)
const std::vector< double > SpacePointToXYZ(art::Ptr< recob::SpacePoint > const &spt)
const std::vector< const sim::IDE * > HitToSimIDEs_Ps(recob::Hit const &hit)
const std::set< int > GetSetOfTrackIds()
const double HitChargeCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits)
const std::vector< const sim::IDE * > TrackIdToSimIDEs_Ps(int const &id)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
const std::vector< art::Ptr< recob::Hit > > SpacePointToHits_Ps(art::Ptr< recob::SpacePoint > const &spt)
const std::vector< int > HitToTrackIds(recob::Hit const &hit)
void Rebuild(const art::Event &evt)
BackTrackerService(const fhicl::ParameterSet &pSet, art::ActivityRegistry ®)
bool SimChannelsReady() const
void priv_PrepSimChannels(const art::Event &evt)
const provider_type * provider() 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 std::vector< double > SpacePointHitsToWeightedXYZ(std::vector< art::Ptr< recob::Hit >> const &hits)
Detector simulation of raw signals on wires.
bool priv_CanRun(const art::Event &evt)
void priv_PrepEvent(const art::Event &evt)
code to link reconstructed objects back to the MC truth information
const double HitCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits)
const std::vector< sim::TrackIDE > HitToEveTrackIDEs(recob::Hit const &hit)
const std::vector< art::Ptr< recob::Hit > > TrackIdToHits_Ps(const int &tkId, std::vector< art::Ptr< recob::Hit > > const &hitsIn)
bool priv_SimChannelsReady()
Header for the ParticleInvenotry Service Provider.
2D representation of charge deposited in the TDC/wire plane
unsigned int ChannelID_t
Type representing the ID of a readout channel.
const std::vector< art::Ptr< sim::SimChannel > > & SimChannels()
const std::vector< sim::TrackIDE > ChannelToTrackIDEs(raw::ChannelID_t channel, const double hit_start_time, const double hit_end_time)
const std::vector< sim::IDE > HitToAvgSimIDEs(recob::Hit const &hit)
art framework interface to geometry description
BackTracker(const fhiclConfig &config, const cheat::ParticleInventory *partInv, const geo::GeometryCore *geom, const detinfo::DetectorClocks *detClock)