27 pSet.get<
fhicl::ParameterSet>(
"BackTracker"),
39 config.BackTrackerTable(),
79 <<
"The called Prep Function failed. This is most likely due " 80 <<
"to a BackTracker function being used on a file that is real data.";
88 catch(...){
mf::LogWarning(
"BackTrackerService") <<
"Rebuild failed to get the SimChannels. This is expected when running on a gernation or simulation step.";}
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 > SpacePointHitsToWeightedXYZ(std::vector< art::Ptr< recob::Hit >> const &hits) const
const std::vector< double > SimIDEsToXYZ(std::vector< sim::IDE > const &ides)
Utilities related to art service access.
void PrepSimChannels(const Evt &evt)
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.
T::provider_type const * providerFrom()
Returns a constant pointer to the provider of specified service.
#define DEFINE_ART_SERVICE(svc)
const std::set< int > GetSetOfEveIds() const
const std::vector< sim::TrackIDE > ChannelToTrackIDEs(raw::ChannelID_t channel, const double hit_start_time, const double hit_end_time) const
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< sim::TrackIDE > HitToTrackIDEs(recob::Hit const &hit) const
const std::vector< const sim::IDE * > HitToSimIDEs_Ps(recob::Hit const &hit)
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 std::vector< int > HitToTrackIds(recob::Hit const &hit) const
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)
bool CanRun(const Evt &evt)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
const std::vector< const sim::IDE * > TrackIdToSimIDEs_Ps(int const &id) const
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 ®)
art::Ptr< sim::SimChannel > FindSimChannel(raw::ChannelID_t channel) const
void priv_PrepSimChannels(const art::Event &evt)
const std::vector< art::Ptr< recob::Hit > > SpacePointToHits_Ps(art::Ptr< recob::SpacePoint > const &spt, const Evt &evt) const
const std::vector< double > HitToXYZ(const recob::Hit &hit) 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 double HitChargeCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) const
const std::vector< const sim::IDE * > HitToSimIDEs_Ps(recob::Hit const &hit) const
const std::vector< sim::TrackIDE > HitToEveTrackIDEs(recob::Hit const &hit) const
General LArSoft Utilities.
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.
const std::vector< art::Ptr< sim::SimChannel > > & SimChannels() const
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 std::vector< double > SpacePointToXYZ(art::Ptr< recob::SpacePoint > const &spt, const Evt &evt) 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 double HitCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits)
LArSoft-specific namespace.
const std::vector< sim::TrackIDE > HitToEveTrackIDEs(recob::Hit const &hit)
const std::set< int > GetSetOfTrackIds() const
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &)> sPreProcessEvent
const std::vector< art::Ptr< recob::Hit > > TrackIdToHits_Ps(const int &tkId, std::vector< art::Ptr< recob::Hit > > const &hitsIn)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
bool priv_SimChannelsReady()
const std::vector< sim::IDE > HitToAvgSimIDEs(recob::Hit const &hit) const
const std::vector< double > SimIDEsToXYZ(std::vector< sim::IDE > const &ides) const
2D representation of charge deposited in the TDC/wire plane
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Namespace collecting geometry-related classes utilities.
const std::vector< art::Ptr< sim::SimChannel > > & SimChannels()
std::vector< art::Ptr< recob::Hit > > TrackIdToHits_Ps(const int &tkId, std::vector< art::Ptr< recob::Hit > > const &hitsIn) const
const std::vector< sim::TrackIDE > ChannelToTrackIDEs(raw::ChannelID_t channel, const double hit_start_time, const double hit_end_time)
const double HitCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) const
const std::vector< sim::IDE > HitToAvgSimIDEs(recob::Hit const &hit)
art framework interface to geometry description
cet::coded_exception< error, detail::translate > exception