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;
37 void push_back(
const TM& init_tm,
const TMContainer& vecTM) {
38 allTM.push_back(std::make_pair(init_tm, vecTM));
42 const TMContainer&
back()
const {
return allTM.back().second; }
48 void reset(
unsigned int nMeasurements) {
std::vector< int > compatible_hits
bool checkWithMultiplicity()
double fwdEstimate() const
const MeasurementEstimator * theEstimator
std::vector< int > compatibleHits() const
std::pair< TrajectoryMeasurement, TMContainer > TMPair
std::vector< GlobalPoint > HitPositions(const std::vector< TrajectoryMeasurement > &vecTM) const
const TMContainer & back() const
std::vector< TMPair > TMPairVector
std::vector< TM >::const_iterator lastValidTM(const std::vector< TM > &vecTM) const
std::vector< TM > TMContainer
bool isNuclearInteraction()
void push_back(const TM &init_tm, const TMContainer &vecTM)
void reset(unsigned int nMeasurements)
TrajectoryMeasurement::ConstRecHitPointer ConstRecHitPointer
TrackingRecHit::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