#include <TrajSeedMatcher.h>
|
size_t | getBinNr (float eta) const |
|
float | getCutValue (float et, float highEt, float highEtThres, float lowEtGrad) const |
|
Definition at line 163 of file TrajSeedMatcher.h.
Definition at line 470 of file TrajSeedMatcher.cc.
References dPhiHighEt_, dPhiHighEtThres_, dPhiLowEtGrad_, dRZHighEt_, dRZHighEtThres_, dRZLowEtGrad_, etaBins_, Exception, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
478 auto binSizeCheck = [](
size_t sizeEtaBins,
const std::vector<double>& vec,
const std::string&
name) {
479 if (vec.size() != sizeEtaBins + 1) {
481 <<
" when constructing TrajSeedMatcher::MatchingCutsV2 " <<
name <<
" has " << vec.size()
482 <<
" bins, it should be equal to #bins of etaBins+1" << sizeEtaBins + 1;
T getParameter(std::string const &) const
std::vector< double > dRZLowEtGrad_
std::vector< double > dPhiLowEtGrad_
std::vector< double > etaBins_
std::vector< double > dPhiHighEt_
std::vector< double > dPhiHighEtThres_
std::vector< double > dRZHighEtThres_
std::vector< double > dRZHighEt_
size_t TrajSeedMatcher::MatchingCutsV2::getBinNr |
( |
float |
eta | ) |
const |
|
private |
float TrajSeedMatcher::MatchingCutsV2::getCutValue |
( |
float |
et, |
|
|
float |
highEt, |
|
|
float |
highEtThres, |
|
|
float |
lowEtGrad |
|
) |
| const |
|
inlineprivate |
bool TrajSeedMatcher::MatchingCutsV2::operator() |
( |
const SCHitMatch & |
scHitMatch | ) |
const |
|
overridevirtual |
Implements TrajSeedMatcher::MatchingCuts.
Definition at line 493 of file TrajSeedMatcher.cc.
References funct::abs(), TrajSeedMatcher::SCHitMatch::dPhi(), dPhiHighEt_, dPhiHighEtThres_, dPhiLowEtGrad_, CSCSegmentAlgorithmRU_cfi::dPhiMax, TrajSeedMatcher::SCHitMatch::dRZ(), dRZHighEt_, dRZHighEtThres_, dRZLowEtGrad_, TrajSeedMatcher::SCHitMatch::et(), TrajSeedMatcher::SCHitMatch::eta(), getBinNr(), and getCutValue().
494 size_t binNr =
getBinNr(scHitMatch.eta());
496 if (dPhiMax >= 0 &&
std::abs(scHitMatch.dPhi()) > dPhiMax)
499 if (dRZMax >= 0 &&
std::abs(scHitMatch.dRZ()) > dRZMax)
std::vector< double > dRZLowEtGrad_
std::vector< double > dPhiLowEtGrad_
Abs< T >::type abs(const T &t)
std::vector< double > dPhiHighEt_
size_t getBinNr(float eta) const
std::vector< double > dPhiHighEtThres_
std::vector< double > dRZHighEtThres_
std::vector< double > dRZHighEt_
float getCutValue(float et, float highEt, float highEtThres, float lowEtGrad) const
std::vector<double> TrajSeedMatcher::MatchingCutsV2::dPhiHighEt_ |
|
private |
std::vector<double> TrajSeedMatcher::MatchingCutsV2::dPhiHighEtThres_ |
|
private |
std::vector<double> TrajSeedMatcher::MatchingCutsV2::dPhiLowEtGrad_ |
|
private |
std::vector<double> TrajSeedMatcher::MatchingCutsV2::dRZHighEt_ |
|
private |
std::vector<double> TrajSeedMatcher::MatchingCutsV2::dRZHighEtThres_ |
|
private |
std::vector<double> TrajSeedMatcher::MatchingCutsV2::dRZLowEtGrad_ |
|
private |
std::vector<double> TrajSeedMatcher::MatchingCutsV2::etaBins_ |
|
private |