#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) | |
virtual Result | result (const DepositContainer &deposits, const edm::Event *=0) const |
Compute the deposit within the cone and return the isolation result. More... | |
virtual | ~IsolatorByNominalEfficiency () |
Public Member Functions inherited from muonisolation::MuIsoBaseIsolator | |
virtual Result | result (const DepositContainer &deposits, const reco::Candidate &muon, const edm::Event *=0) 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 *=0) 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) |
virtual ResultType | resultType () const |
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 20 of file IsolatorByNominalEfficiency.h.
typedef MuIsoBaseIsolator::DepositContainer muonisolation::IsolatorByNominalEfficiency::DepositContainer |
Definition at line 22 of file IsolatorByNominalEfficiency.h.
|
private |
Definition at line 59 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 | ||
) |
|
virtual |
Definition at line 36 of file IsolatorByNominalEfficiency.cc.
References thresholds.
|
private |
Definition at line 105 of file IsolatorByNominalEfficiency.cc.
References coneForEfficiency.
Referenced by cuts(), and result().
|
private |
Definition at line 42 of file IsolatorByNominalEfficiency.cc.
References result().
Cuts IsolatorByNominalEfficiency::cuts | ( | float | nominalEfficiency | ) | const |
Definition at line 145 of file IsolatorByNominalEfficiency.cc.
References bestConeForEfficiencyIndex(), muonisolation::NominalEfficiencyThresholds::bins(), eta(), f, muonisolation::IsolatorByNominalEfficiency::ConeSizes::size(), theConesInfo, thresholds, and muonisolation::NominalEfficiencyThresholds::thresholdValueForEfficiency().
Referenced by L3NominalEfficiencyConfigurator::cuts().
|
private |
Definition at line 54 of file IsolatorByNominalEfficiency.cc.
References f, and edm::FileInPath::fullPath().
|
virtual |
Compute the deposit within the cone and return the isolation result.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 62 of file IsolatorByNominalEfficiency.cc.
References bestConeForEfficiencyIndex(), gather_cfg::cout, resultType(), muonisolation::IsolatorByNominalEfficiency::ConeSizes::size(), theConesInfo, thresholds, muonisolation::NominalEfficiencyThresholds::thresholdValueForEfficiency(), muonisolation::MuIsoBaseIsolator::Result::valFloat, and weightedSum().
Referenced by cones().
|
inlineprivatevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 64 of file IsolatorByNominalEfficiency.h.
References muonisolation::MuIsoBaseIsolator::ISOL_FLOAT_TYPE.
Referenced by result().
|
privatevirtual |
Definition at line 123 of file IsolatorByNominalEfficiency.cc.
References theDepThresholds, theWeights, and w.
Referenced by result().
|
private |
Definition at line 67 of file IsolatorByNominalEfficiency.h.
Referenced by bestConeForEfficiencyIndex().
|
private |
Definition at line 71 of file IsolatorByNominalEfficiency.h.
|
private |
Definition at line 70 of file IsolatorByNominalEfficiency.h.
Referenced by weightedSum().
|
private |
Definition at line 69 of file IsolatorByNominalEfficiency.h.
Referenced by weightedSum().
|
private |
Definition at line 68 of file IsolatorByNominalEfficiency.h.
Referenced by cuts(), result(), and ~IsolatorByNominalEfficiency().