#include <AlignmentTrackSelector.h>
Classes | |
struct | ComparePt |
compare two tracks in pt (used by theNHighestPtTracks) More... | |
Public Types | |
typedef std::vector< const reco::Track * > | Tracks |
Public Member Functions | |
AlignmentTrackSelector (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
constructor More... | |
Tracks | select (const Tracks &tracks, const edm::Event &evt, const edm::EventSetup &eSetup) const |
select tracks More... | |
bool | useThisFilter () |
returns if any of the Filters is used. More... | |
~AlignmentTrackSelector () | |
destructor More... | |
Private Member Functions | |
Tracks | basicCuts (const Tracks &tracks, const edm::Event &evt, const edm::EventSetup &eSetup) const |
apply basic cuts on pt,eta,phi,nhit More... | |
Tracks | checkPrescaledHits (const Tracks &tracks, const edm::Event &evt) const |
bool | detailedHitsCheck (const reco::Track *track, const edm::Event &evt, const edm::EventSetup &eSetup) const |
checking hit requirements beyond simple number of valid hits More... | |
bool | isHit2D (const TrackingRecHit &hit) const |
bool | isIsolated (const TrackingRecHit *therechit, const edm::Event &evt) const |
bool | isOkCharge (const TrackingRecHit *therechit) const |
if valid, check for minimum charge (currently only in strip), if invalid give true More... | |
bool | isOkChargeStripHit (const SiStripRecHit1D &siStripRecHit1D) const |
bool | isOkChargeStripHit (const SiStripRecHit2D &siStripRecHit2D) const |
bool | isOkTrkQuality (const reco::Track *track) const |
Tracks | theNHighestPtTracks (const Tracks &tracks) const |
filter the n highest pt tracks More... | |
Definition at line 23 of file AlignmentTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentTrackSelector::Tracks |
Definition at line 25 of file AlignmentTrackSelector.h.
AlignmentTrackSelector::AlignmentTrackSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 33 of file AlignmentTrackSelector.cc.
References reco::TrackBase::algoByName(), applyBasicCuts_, applyIsolation_, applyIterStepCheck_, applyMultiplicityFilter_, applyNHighestPt_, applyPrescaledHitsFilter_, applyTrkQualityCheck_, looper::cfg, chargeCheck_, chi2nMax_, clusterValueMapTag_, clusterValueMapToken_, edm::ConsumesCollector::consumes(), countStereoHitAs2D_, etaMax_, etaMin_, Exception, mps_fire::i, matchedrecHitsToken_, maxHitDiffEndcaps_, maxMultiplicity_, minHitChargeStrip_, minHitIsolation_, minHitsinBPIX_, minHitsinENDCAP_, minHitsinENDCAPminus_, minHitsinENDCAPplus_, minHitsinFPIX_, minHitsinFPIXminus_, minHitsinFPIXplus_, minHitsinPIX_, minHitsinTEC_, minHitsinTECminus_, minHitsinTECplus_, minHitsinTIB_, minHitsinTID_, minHitsinTIDminus_, minHitsinTIDplus_, minHitsinTOB_, minMultiplicity_, minPrescaledHits_, multiplicityOnInput_, nHighestPt_, nHitMax_, nHitMin2D_, nHitMin_, nLostHitMax_, phiMax_, phiMin_, pMax_, pMin_, ptMax_, ptMin_, reco::TrackBase::qualityByName(), RorZofFirstHitMax_, RorZofFirstHitMin_, RorZofLastHitMax_, RorZofLastHitMin_, rphirecHitsToken_, AlCaHLTBitMon_QueryRunRegistry::string, trkQualities_, and trkSteps_.
AlignmentTrackSelector::~AlignmentTrackSelector | ( | ) |
|
private |
apply basic cuts on pt,eta,phi,nhit
Definition at line 269 of file AlignmentTrackSelector.cc.
References applyIterStepCheck_, applyTrkQualityCheck_, reco::TrackBase::charge(), chi2n, chi2nMax_, d0, reco::TrackBase::d0(), d0Min_, detailedHitsCheck(), PVValHelper::dz, reco::TrackBase::dz(), dzMax_, dzMin_, PVValHelper::eta, reco::TrackBase::eta(), etaMin_, isOkTrkQuality(), nHitMax_, nHitMin_, nLostHitMax_, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), reco::TrackBase::numberOfValidHits(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), phi, reco::TrackBase::phi(), phiMin_, pMin_, DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::pt(), ptMin_, data-class-funcs::q, mps_fire::result, theCharge_, and PDWG_EXOHSCP_cff::tracks.
Referenced by select().
|
private |
Definition at line 672 of file AlignmentTrackSelector.cc.
References SiStripRecHit1D::cluster(), SiStripRecHit2D::cluster(), clusterValueMapToken_, RemoveAddSevLevel::flag, edm::Event::getByToken(), kBPIX, kFPIX, minPrescaledHits_, pixelClusterTagInfos_cfi::pixelhit, mps_fire::result, DetId::subdetId(), and PDWG_EXOHSCP_cff::tracks.
Referenced by select().
|
private |
checking hit requirements beyond simple number of valid hits
Definition at line 320 of file AlignmentTrackSelector.cc.
References funct::abs(), applyIsolation_, chargeCheck_, edm::EventSetup::get(), get, reco::Track::innerPosition(), isHit2D(), isIsolated(), isOkCharge(), kBPIX, kFPIX, maxHitDiffEndcaps_, minHitsinBPIX_, minHitsinENDCAP_, minHitsinENDCAPminus_, minHitsinENDCAPplus_, minHitsinFPIX_, minHitsinFPIXminus_, minHitsinFPIXplus_, minHitsinPIX_, minHitsinTEC_, minHitsinTECminus_, minHitsinTECplus_, minHitsinTIB_, minHitsinTID_, minHitsinTIDminus_, minHitsinTIDplus_, minHitsinTOB_, nHitMin2D_, reco::Track::outerPosition(), edm::ESHandle< T >::product(), TrackerTopology::pxfSide(), reco::Track::recHits(), RorZofFirstHitMax_, RorZofFirstHitMin_, RorZofLastHitMax_, RorZofLastHitMin_, seedOnlyFromAbove_, DetId::subdetId(), SiStripDetId::TEC, TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecIsZPlusSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidIsZPlusSide(), SiStripDetId::TOB, and DetId::Tracker.
Referenced by basicCuts().
|
private |
Definition at line 472 of file AlignmentTrackSelector.cc.
References countStereoHitAs2D_, kBPIX, kFPIX, ProjectedSiStripRecHit2D::originalHit(), SiStripDetId::stereo(), and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 603 of file AlignmentTrackSelector.cc.
References TrackingRecHit::geographicalId(), edm::Event::getByToken(), BaseTrackerRecHit::localPosition(), mag(), AlignmentTrackSelector_cfi::matchedrecHits, matchedrecHitsToken_, minHitIsolation_, DetId::rawId(), AlignmentTrackSelector_cfi::rphirecHits, and rphirecHitsToken_.
Referenced by detailedHitsCheck().
|
private |
if valid, check for minimum charge (currently only in strip), if invalid give true
Definition at line 512 of file AlignmentTrackSelector.cc.
References triggerObjects_cff::id, isOkChargeStripHit(), kBPIX, kFPIX, SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), SiStripMatchedRecHit2D::stereoHit(), and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 588 of file AlignmentTrackSelector.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, SiStripRecHit1D::cluster(), and minHitChargeStrip_.
Referenced by isOkCharge().
|
private |
Definition at line 573 of file AlignmentTrackSelector.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, SiStripRecHit2D::cluster(), and minHitChargeStrip_.
|
private |
Definition at line 742 of file AlignmentTrackSelector.cc.
References applyIterStepCheck_, applyTrkQualityCheck_, mps_fire::i, HLT_2018_cff::track, trkQualities_, and trkSteps_.
Referenced by basicCuts().
AlignmentTrackSelector::Tracks AlignmentTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | evt, | ||
const edm::EventSetup & | eSetup | ||
) | const |
select tracks
Definition at line 229 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, applyPrescaledHitsFilter_, basicCuts(), checkPrescaledHits(), maxMultiplicity_, minMultiplicity_, multiplicityOnInput_, mps_fire::result, theNHighestPtTracks(), and PDWG_EXOHSCP_cff::tracks.
Referenced by TrackConfigSelector::select().
|
private |
filter the n highest pt tracks
Definition at line 651 of file AlignmentTrackSelector.cc.
References dqmiodumpmetadata::n, nHighestPt_, ptComparator, mps_fire::result, and PDWG_EXOHSCP_cff::tracks.
Referenced by select().
bool AlignmentTrackSelector::useThisFilter | ( | ) |
returns if any of the Filters is used.
Definition at line 263 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, and applyPrescaledHitsFilter_.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 63 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 65 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 97 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), basicCuts(), and isOkTrkQuality().
|
private |
Definition at line 63 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 63 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 91 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 96 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), basicCuts(), and isOkTrkQuality().
|
private |
Definition at line 65 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 88 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 89 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and checkPrescaledHits().
|
private |
Definition at line 74 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isHit2D().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isIsolated().
|
private |
Definition at line 81 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 66 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 71 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkChargeStripHit().
|
private |
Definition at line 71 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isIsolated().
|
private |
Definition at line 77 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 80 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 80 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 80 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 77 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 79 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 79 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 77 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 76 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 78 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 78 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 76 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 76 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 78 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 78 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 76 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 66 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 90 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and checkPrescaledHits().
|
private |
Definition at line 67 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 66 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and theNHighestPtTracks().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 75 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 82 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 61 of file AlignmentTrackSelector.h.
Referenced by theNHighestPtTracks().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
if true, cut min/maxMultiplicity on input instead of on final result
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 84 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 83 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 86 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 85 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isIsolated().
|
private |
Definition at line 64 of file AlignmentTrackSelector.h.
Referenced by detailedHitsCheck().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 93 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkTrkQuality().
|
private |
Definition at line 95 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkTrkQuality().