1 #ifndef TRACKCALORIMETRYALG_H 2 #define TRACKCALORIMETRYALG_H 31 class TrackCalorimetryAlg;
44 std::vector<recob::Hit>
const&,
46 std::vector<anab::Calorimetry>&,
58 HitProperties(
float q,
float dqdx,
float dedx,
float p, TVector3 pos,
float pf):
68 std::cout <<
"\tCharge " << charge
72 <<
" (x,y,z) (" << xyz.X() <<
"," << xyz.Y() <<
"," << xyz.Z() <<
")" 73 <<
" path_fraction " << path_fraction << std::endl;
91 std::vector<float>
const&,
92 HitPropertiesMultiset_t &,
93 geo::GeometryCore
const&);
99 size_t const& i_track,
100 std::vector<anab::Calorimetry>& caloVector,
101 std::vector<size_t>& assnTrackCaloVector,
bool IsInvertedTrack(HitPropertiesMultiset_t const &)
Declaration of signal hit object.
void MakeCalorimetryObject(HitPropertiesMultiset_t const &hpm, recob::Track const &track, size_t const &i_track, std::vector< anab::Calorimetry > &caloVector, std::vector< size_t > &assnTrackCaloVector, geo::PlaneID const &planeID)
The data type to uniquely identify a Plane.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
std::vector< float > CreatePathLengthFractionVector(recob::Track const &track)
Provides recob::Track data product.
void PrintHitPropertiesMultiset(HitPropertiesMultiset_t const &hpm)
void ReserveInternalVectors(size_t s)
Description of geometry of one entire detector.
TrackCalorimetryAlg(fhicl::ParameterSet const &p)
void ClearInternalVectors()
Container for a list of pointers to providers.
unsigned int fNHitsToDetermineStart
std::multiset< HitProperties, HitPropertySorter > HitPropertiesMultiset_t
void reconfigure(fhicl::ParameterSet const &p)
Data structure containing constant pointers to classes.
2D representation of charge deposited in the TDC/wire plane
void ExtractCalorimetry(std::vector< recob::Track > const &, std::vector< recob::Hit > const &, std::vector< std::vector< size_t > > const &, std::vector< anab::Calorimetry > &, std::vector< size_t > &, Providers_t providers)
HitProperties(float q, float dqdx, float dedx, float p, TVector3 pos, float pf)
void AnalyzeHit(recob::Hit const &, recob::Track const &, std::vector< std::pair< geo::WireID, float > > const &, std::vector< float > const &, HitPropertiesMultiset_t &, geo::GeometryCore const &)
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: