79 #include "art_root_io/TFileDirectory.h" 80 #include "art_root_io/TFileService.h" 122 m_pCaloTree = tfs->make<TTree>(
"calorimetry",
"LAr Track Calo Tree");
150 std::cout <<
" *** PFParticleTrackAna::analyze(...) *** " << std::endl;
172 std::cout <<
" Run: " <<
m_run << std::endl;
173 std::cout <<
" Event: " <<
m_event << std::endl;
179 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.
EDAnalyzer(fhicl::ParameterSet const &pset)
std::string m_trackModuleLabel
void reconfigure(fhicl::ParameterSet const &pset)
double Length(size_t p=0) const
Access to various track properties.
#define DEFINE_ART_MODULE(klass)
PFParticleTrackAna(fhicl::ParameterSet const &pset)
Constructor.
T get(std::string const &key) const
Provides recob::Track data product.
std::vector< art::Ptr< recob::Track > > TrackVector
std::map< art::Ptr< recob::Track >, HitVector > TracksToHits
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.
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