1 #ifndef TRACKCALORIMETRYALG_H 2 #define TRACKCALORIMETRYALG_H 26 class DetectorClocksData;
27 class DetectorPropertiesData;
39 class TrackCalorimetryAlg;
48 std::vector<recob::Track>
const&,
49 std::vector<recob::Hit>
const&,
51 std::vector<anab::Calorimetry>&,
61 HitProperties(
float q,
float dqdx,
float dedx,
float p, TVector3 pos,
float pf)
62 : charge(q), dQdx(dqdx),
dEdx(dedx), pitch(p), xyz(pos), path_fraction(pf)
72 std::cout <<
"\tCharge " << charge <<
" dQdx " << dQdx <<
" dEdx " << dEdx <<
" pitch " 73 << pitch <<
" (x,y,z) (" << xyz.X() <<
"," << xyz.Y() <<
"," << xyz.Z() <<
")" 74 <<
" path_fraction " << path_fraction << std::endl;
93 std::vector<float>
const&,
101 size_t const& i_track,
102 std::vector<anab::Calorimetry>& caloVector,
103 std::vector<size_t>& assnTrackCaloVector,
bool operator()(HitProperties const &i, HitProperties const &j) const
Reconstruction base classes.
The data type to uniquely identify a Plane.
std::multiset< HitProperties, HitPropertySorter > HitPropertiesMultiset_t
IDparameter< geo::PlaneID > PlaneID
Member type of validated geo::PlaneID parameter.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
Interface for a class providing readout channel mapping to geometry.
General LArSoft Utilities.
float dEdx(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, TP3D &tp3d)
Contains all timing reference information for the detector.
unsigned int fNHitsToDetermineStart
2D representation of charge deposited in the TDC/wire plane
HitProperties(float q, float dqdx, float dedx, float p, TVector3 pos, float pf)
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: