1 #ifndef Calibration_TkAlCaRecoProducers_CalibrationTrackSelector_h
2 #define Calibration_TkAlCaRecoProducers_CalibrationTrackSelector_h
17 typedef std::vector<const reco::Track *>
Tracks;
const edm::InputTag matchedrecHitsTag_
const bool multiplicityOnInput_
Tracks select(const Tracks &tracks, const edm::Event &evt) const
select tracks
const double minHitChargeStrip_
auto const & tracks
cannot be loose
const bool applyIsolation_
const int minMultiplicity_
const bool applyMultiplicityFilter_
bool isIsolated(const TrackingRecHit *therechit, const edm::Event &evt) const
bool detailedHitsCheck(const reco::Track *track, const edm::Event &evt) const
checking hit requirements beyond simple number of valid hits
double pt() const
track transverse momentum
const edm::InputTag rphirecHitsTag_
~CalibrationTrackSelector()
destructor
bool isOkCharge(const TrackingRecHit *therechit) const
const double minHitIsolation_
const int maxMultiplicity_
compare two tracks in pt (used by theNHighestPtTracks)
bool operator()(const reco::Track *t1, const reco::Track *t2) const
const unsigned int nHitMin2D_
std::vector< const reco::Track * > Tracks
Tracks theNHighestPtTracks(const Tracks &tracks) const
filter the n highest pt tracks
const bool applyBasicCuts_
bool isHit2D(const TrackingRecHit &hit) const
CalibrationTrackSelector(const edm::ParameterSet &cfg)
constructor
Tracks basicCuts(const Tracks &tracks, const edm::Event &evt) const
apply basic cuts on pt,eta,phi,nhit
const int seedOnlyFromAbove_
const bool applyNHighestPt_