32 static std::map<std::string,EEA::ElectronEffectiveAreaType>
EEA_type();
33 static std::map<std::string,EEA::ElectronEffectiveAreaTarget>
EEA_target();
53 produces<CandDoubleMap>();
68 std::vector<double> gsfCorrectionsEA;
70 for ( reco::GsfElectronCollection::const_iterator it = gsfElectrons->begin(); it != gsfElectrons->end(); ++it)
72 filler.
insert(gsfElectrons, gsfCorrectionsEA.begin(), gsfCorrectionsEA.end() );
78 std::vector<double> pfCorrectionsEA;
80 for ( reco::PFCandidateCollection::const_iterator it = pfElectrons->begin(); it != pfElectrons->end(); ++it)
82 filler.
insert( pfElectrons, pfCorrectionsEA.begin(), pfCorrectionsEA.end() );
88 std::vector<double> patCorrectionsEA;
90 for ( pat::ElectronCollection::const_iterator it = patElectrons->begin(); it != patElectrons->end(); ++it)
92 filler.
insert( patElectrons, patCorrectionsEA.begin(), patCorrectionsEA.end() );
106 std::map<std::string,ElectronEffectiveArea::ElectronEffectiveAreaType>
109 std::map<std::string,EEA::ElectronEffectiveAreaType>
m;
115 std::map<std::string,ElectronEffectiveArea::ElectronEffectiveAreaTarget>
118 std::map<std::string,EEA::ElectronEffectiveAreaTarget >
m;
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
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
void insert(const H &h, I begin, I end)
static Double_t GetElectronEffectiveArea(ElectronEffectiveAreaType type, Double_t SCEta, ElectronEffectiveAreaTarget EffectiveAreaTarget=kEleEAData2011)
edm::EDGetTokenT< pat::ElectronCollection > patElectronToken
ElectronEffectiveAreaTarget
const EEA::ElectronEffectiveAreaType modeEEA
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
ElectronEffectiveArea EEA
edm::InputTag gsfElectronTag
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