#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 |
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 |
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 |
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 17 of file AlignmentTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentTrackSelector::Tracks |
Definition at line 22 of file AlignmentTrackSelector.h.
AlignmentTrackSelector::AlignmentTrackSelector | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 32 of file AlignmentTrackSelector.cc.
References reco::TrackBase::algoByName(), applyBasicCuts_, applyIsolation_, applyIterStepCheck_, applyMultiplicityFilter_, applyNHighestPt_, applyPrescaledHitsFilter_, applyTrkQualityCheck_, chargeCheck_, chi2nMax_, clusterValueMapTag_, countStereoHitAs2D_, etaMax_, etaMin_, 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(), trkQualities_, and trkSteps_.
AlignmentTrackSelector::~AlignmentTrackSelector | ( | ) |
|
private |
apply basic cuts on pt,eta,phi,nhit
Definition at line 230 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_, funct::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_, reco::TrackBase::pt(), ptMax_, ptMin_, lumiQueryAPI::q, query::result, theCharge_, and funct::true.
Referenced by select().
|
private |
Definition at line 593 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 281 of file AlignmentTrackSelector.cc.
References abs, applyIsolation_, chargeCheck_, isHit2D(), isIsolated(), isOkCharge(), TIDDetId::isZMinusSide(), TECDetId::isZMinusSide(), TIDDetId::isZPlusSide(), TECDetId::isZPlusSide(), kBPIX, kFPIX, maxHitDiffEndcaps_, minHitsinBPIX_, minHitsinENDCAP_, minHitsinENDCAPminus_, minHitsinENDCAPplus_, minHitsinFPIX_, minHitsinFPIXminus_, minHitsinFPIXplus_, minHitsinPIX_, minHitsinTEC_, minHitsinTECminus_, minHitsinTECplus_, minHitsinTIB_, minHitsinTID_, minHitsinTIDminus_, minHitsinTIDplus_, minHitsinTOB_, nHitMin2D_, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), seedOnlyFromAbove_, PXFDetId::side(), DetId::subdetId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and DetId::Tracker.
Referenced by basicCuts().
|
private |
Definition at line 388 of file AlignmentTrackSelector.cc.
References countStereoHitAs2D_, TrackingRecHit::dimension(), TrackingRecHit::geographicalId(), TrackingRecHit::isValid(), kBPIX, kFPIX, ProjectedSiStripRecHit2D::originalHit(), SiStripDetId::stereo(), and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 526 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 428 of file AlignmentTrackSelector.cc.
References TrackingRecHit::geographicalId(), errorMatrix2Lands_multiChannel::id, isOkChargeStripHit(), TrackingRecHit::isValid(), kBPIX, kFPIX, ProjectedSiStripRecHit2D::originalHit(), and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 510 of file AlignmentTrackSelector.cc.
References DeDxDiscriminatorTools::charge(), and minHitChargeStrip_.
Referenced by isOkCharge().
|
private |
Definition at line 494 of file AlignmentTrackSelector.cc.
References DeDxDiscriminatorTools::charge(), and minHitChargeStrip_.
|
private |
Definition at line 665 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 |
select tracks
Definition at line 187 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 572 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 220 of file AlignmentTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, and applyPrescaledHitsFilter_.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 64 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 92 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), basicCuts(), and isOkTrkQuality().
|
private |
Definition at line 64 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 64 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 86 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 91 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 84 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.
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 69 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
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(), and basicCuts().
|
private |
Definition at line 73 of file AlignmentTrackSelector.h.
Referenced by 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 85 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(), and basicCuts().
|
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(), and basicCuts().
|
private |
Definition at line 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentTrackSelector.h.
Referenced by theNHighestPtTracks().
|
private |
Definition at line 68 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 68 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and basicCuts().
|
private |
Definition at line 72 of file AlignmentTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 65 of file AlignmentTrackSelector.h.
Referenced by detailedHitsCheck().
|
private |
Definition at line 70 of file AlignmentTrackSelector.h.
Referenced by basicCuts().
|
private |
Definition at line 88 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkTrkQuality().
|
private |
Definition at line 90 of file AlignmentTrackSelector.h.
Referenced by AlignmentTrackSelector(), and isOkTrkQuality().