8 #ifndef CD_NuclearTester_H_
9 #define CD_NuclearTester_H_
22 typedef std::pair<TrajectoryMeasurement, TMContainer >
TMPair;
30 double meanHitDistance(
const std::vector<TrajectoryMeasurement>& vecTM)
const;
32 std::vector<GlobalPoint>
HitPositions(
const std::vector<TrajectoryMeasurement>& vecTM)
const;
34 double fwdEstimate(
const std::vector<TrajectoryMeasurement>& vecTM)
const;
36 std::vector<TM>::const_iterator
lastValidTM(
const std::vector<TM>& vecTM)
const;
39 allTM.push_back(std::make_pair(init_tm, vecTM) );
49 void reset(
unsigned int nMeasurements) {
bool checkWithMultiplicity()
double fwdEstimate() const
const MeasurementEstimator * theEstimator
std::vector< int > compatibleHits() const
std::vector< GlobalPoint > HitPositions(const std::vector< TrajectoryMeasurement > &vecTM) const
const TMContainer & back() const
std::vector< TM >::const_iterator lastValidTM(const std::vector< TM > &vecTM) const
std::vector< TM > TMContainer
std::vector< int > compatible_hits
bool isNuclearInteraction()
void push_back(const TM &init_tm, const TMContainer &vecTM)
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
void reset(unsigned int nMeasurements)
std::pair< TrajectoryMeasurement, TMContainer > TMPair
std::vector< TMPair > TMPairVector
TrajectoryMeasurement::ConstRecHitPointer ConstRecHitPointer
NuclearTester(unsigned int max_hits, const MeasurementEstimator *est, const TrackerGeometry *track_geom)
const TrackerGeometry * trackerGeom
Class used to test if a track has interacted nuclearly.
unsigned int nHitsChecked() const
const TMPair & goodTMPair() const
double meanHitDistance() const