#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, edm::ConsumesCollector &iC) | |
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 edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > | matchedrecHitsToken_ |
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_ |
const edm::InputTag | rphirecHitsTag_ |
const edm::EDGetTokenT< SiStripRecHit2DCollection > | rphirecHitsToken_ |
const int | seedOnlyFromAbove_ |
Definition at line 18 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, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 23 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 121 of file CalibrationTrackSelector.cc.
References chi2nMax_, detailedHitsCheck(), PVValHelper::eta, reco::TrackBase::eta(), etaMin_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nHitMax_, nHitMin_, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), phi, reco::TrackBase::phi(), phiMax_, phiMin_, DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::pt(), ptMin_, mps_fire::result, and DiMuonV_cfg::tracks.
Referenced by select().
|
private |
checking hit requirements beyond simple number of valid hits
Definition at line 145 of file CalibrationTrackSelector.cc.
References applyIsolation_, chargeCheck_, hcalRecHitTable_cff::detId, isHit2D(), isIsolated(), isOkCharge(), kBPIX, kFPIX, minHitsinBPIX_, minHitsinFPIX_, minHitsinTEC_, minHitsinTIB_, minHitsinTID_, minHitsinTOB_, nHitMin2D_, reco::Track::recHits(), seedOnlyFromAbove_, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and DetId::Tracker.
Referenced by basicCuts().
|
private |
Definition at line 212 of file CalibrationTrackSelector.cc.
References hcalRecHitTable_cff::detId, kBPIX, kFPIX, and DetId::Tracker.
Referenced by detailedHitsCheck().
|
private |
Definition at line 289 of file CalibrationTrackSelector.cc.
References edmNew::DetSetVector< T >::data(), TrackingRecHit::geographicalId(), edm::Event::getHandle(), BaseTrackerRecHit::localPosition(), TrackingRecHit::localPosition(), mag(), AlignmentTrackSelector_cfi::matchedrecHits, matchedrecHitsToken_, minHitIsolation_, DetId::rawId(), AlignmentTrackSelector_cfi::rphirecHits, and rphirecHitsToken_.
Referenced by detailedHitsCheck().
|
private |
Definition at line 245 of file CalibrationTrackSelector.cc.
References SiStripCluster::amplitudes(), SiStripCluster::begin(), SiStripRecHit2D::cluster(), SiStripCluster::end(), minHitChargeStrip_, SiStripMatchedRecHit2D::monoCluster(), ProjectedSiStripRecHit2D::originalHit(), and SiStripMatchedRecHit2D::stereoCluster().
Referenced by detailedHitsCheck().
CalibrationTrackSelector::Tracks CalibrationTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | evt | ||
) | const |
select tracks
Definition at line 92 of file CalibrationTrackSelector.cc.
References applyBasicCuts_, applyMultiplicityFilter_, applyNHighestPt_, basicCuts(), maxMultiplicity_, minMultiplicity_, multiplicityOnInput_, mps_fire::result, theNHighestPtTracks(), and DiMuonV_cfg::tracks.
Referenced by SiStripCalTrackConfigSelector::select().
|
private |
filter the n highest pt tracks
Definition at line 327 of file CalibrationTrackSelector.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiodumpmetadata::n, nHighestPt_, ptComparator, mps_fire::result, jetUpdater_cfi::sort, and DiMuonV_cfg::tracks.
Referenced by select().
|
private |
Definition at line 49 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 51 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 49 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 49 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 51 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 58 of file CalibrationTrackSelector.h.
|
private |
Definition at line 62 of file CalibrationTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 52 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and isOkCharge().
|
private |
Definition at line 56 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and isIsolated().
|
private |
Definition at line 60 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 60 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 60 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 60 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 60 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 60 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 53 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and select().
|
private |
Definition at line 52 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and theNHighestPtTracks().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 59 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector(), and detailedHitsCheck().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 47 of file CalibrationTrackSelector.h.
Referenced by theNHighestPtTracks().
|
private |
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by CalibrationTrackSelector().
|
private |
if true, cut min/maxMultiplicity on input instead of on final result
Definition at line 55 of file CalibrationTrackSelector.h.
Referenced by basicCuts(), and CalibrationTrackSelector().
|
private |
Definition at line 57 of file CalibrationTrackSelector.h.
|
private |
Definition at line 61 of file CalibrationTrackSelector.h.
Referenced by isIsolated().
|
private |
Definition at line 50 of file CalibrationTrackSelector.h.
Referenced by detailedHitsCheck().