11 #ifndef CHEAT_BACKTRACKER_H 12 #define CHEAT_BACKTRACKER_H 61 template<
typename Evt>
64 template<
typename Evt>
71 template<
typename Evt>
75 template<
typename Evt>
79 template<
typename Evt>
132 const std::vector<double>
SimIDEsToXYZ( std::vector< sim::IDE >
const& ides)
const;
133 const std::vector<double>
SimIDEsToXYZ( std::vector< const sim::IDE* >
const& ide_Ps)
const;
174 #endif //CHEAT_BACKTRACKER_H
fhicl::Atom< bool > OverrideRealData
const art::InputTag fHitLabel
const std::vector< double > SpacePointHitsToWeightedXYZ(std::vector< art::Ptr< recob::Hit >> const &hits) const
const geo::GeometryCore * fGeom
void PrepSimChannels(const Evt &evt)
std::vector< art::Ptr< sim::SimChannel > > fSimChannels
fhicl::Atom< double > MinHitEnergyFraction
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
const detinfo::DetectorClocks * fDetClocks
const std::vector< const sim::IDE * > HitToSimIDEs_Ps(art::Ptr< recob::Hit > const &hit) const
Declaration of signal hit object.
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 double fMinHitEnergyFraction
const std::vector< double > HitToXYZ(art::Ptr< recob::Hit > const &hit) const
pure virtual base interface for detector clocks
const std::vector< sim::TrackIDE > HitToTrackIDEs(recob::Hit const &hit) 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 std::vector< int > HitToTrackIds(recob::Hit const &hit) const
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
bool SimChannelsReady() const
art::Ptr< sim::SimChannel > FindSimChannel(raw::ChannelID_t channel) const
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
std::set< int > GetSetOfTrackIds() const
const double HitChargeCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) const
const cheat::ParticleInventory * fPartInv
const std::vector< const sim::IDE * > HitToSimIDEs_Ps(recob::Hit const &hit) const
const std::vector< sim::TrackIDE > HitToEveTrackIDEs(recob::Hit const &hit) const
std::set< int > GetSetOfEveIds() const
Description of geometry of one entire detector.
Detector simulation of raw signals on wires.
Conversion of times between different formats and references.
fhicl::Atom< art::InputTag > G4ModuleLabel
const std::vector< art::Ptr< sim::SimChannel > > & SimChannels() const
const std::vector< sim::TrackIDE > HitToEveTrackIDEs(art::Ptr< recob::Hit > const &hit) const
fhicl::Atom< art::InputTag > DefaultHitModuleLabel
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 bool fOverrideRealData
const std::set< int > GetSetOfTrackIds() const
const std::vector< sim::IDE > HitToAvgSimIDEs(art::Ptr< recob::Hit > hit) const
object containing MC truth information necessary for making RawDigits and doing back tracking ...
const std::vector< sim::IDE > HitToAvgSimIDEs(recob::Hit const &hit) const
Header for the ParticleInvenotry Service Provider.
const art::InputTag fG4ModuleLabel
const std::vector< double > SimIDEsToXYZ(std::vector< sim::IDE > const &ides) const
Data structure containing constant pointers to classes.
2D representation of charge deposited in the TDC/wire plane
unsigned int ChannelID_t
Type representing the ID of a readout channel.
std::vector< art::Ptr< recob::Hit > > TrackIdToHits_Ps(const int &tkId, std::vector< art::Ptr< recob::Hit > > const &hitsIn) const
const double HitCollectionPurity(std::set< int > const &trackIds, std::vector< art::Ptr< recob::Hit > > const &hits) const
const std::vector< sim::TrackIDE > HitToTrackIDEs(art::Ptr< recob::Hit > const &hit) const
void PrepEvent(const Evt &evt)
BackTracker(const fhiclConfig &config, const cheat::ParticleInventory *partInv, const geo::GeometryCore *geom, const detinfo::DetectorClocks *detClock)