1 #ifndef PROTODUNE_TRACK_UTILS_H 2 #define PROTODUNE_TRACK_UTILS_H 51 float calc_dEdX(
double,
double,
double,
double,
double,
double );
55 const std::vector<const recob::Hit*> GetRecoTrackHitsFromPlane(
const recob::Track &track,
art::Event const &evt,
const std::string trackModule,
unsigned int planeID)
const;
64 std::pair< double, int > Chi2PID(
const std::vector< double > & track_dedx,
const std::vector< double > & range, TProfile * profile );
73 std::pair<double, int> GetVertexMichelScore(
76 double min_length = 5.,
double min_x = -200.,
77 double max_x = 0.,
double min_y = 200.,
double max_y = 500.,
78 double min_z = 25.,
bool check_wire =
true,
double check_x = 0,
79 double check_y = 0.,
double check_z = 0.);
80 std::pair<double, double> GetVertexMichelScore_weight_by_charge(
83 double min_length = 5.,
double min_x = -200.,
84 double max_x = 0.,
double min_y = 200.,
double max_y = 500.,
85 double min_z = 25.,
bool check_wire =
true,
double check_x = 0,
86 double check_y = 0.,
double check_z = 0.);
87 std::pair<double, int> GetVertexMichelScoreAlt(
90 double min_length = 5.,
double min_x = -200.,
91 double max_x = 0.,
double min_y = 200.,
double max_y = 500.,
92 double min_z = 25.,
bool check_wire =
true,
double check_x = 0,
93 double check_y = 0.,
double check_z = 0.);
std::vector< float > Combined_ResidualRange
const recob::Track * secondTrack
static constexpr double ps
std::vector< float > Combined_dQdx
std::vector< float > Combined_dEdx
Declaration of signal hit object.
const recob::Track * firstTrack
Provides recob::Track data product.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: