Go to the documentation of this file.
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) {
const MeasurementEstimator * theEstimator
std::vector< TM > TMContainer
std::pair< TrajectoryMeasurement, TMContainer > TMPair
void push_back(const TM &init_tm, const TMContainer &vecTM)
std::vector< TMPair > TMPairVector
const TrackerGeometry * trackerGeom
const TMPair & goodTMPair() const
std::vector< TM >::const_iterator lastValidTM(const std::vector< TM > &vecTM) const
const TMContainer & back() const
unsigned int nHitsChecked() const
double fwdEstimate() const
std::vector< int > compatible_hits
std::vector< int > compatibleHits() const
bool isNuclearInteraction()
TrajectoryMeasurement::ConstRecHitPointer ConstRecHitPointer
bool checkWithMultiplicity()
Class used to test if a track has interacted nuclearly.
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
double meanHitDistance() const
NuclearTester(unsigned int max_hits, const MeasurementEstimator *est, const TrackerGeometry *track_geom)
std::vector< GlobalPoint > HitPositions(const std::vector< TrajectoryMeasurement > &vecTM) const
void reset(unsigned int nMeasurements)