1 #ifndef Calibration_TkAlCaRecoProducers_CalibrationTrackSelector_h
2 #define Calibration_TkAlCaRecoProducers_CalibrationTrackSelector_h
20 typedef std::vector<const reco::Track*>
Tracks;
47 return t1->
pt()> t2->
pt();
const edm::InputTag matchedrecHitsTag_
const bool multiplicityOnInput_
std::vector< const reco::Track * > Tracks
Tracks select(const Tracks &tracks, const edm::Event &evt) const
select tracks
const double minHitChargeStrip_
const bool applyIsolation_
const bool seedOnlyFromAbove_
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_
const double ptMin_
if true, cut min/maxMultiplicity on input instead of on final result
compare two tracks in pt (used by theNHighestPtTracks)
bool operator()(const reco::Track *t1, const reco::Track *t2) const
const unsigned int nHitMin2D_
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 bool applyNHighestPt_