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