#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) | |
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 18 of file AlignmentTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentTrackSelector::Tracks |
Definition at line 23 of file AlignmentTrackSelector.h.
AlignmentTrackSelector::AlignmentTrackSelector | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 35 of file AlignmentTrackSelector.cc.
References reco::TrackBase::algoByName(), applyBasicCuts_, applyIsolation_, applyIterStepCheck_, applyMultiplicityFilter_, applyNHighestPt_, applyPrescaledHitsFilter_, applyTrkQualityCheck_, chargeCheck_, chi2nMax_, clusterValueMapTag_, countStereoHitAs2D_, etaMax_, etaMin_, edm::hlt::Exception, edm::ParameterSet::getParameter(), i, 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_, AlCaHLTBitMon_QueryRunRegistry::string, trkQualities_, and trkSteps_.
AlignmentTrackSelector::~AlignmentTrackSelector | ( | ) |
|
private |
apply basic cuts on pt,eta,phi,nhit
Definition at line 278 of file AlignmentTrackSelector.cc.
References applyIterStepCheck_, applyTrkQualityCheck_, reco::TrackBase::charge(), chi2nMax_, reco::TrackBase::d0(), d0Max_, d0Min_, detailedHitsCheck(), reco::TrackBase::dz(), dzMax_, dzMin_, reco::TrackBase::eta(), eta(), etaMax_, etaMin_, edm::false, isOkTrkQuality(), nHitMax_, nHitMin_, nLostHitMax_, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), reco::TrackBase::numberOfValidHits(), reco::TrackBase::p(), AlCaHLTBitMon_ParallelJobs::p, phi, reco::TrackBase::phi(), phiMax_, phiMin_, pMax_, pMin_, RecoTauCleanerPlugins::pt, reco::TrackBase::pt(), ptMax_, ptMin_, lumiQueryAPI::q, query::result, theCharge_, and funct::true.
Referenced by select().
|
private |
Definition at line 682 of file AlignmentTrackSelector.cc.
References clusterValueMapTag_, cond::rpcobgas::detid, TrackingRecHit::geographicalId(), edm::Event::getByLabel(), AlignmentClusterFlag::isTaken(), TrackingRecHit::isValid(), kBPIX, kFPIX, minPrescaledHits_, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), query::result, and DetId::subdetId().
Referenced by select().
|
private |
checking hit requirements beyond simple number of valid hits
Definition at line 329 of file AlignmentTrackSelector.cc.
References funct::abs(), applyIsolation_, chargeCheck_, edm::EventSetup::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< class >::product(), TrackerTopology::pxfSide(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), 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 477 of file AlignmentTrackSelector.cc.
References countStereoHitAs2D_, TrackingRecHit::dimension(), TrackingRecHit::geographicalId(), TrackingRecHit::isValid(), kBPIX, kFPIX, SiStripDetId::stereo(), and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 615 of file AlignmentTrackSelector.cc.
References TrackingRecHit::geographicalId(), edm::Event::getByLabel(), TrackingRecHit::localPosition(), mag(), matchedrecHitsTag_, minHitIsolation_, DetId::rawId(), and rphirecHitsTag_.
Referenced by detailedHitsCheck().
|
private |
if valid, check for minimum charge (currently only in strip), if invalid give true
Definition at line 517 of file AlignmentTrackSelector.cc.
References TrackingRecHit::geographicalId(), isOkChargeStripHit(), TrackingRecHit::isValid(), kBPIX, kFPIX, and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 599 of file AlignmentTrackSelector.cc.
References DeDxDiscriminatorTools::charge(), and minHitChargeStrip_.
Referenced by isOkCharge().
|
private |
Definition at line 583 of file AlignmentTrackSelector.cc.
References DeDxDiscriminatorTools::charge(), and minHitChargeStrip_.
|
private |
Definition at line 754 of file AlignmentTrackSelector.cc.
References reco::TrackBase::algo(), applyIterStepCheck_, applyTrkQualityCheck_, i, reco::TrackBase::quality(), 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 235 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, applyPrescaledHitsFilter_, basicCuts(), checkPrescaledHits(), maxMultiplicity_, minMultiplicity_, multiplicityOnInput_, query::result, theNHighestPtTracks(), and testEve_cfg::tracks.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.AbstractView.AbstractView::restoreSelection(), and TrackConfigSelector::select().
|
private |
filter the n highest pt tracks
Definition at line 661 of file AlignmentTrackSelector.cc.
References n, nHighestPt_, ptComparator, query::result, python.multivaluedict::sort(), and testEve_cfg::tracks.
Referenced by select().
bool AlignmentTrackSelector::useThisFilter | ( | ) |
returns if any of the Filters is used.
Definition at line 268 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, and applyPrescaledHitsFilter_.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 65 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 66 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 65 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 65 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 66 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 89 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and checkPrescaledHits().
|
private |
Definition at line 75 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isHit2D().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 74 of file AlignmentTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 82 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 67 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkChargeStripHit().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isIsolated().
|
private |
Definition at line 78 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 81 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 78 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 78 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 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 67 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 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and select().
|
private |
Definition at line 67 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and theNHighestPtTracks().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 76 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 83 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 69 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 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
if true, cut min/maxMultiplicity on input instead of on final result
Definition at line 69 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 85 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 87 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 73 of file AlignmentTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 66 of file AlignmentTrackSelector.h.
Referenced by detailedHitsCheck().
|
private |
Definition at line 71 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().