#include <IsolatorByNominalEfficiency.h>
Classes | |
class | ConeSizes |
Public Types | |
typedef MuIsoBaseIsolator::DepositContainer | DepositContainer |
Public Types inherited from muonisolation::MuIsoBaseIsolator | |
typedef std::vector< DepositAndVetos > | DepositContainer |
enum | ResultType { ISOL_INT_TYPE = 0, ISOL_FLOAT_TYPE, ISOL_BOOL_TYPE, ISOL_INVALID_TYPE } |
typedef reco::IsoDeposit::Veto | Veto |
typedef reco::IsoDeposit::Vetos | Vetos |
Public Member Functions | |
Cuts | cuts (float nominalEfficiency) const |
IsolatorByNominalEfficiency (const std::string &thrFile, const std::vector< std::string > &ceff, const std::vector< double > &weights) | |
Constructor. More... | |
IsolatorByNominalEfficiency (const std::string &thrFile, const std::vector< std::string > &ceff, const std::vector< double > &weights, const std::vector< double > &thresh) | |
Result | result (const DepositContainer &deposits, const edm::Event *=nullptr) const override |
Compute the deposit within the cone and return the isolation result. More... | |
~IsolatorByNominalEfficiency () override | |
Public Member Functions inherited from muonisolation::MuIsoBaseIsolator | |
virtual Result | result (const DepositContainer &deposits, const reco::Candidate &muon, const edm::Event *=nullptr) const |
Compute and return the isolation variable, with vetoes and the muon. More... | |
virtual Result | result (const DepositContainer &deposits, const reco::Track &muon, const edm::Event *=nullptr) const |
Compute and return the isolation variable, with vetoes and the muon. More... | |
virtual | ~MuIsoBaseIsolator () |
Private Types | |
typedef std::multimap< float, int > | mapNomEff_Cone |
Private Member Functions | |
int | bestConeForEfficiencyIndex (float eff_thr) const |
mapNomEff_Cone | cones (const std::vector< std::string > &names) |
std::string | findPath (const std::string &fileName) |
ResultType | resultType () const override |
virtual double | weightedSum (const DepositContainer &deposits, float dRcone) const |
Private Attributes | |
mapNomEff_Cone | coneForEfficiency |
ConeSizes | theConesInfo |
std::vector< double > | theDepThresholds |
std::vector< double > | theWeights |
NominalEfficiencyThresholds * | thresholds |
Definition at line 22 of file IsolatorByNominalEfficiency.h.
typedef MuIsoBaseIsolator::DepositContainer muonisolation::IsolatorByNominalEfficiency::DepositContainer |
Definition at line 24 of file IsolatorByNominalEfficiency.h.
|
private |
Definition at line 61 of file IsolatorByNominalEfficiency.h.
muonisolation::IsolatorByNominalEfficiency::IsolatorByNominalEfficiency | ( | const std::string & | thrFile, |
const std::vector< std::string > & | ceff, | ||
const std::vector< double > & | weights | ||
) |
Constructor.
muonisolation::IsolatorByNominalEfficiency::IsolatorByNominalEfficiency | ( | const std::string & | thrFile, |
const std::vector< std::string > & | ceff, | ||
const std::vector< double > & | weights, | ||
const std::vector< double > & | thresh | ||
) |
|
override |
Definition at line 44 of file IsolatorByNominalEfficiency.cc.
References thresholds.
|
private |
Definition at line 107 of file IsolatorByNominalEfficiency.cc.
References coneForEfficiency, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by cuts(), and result().
|
private |
Definition at line 46 of file IsolatorByNominalEfficiency.cc.
References hltPFPuppi_cfi::cone, and result().
Cuts IsolatorByNominalEfficiency::cuts | ( | float | nominalEfficiency | ) | const |
Definition at line 144 of file IsolatorByNominalEfficiency.cc.
References bestConeForEfficiencyIndex(), muonisolation::NominalEfficiencyThresholds::bins(), PVValHelper::eta, l1tPFClustersFromCombinedCalo_cfi::etaBounds, f, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EcalCondDBWriter_cfi::location, muonisolation::IsolatorByNominalEfficiency::ConeSizes::size(), theConesInfo, thresholds, and muonisolation::NominalEfficiencyThresholds::thresholdValueForEfficiency().
Referenced by L3NominalEfficiencyConfigurator::cuts().
|
private |
Definition at line 57 of file IsolatorByNominalEfficiency.cc.
References f, and MillePedeFileConverter_cfg::fileName.
|
overridevirtual |
Compute the deposit within the cone and return the isolation result.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 63 of file IsolatorByNominalEfficiency.cc.
References bestConeForEfficiencyIndex(), hltPFPuppi_cfi::cone, HLT_2024v13_cff::coneSize, gather_cfg::cout, CandIsolatorFromDeposits_cfi::deposits, EcalCondDBWriter_cfi::location, resultType(), muonisolation::IsolatorByNominalEfficiency::ConeSizes::size(), theConesInfo, thresholds, muonisolation::NominalEfficiencyThresholds::thresholdValueForEfficiency(), and weightedSum().
Referenced by cones().
|
inlineoverrideprivatevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 66 of file IsolatorByNominalEfficiency.h.
References muonisolation::MuIsoBaseIsolator::ISOL_FLOAT_TYPE.
Referenced by result().
|
privatevirtual |
Definition at line 123 of file IsolatorByNominalEfficiency.cc.
References cms::cuda::assert(), CandIsolatorFromDeposits_cfi::deposits, JetPlusTrackCorrections_cff::dRcone, theDepThresholds, theWeights, and w().
Referenced by result().
|
private |
Definition at line 69 of file IsolatorByNominalEfficiency.h.
Referenced by bestConeForEfficiencyIndex().
|
private |
Definition at line 73 of file IsolatorByNominalEfficiency.h.
|
private |
Definition at line 72 of file IsolatorByNominalEfficiency.h.
Referenced by weightedSum().
|
private |
Definition at line 71 of file IsolatorByNominalEfficiency.h.
Referenced by weightedSum().
|
private |
Definition at line 70 of file IsolatorByNominalEfficiency.h.
Referenced by cuts(), result(), and ~IsolatorByNominalEfficiency().