31 static std::map<std::string, EEA::ElectronEffectiveAreaType>
EEA_type();
32 static std::map<std::string, EEA::ElectronEffectiveAreaTarget>
EEA_target();
40 modeEEA(EEA_type()[
config.getParameter<
std::
string>(
"EffectiveAreaType")]),
41 targetEEA(EEA_target()[
config.getParameter<
std::
string>(
"EffectiveAreaTarget")]) {
54 produces<CandDoubleMap>();
67 std::vector<double> gsfCorrectionsEA;
70 gsfCorrectionsEA.push_back((*
rho) *
79 std::vector<double> pfCorrectionsEA;
81 for (reco::PFCandidateCollection::const_iterator it =
pfElectrons->begin(); it !=
pfElectrons->end(); ++it)
82 pfCorrectionsEA.push_back(
91 std::vector<double> patCorrectionsEA;
94 patCorrectionsEA.push_back((*
rho) *
108 std::map<std::string, EEA::ElectronEffectiveAreaType>
m;
114 std::map<std::string, ElectronEffectiveArea::ElectronEffectiveAreaTarget>
116 std::map<std::string, EEA::ElectronEffectiveAreaTarget>
m;
static std::map< std::string, EEA::ElectronEffectiveAreaTarget > EEA_target()
static std::map< std::string, EEA::ElectronEffectiveAreaType > EEA_type()
bool filter(edm::Event &, const edm::EventSetup &) override
static Double_t GetElectronEffectiveArea(ElectronEffectiveAreaType type, Double_t SCEta, ElectronEffectiveAreaTarget EffectiveAreaTarget=kEleEAData2011)
edm::EDGetTokenT< pat::ElectronCollection > patElectronToken
ElectronEffectiveAreaTarget
const EEA::ElectronEffectiveAreaType modeEEA
ElectronEffectiveArea EEA
edm::InputTag gsfElectronTag
#define DEFINE_FWK_MODULE(type)
ElectronIsolatorFromEffectiveArea(const edm::ParameterSet &)
edm::ValueMap< double > CandDoubleMap
edm::InputTag patElectronTag
edm::EDGetTokenT< reco::PFCandidateCollection > pfElectronToken
edm::EDGetTokenT< double > rhoIsoToken
ElectronEffectiveAreaType
const EEA::ElectronEffectiveAreaTarget targetEEA
edm::InputTag pfElectronTag
edm::EDGetTokenT< reco::GsfElectronCollection > gsfElectronToken