#include <CalibrationTrackSelector.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 | |
CalibrationTrackSelector (const edm::ParameterSet &cfg) | |
constructor More... | |
Tracks | select (const Tracks &tracks, const edm::Event &evt) const |
select tracks More... | |
~CalibrationTrackSelector () | |
destructor More... | |
Private Member Functions | |
Tracks | basicCuts (const Tracks &tracks, const edm::Event &evt) const |
apply basic cuts on pt,eta,phi,nhit More... | |
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 |
Tracks | theNHighestPtTracks (const Tracks &tracks) const |
filter the n highest pt tracks More... | |
Private Attributes | |
const bool | applyBasicCuts_ |
const bool | applyIsolation_ |
const bool | applyMultiplicityFilter_ |
const bool | applyNHighestPt_ |
const bool | chargeCheck_ |
const double | chi2nMax_ |
const double | etaMax_ |
const double | etaMin_ |
const edm::InputTag | matchedrecHitsTag_ |
const int | maxMultiplicity_ |
const double | minHitChargeStrip_ |
const double | minHitIsolation_ |
const int | minHitsinBPIX_ |
const int | minHitsinFPIX_ |
const int | minHitsinTEC_ |
const int | minHitsinTIB_ |
const int | minHitsinTID_ |
const int | minHitsinTOB_ |
const int | minMultiplicity_ |
const bool | multiplicityOnInput_ |
const int | nHighestPt_ |
const double | nHitMax_ |
const unsigned int | nHitMin2D_ |
const double | nHitMin_ |
const double | phiMax_ |
const double | phiMin_ |
ComparePt | ptComparator |
const double | ptMax_ |
const double | ptMin_ |
if true, cut min/maxMultiplicity on input instead of on final result More... | |
const edm::InputTag | rphirecHitsTag_ |
const bool | seedOnlyFromAbove_ |
Definition at line 15 of file CalibrationTrackSelector.h.
typedef std::vector<const reco::Track*> CalibrationTrackSelector::Tracks |
Definition at line 20 of file CalibrationTrackSelector.h.
CalibrationTrackSelector::CalibrationTrackSelector | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 25 of file CalibrationTrackSelector.cc.
References applyBasicCuts_, applyIsolation_, applyMultiplicityFilter_, applyNHighestPt_, chargeCheck_, chi2nMax_, etaMax_, etaMin_, maxMultiplicity_, minHitChargeStrip_, minHitIsolation_, minHitsinBPIX_, minHitsinFPIX_, minHitsinTEC_, minHitsinTIB_, minHitsinTID_, minHitsinTOB_, minMultiplicity_, multiplicityOnInput_, nHighestPt_, nHitMax_, nHitMin2D_, nHitMin_, phiMax_, phiMin_, ptMax_, and ptMin_.
CalibrationTrackSelector::~CalibrationTrackSelector | ( | ) |
|
private |
apply basic cuts on pt,eta,phi,nhit
Definition at line 137 of file CalibrationTrackSelector.cc.
References chi2nMax_, detailedHitsCheck(), eta(), reco::TrackBase::eta(), etaMax_, etaMin_, nHitMax_, nHitMin_, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), phi, reco::TrackBase::phi(), phiMax_, phiMin_, reco::TrackBase::pt(), ExpressReco_HICollisions_FallBack::pt, ptMax_, ptMin_, and query::result.
Referenced by select().
|
private |
checking hit requirements beyond simple number of valid hits
Definition at line 166 of file CalibrationTrackSelector.cc.
References applyIsolation_, chargeCheck_, isHit2D(), isIsolated(), isOkCharge(), kBPIX, kFPIX, minHitsinBPIX_, minHitsinFPIX_, minHitsinTEC_, minHitsinTIB_, minHitsinTID_, minHitsinTOB_, nHitMin2D_, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), seedOnlyFromAbove_, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and DetId::Tracker.
Referenced by basicCuts().
|
private |
Definition at line 223 of file CalibrationTrackSelector.cc.
References TrackingRecHit::dimension(), TrackingRecHit::geographicalId(), kBPIX, kFPIX, and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 307 of file CalibrationTrackSelector.cc.
References edmNew::DetSetVector< T >::data(), TrackingRecHit::geographicalId(), edm::Event::getByLabel(), BaseSiTrackerRecHit2DLocalPos::localPosition(), TrackingRecHit::localPosition(), mag(), ExpressReco_HICollisions_FallBack::matchedrecHits, matchedrecHitsTag_, minHitIsolation_, DetId::rawId(), ExpressReco_HICollisions_FallBack::rphirecHits, and rphirecHitsTag_.
Referenced by detailedHitsCheck().
|
private |
Definition at line 254 of file CalibrationTrackSelector.cc.
References SiStripCluster::amplitudes(), SiStripRecHit2D::cluster(), minHitChargeStrip_, SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), and SiStripMatchedRecHit2D::stereoHit().
Referenced by detailedHitsCheck().
CalibrationTrackSelector::Tracks CalibrationTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | evt | ||
) | const |
select tracks
Definition at line 104 of file CalibrationTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, basicCuts(), maxMultiplicity_, minMultiplicity_, multiplicityOnInput_, query::result, theNHighestPtTracks(), and testEve_cfg::tracks.
Referenced by python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), python.Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), python.Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), python.Vispa.Views.AbstractView.AbstractView::restoreSelection(), and SiStripCalTrackConfigSelector::select().
|
private |
filter the n highest pt tracks
Definition at line 350 of file CalibrationTrackSelector.cc.
References n, nHighestPt_, ptComparator, query::result, python.multivaluedict::sort(), and testEve_cfg::tracks.
Referenced by select().
|
private |
Definition at line 52 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 53 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 52 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 52 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 53 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 59 of file CalibrationTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 54 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 57 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and isOkCharge().
|
private |
Definition at line 57 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and isIsolated().
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 54 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 54 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and theNHighestPtTracks().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 60 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 50 of file CalibrationTrackSelector.h.
Referenced by theNHighestPtTracks().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
if true, cut min/maxMultiplicity on input instead of on final result
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 58 of file CalibrationTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 53 of file CalibrationTrackSelector.h.
Referenced by detailedHitsCheck().