158 std::cout <<
" *** PFParticleTrackAna::analyze(...) *** " << std::endl;
180 std::cout <<
" Run: " <<
m_run << std::endl;
181 std::cout <<
" Event: " <<
m_event << std::endl;
187 std::cout <<
" Tracks: " << trackVector.size() << std::endl;
PFParticleTrackAna class.
virtual ~PFParticleTrackAna()
Destructor.
Point_t const & LocationAtPoint(size_t i) const
Access to track position at different points.
size_t NumberTrajectoryPoints() const
Various functions related to the presence and the number of (valid) points.
std::map< art::Ptr< recob::Track >, HitVector > TracksToHits
std::string m_trackModuleLabel
std::vector< art::Ptr< recob::Track > > TrackVector
void reconfigure(fhicl::ParameterSet const &pset)
double Length(size_t p=0) const
Access to various track properties.
#define DEFINE_ART_MODULE(klass)
Provides recob::Track data product.
PFParticleTrackAna(fhicl::ParameterSet const &pset)
Constructor.
T get(std::string const &key) const
EDAnalyzer(Table< Config > const &config)
void analyze(const art::Event &evt)
static void CollectTracks(const art::Event &evt, const std::string &label, TrackVector &trackVector, PFParticlesToTracks &particlesToTracks)
Collect the reconstructed PFParticles and associated Tracks from the ART event record.
T * make(ARGS...args) const
EventNumber_t event() const
Vector_t DirectionAtPoint(size_t i) const
Access to track direction at different points.
helper function for LArPandoraInterface producer module
art framework interface to geometry description