8 #ifndef CD_NuclearTester_H_ 9 #define CD_NuclearTester_H_ 21 typedef std::pair<TrajectoryMeasurement, TMContainer>
TMPair;
29 double meanHitDistance(
const std::vector<TrajectoryMeasurement>& vecTM)
const;
31 std::vector<GlobalPoint>
HitPositions(
const std::vector<TrajectoryMeasurement>& vecTM)
const;
33 double fwdEstimate(
const std::vector<TrajectoryMeasurement>& vecTM)
const;
35 std::vector<TM>::const_iterator
lastValidTM(
const std::vector<TM>& vecTM)
const;
38 allTM.push_back(std::make_pair(init_tm, vecTM));
48 void reset(
unsigned int nMeasurements) {
std::vector< int > compatible_hits
std::vector< TM >::const_iterator lastValidTM(const std::vector< TM > &vecTM) const
bool checkWithMultiplicity()
const MeasurementEstimator * theEstimator
std::pair< TrajectoryMeasurement, TMContainer > TMPair
std::vector< TMPair > TMPairVector
std::vector< TM > TMContainer
const TMPair & goodTMPair() const
bool isNuclearInteraction()
void push_back(const TM &init_tm, const TMContainer &vecTM)
std::vector< GlobalPoint > HitPositions(const std::vector< TrajectoryMeasurement > &vecTM) const
const TMContainer & back() const
void reset(unsigned int nMeasurements)
std::vector< int > compatibleHits() const
unsigned int nHitsChecked() const
TrajectoryMeasurement::ConstRecHitPointer ConstRecHitPointer
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
double meanHitDistance() const
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.
double fwdEstimate() const