79 #include "art_root_io/TFileDirectory.h" 80 #include "art_root_io/TFileService.h" 81 #include "canvas/Persistency/Common/FindManyP.h" 82 #include "canvas/Persistency/Common/FindOneP.h" 124 m_pCaloTree = tfs->make<TTree>(
"calorimetry",
"LAr Track Calo Tree");
155 std::cout <<
" *** PFParticleTrackAna::analyze(...) *** " <<
std::endl;
184 std::cout <<
" Tracks: " << trackVector.size() <<
std::endl;
PFParticleTrackAna class.
virtual ~PFParticleTrackAna()
Destructor.
Point_t const & LocationAtPoint(size_t i) const
size_t NumberTrajectoryPoints() const
Various functions related to the presence and the number of (valid) points.
EDAnalyzer(fhicl::ParameterSet const &pset)
art framework interface to geometry description
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
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.
Provides recob::Track data product.
EventNumber_t event() const
Vector_t DirectionAtPoint(size_t i) const
helper function for LArPandoraInterface producer module
QTextStream & endl(QTextStream &s)