#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 25 of file AlignmentTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentTrackSelector::Tracks |
Definition at line 27 of file AlignmentTrackSelector.h.
AlignmentTrackSelector::AlignmentTrackSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 30 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_, qualities, reco::TrackBase::qualityByName(), RorZofFirstHitMax_, RorZofFirstHitMin_, RorZofLastHitMax_, RorZofLastHitMin_, rphirecHitsToken_, AlCaHLTBitMon_QueryRunRegistry::string, trkQualities_, and trkSteps_.
|
default |
destructor
|
private |
apply basic cuts on pt,eta,phi,nhit
Definition at line 267 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_, submitPVResolutionJobs::q, mps_fire::result, theCharge_, and tracks.
Referenced by select().
|
private |
Definition at line 668 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 tracks.
Referenced by select().
|
private |
checking hit requirements beyond simple number of valid hits
Definition at line 318 of file AlignmentTrackSelector.cc.
References funct::abs(), applyIsolation_, chargeCheck_, edm::EventSetup::getData(), 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(), 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, DetId::Tracker, and tTopoToken_.
Referenced by basicCuts().
|
private |
Definition at line 468 of file AlignmentTrackSelector.cc.
References countStereoHitAs2D_, kBPIX, kFPIX, ProjectedSiStripRecHit2D::originalHit(), SiStripDetId::stereo(), and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 599 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 508 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 584 of file AlignmentTrackSelector.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, SiStripRecHit1D::cluster(), and minHitChargeStrip_.
Referenced by isOkCharge().
|
private |
Definition at line 569 of file AlignmentTrackSelector.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, SiStripRecHit2D::cluster(), and minHitChargeStrip_.
|
private |
Definition at line 738 of file AlignmentTrackSelector.cc.
References applyIterStepCheck_, applyTrkQualityCheck_, mps_fire::i, HLT_2022v12_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 227 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, applyPrescaledHitsFilter_, basicCuts(), checkPrescaledHits(), maxMultiplicity_, minMultiplicity_, multiplicityOnInput_, mps_fire::result, theNHighestPtTracks(), and tracks.
Referenced by TrackConfigSelector::select().
|
private |
filter the n highest pt tracks
Definition at line 647 of file AlignmentTrackSelector.cc.
References dqmiodumpmetadata::n, nHighestPt_, ptComparator, mps_fire::result, jetUpdater_cfi::sort, and tracks.
Referenced by select().
bool AlignmentTrackSelector::useThisFilter | ( | ) |
returns if any of the Filters is used.
Definition at line 261 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, and applyPrescaledHitsFilter_.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 67 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 101 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), basicCuts(), and isOkTrkQuality().
|
private |
Definition at line 67 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 67 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 95 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 100 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), basicCuts(), and isOkTrkQuality().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 92 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 93 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and checkPrescaledHits().
|
private |
Definition at line 78 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isHit2D().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 77 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isIsolated().
|
private |
Definition at line 85 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 75 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkChargeStripHit().
|
private |
Definition at line 75 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 84 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 84 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 84 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 81 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 83 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 81 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 82 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 82 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 82 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 82 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 70 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 94 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and checkPrescaledHits().
|
private |
Definition at line 71 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and theNHighestPtTracks().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 79 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 86 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 63 of file AlignmentTrackSelector.h.
Referenced by theNHighestPtTracks().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector().
|
private |
if true, cut min/maxMultiplicity on input instead of on final result
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 88 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 87 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 90 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 89 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 76 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isIsolated().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by detailedHitsCheck().
|
private |
Definition at line 74 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 97 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkTrkQuality().
|
private |
Definition at line 99 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkTrkQuality().
|
private |
Definition at line 65 of file AlignmentTrackSelector.h.
Referenced by detailedHitsCheck().