#include <RecoTrackSelectorBase.h>
Definition at line 16 of file RecoTrackSelectorBase.h.
◆ RecoTrackSelectorBase() [1/3]
RecoTrackSelectorBase::RecoTrackSelectorBase |
( |
| ) |
|
|
inline |
◆ RecoTrackSelectorBase() [2/3]
Definition at line 19 of file RecoTrackSelectorBase.h.
References reco::TrackBase::algoByName(), qcdUeDQM_cfi::algorithm, algorithm_, algorithmMask_, looper::cfg, Exception, M_PI, HLT_2024v10_cff::maxPhi, HLT_2024v10_cff::minPhi, originalAlgorithm_, quality, quality_, reco::TrackBase::qualityByName(), and AlCaHLTBitMon_QueryRunRegistry::string.
20 :
ptMin_(
cfg.getParameter<
double>(
"ptMin")),
23 meanPhi_((
cfg.getParameter<
double>(
"minPhi") +
cfg.getParameter<
double>(
"maxPhi")) / 2.),
24 rangePhi_((
cfg.getParameter<
double>(
"maxPhi") -
cfg.getParameter<
double>(
"minPhi")) / 2.),
25 tip_(
cfg.getParameter<
double>(
"tip")),
26 lip_(
cfg.getParameter<
double>(
"lip")),
34 const auto minPhi =
cfg.getParameter<
double>(
"minPhi");
35 const auto maxPhi =
cfg.getParameter<
double>(
"maxPhi");
38 <<
"RecoTrackSelectorPhase: minPhi (" <<
minPhi <<
") must be smaller than maxPhi (" <<
maxPhi 39 <<
"). The range is constructed from minPhi to maxPhi around their average.";
43 <<
"RecoTrackSelectorPhase: minPhi (" <<
minPhi 44 <<
") must be smaller than PI. The range is constructed from minPhi to maxPhi around their average.";
48 <<
"RecoTrackSelectorPhase: maxPhi (" <<
maxPhi 49 <<
") must be larger than -PI. The range is constructed from minPhi to maxPhi around their average.";
std::vector< reco::TrackBase::TrackAlgorithm > algorithmMask_
std::vector< reco::TrackBase::TrackQuality > quality_
static TrackQuality qualityByName(const std::string &name)
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
static TrackAlgorithm algoByName(const std::string &name)
std::vector< reco::TrackBase::TrackAlgorithm > originalAlgorithm_
◆ RecoTrackSelectorBase() [3/3]
◆ init()
◆ operator()() [1/3]
bool RecoTrackSelectorBase::operator() |
( |
const reco::TrackRef & |
tref | ) |
const |
|
inline |
◆ operator()() [2/3]
bool RecoTrackSelectorBase::operator() |
( |
const reco::Track & |
t | ) |
const |
|
inline |
◆ operator()() [3/3]
Definition at line 86 of file RecoTrackSelectorBase.h.
References algorithm_, algorithmMask_, SiPixelRawToDigiRegional_cfi::deltaPhi, PVValHelper::eta, spr::find(), mps_fire::i, invertRapidityCut_, lip_, maxChi2_, maxRapidity_, meanPhi_, min3DLayer_, minHit_, minLayer_, minPixelHit_, minRapidity_, originalAlgorithm_, AlCaHLTBitMon_ParallelJobs::p, ptMin_, quality_, rangePhi_, submitPVValidationJobs::t, tip_, and bphysicsOniaDQM_cfi::vertex.
87 bool quality_ok =
true;
90 for (
unsigned int i = 0;
i <
quality_.size(); ++
i) {
126 return ((algo_ok & quality_ok) &&
t.hitPattern().numberOfValidHits() >=
minHit_ &&
128 t.hitPattern().trackerLayersWithMeasurement() >=
minLayer_ &&
129 t.hitPattern().pixelLayersWithMeasurement() +
t.hitPattern().numberOfValidStripLayersWithMonoAndStereo() >=
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
TrackAlgorithm
track algorithm
std::vector< reco::TrackBase::TrackAlgorithm > algorithmMask_
std::vector< reco::TrackBase::TrackQuality > quality_
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
std::vector< reco::TrackBase::TrackAlgorithm > originalAlgorithm_
◆ algorithm_
◆ algorithmMask_
◆ bsSrcToken_
◆ invertRapidityCut_
bool RecoTrackSelectorBase::invertRapidityCut_ |
|
private |
◆ lip_
double RecoTrackSelectorBase::lip_ |
|
private |
◆ maxChi2_
double RecoTrackSelectorBase::maxChi2_ |
|
private |
◆ maxRapidity_
double RecoTrackSelectorBase::maxRapidity_ |
|
private |
◆ meanPhi_
double RecoTrackSelectorBase::meanPhi_ |
|
private |
◆ min3DLayer_
int RecoTrackSelectorBase::min3DLayer_ |
|
private |
◆ minHit_
int RecoTrackSelectorBase::minHit_ |
|
private |
◆ minLayer_
int RecoTrackSelectorBase::minLayer_ |
|
private |
◆ minPixelHit_
int RecoTrackSelectorBase::minPixelHit_ |
|
private |
◆ minRapidity_
double RecoTrackSelectorBase::minRapidity_ |
|
private |
◆ originalAlgorithm_
◆ ptMin_
double RecoTrackSelectorBase::ptMin_ |
|
private |
◆ quality_
◆ rangePhi_
double RecoTrackSelectorBase::rangePhi_ |
|
private |
◆ tip_
double RecoTrackSelectorBase::tip_ |
|
private |
◆ usePV_
bool RecoTrackSelectorBase::usePV_ |
|
private |
◆ vertex_
◆ vertexToken_