|
| ElectronsProducer (const std::string &name, const ROOT::TreeGroup &tree, const edm::ParameterSet &config) |
|
virtual void | doConsumes (const edm::ParameterSet &config, edm::ConsumesCollector &&collector) override |
| Hook for the CMSSW consumes interface. More...
|
|
virtual void | produce (edm::Event &event, const edm::EventSetup &eventSetup) override |
| Main method of the producer, called for each event. More...
|
|
| BRANCH (isEB, std::vector< bool >) |
|
| BRANCH (isEE, std::vector< bool >) |
|
| BRANCH (dxy, std::vector< float >) |
|
| BRANCH (dz, std::vector< float >) |
|
| BRANCH (dca, std::vector< float >) |
|
| BRANCH (ecalPFClusterIso, std::vector< float >) |
|
| BRANCH (hcalPFClusterIso, std::vector< float >) |
|
| BRANCH (trackIso, std::vector< float >) |
|
| BRANCH (expectedMissingInnerHits, std::vector< unsigned int >) |
|
| BRANCH (mva_id_values, std::vector< float >) |
|
| BRANCH (mva_id_categories, std::vector< int >) |
|
| LeptonsProducer (const std::string &name, const ROOT::TreeGroup &tree, const edm::ParameterSet &config) |
|
Public Member Functions inherited from CandidatesProducer< ObjectType > |
| CandidatesProducer (const std::string &name, const ROOT::TreeGroup &tree, const edm::ParameterSet &config) |
|
| Producer (const std::string &name, const ROOT::TreeGroup &tree_, const edm::ParameterSet &config) |
| Base constructor. More...
|
|
virtual void | beginJob (MetadataManager &manager) |
| Called once at the beginning of the job. More...
|
|
virtual void | endJob (MetadataManager &manager) |
| Called once at the end of the job. More...
|
|
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &setup) |
| Called at the beginning of a new run. More...
|
|
virtual void | endRun (const edm::Run &run, const edm::EventSetup &setup) |
| Called at the end of a run. More...
|
|
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &setup) |
| Called at the beginning of a new luminosity section. More...
|
|
virtual void | endLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &setup) |
| Called at the end of a luminosity section. More...
|
|
| Producer (const Producer &)=delete |
|
Producer & | operator= (const Producer &)=delete |
|
| Identifiable (ROOT::TreeGroup &tree) |
|
template<class T > |
void | produce_id (const edm::Ref< T > &ref) |
|
virtual void | consumes_id_tokens (const edm::ParameterSet &, edm::ConsumesCollector &&collector) final |
|
virtual void | retrieves_id_tokens (const edm::Event &event, const edm::EventSetup &eventSetup) final |
|
virtual void | clean () final |
|
| ScaleFactors (ROOT::TreeGroup &tree) |
|
virtual void | create_branches (const edm::ParameterSet &) final |
|
virtual void | create_branch (const std::string &scale_factor, const std::string &branch_name) |
|
virtual void | store_scale_factors (const Parameters &, bool isData) final |
|
virtual float | get_scale_factor (const std::string &tag, size_t index, Variation variation=Variation::Nominal) final |
|
|
std::vector< edm::Ref< std::vector< pat::Electron > > > | products |
|
std::vector< float > & | EA_R03 |
|
std::vector< float > & | EA_R04 |
|
std::vector< float > & | chargedHadronIsoR03 |
|
std::vector< float > & | neutralHadronIsoR03 |
|
std::vector< float > & | photonIsoR03 |
|
std::vector< float > & | puChargedHadronIsoR03 |
|
std::vector< float > & | relativeIsoR03 |
|
std::vector< float > & | relativeIsoR03_deltaBeta |
|
std::vector< float > & | relativeIsoR03_withEA |
|
std::vector< float > & | chargedHadronIsoR04 |
|
std::vector< float > & | neutralHadronIsoR04 |
|
std::vector< float > & | photonIsoR04 |
|
std::vector< float > & | puChargedHadronIsoR04 |
|
std::vector< float > & | relativeIsoR04 |
|
std::vector< float > & | relativeIsoR04_deltaBeta |
|
std::vector< float > & | relativeIsoR04_withEA |
|
Public Attributes inherited from CandidatesProducer< ObjectType > |
std::vector< LorentzVector > & | p4 = tree["p4"].write<std::vector<LorentzVector>>() |
|
std::vector< float > & | y = tree["y"].transient_write<std::vector<float>>() |
|
std::vector< int8_t > & | charge = tree["charge"].transient_write<std::vector<int8_t>>() |
|
std::vector< bool > & | matched = tree["has_matched_gen_particle"].write<std::vector<bool>>() |
|
std::vector< LorentzVector > & | gen_p4 = tree["gen_p4"].write<std::vector<LorentzVector>>() |
|
std::vector< float > & | gen_y = tree["gen_y"].transient_write<std::vector<float>>() |
|
std::vector< int8_t > & | gen_charge = tree["gen_charge"].transient_write<std::vector<int8_t>>() |
|
std::vector< std::map< std::string, bool > > & | ids |
|
|
void | computeIsolations_R03 (float chargedHadronIso, float neutralHadronIso, float photonIso, float puChargedHadronIso, float pt, float eta, float rho) |
|
void | computeIsolations_R04 (float chargedHadronIso, float neutralHadronIso, float photonIso, float puChargedHadronIso, float pt, float eta, float rho) |
|
Protected Member Functions inherited from CandidatesProducer< ObjectType > |
template<typename T , typename U > |
void | fill_candidate (const T &p, const U *gen) |
|
bool | pass_cut (const ObjectType &p) |
|
bool | doingSystematics () const |
|
edm::EDGetTokenT< std::vector< pat::Electron > > | m_leptons_token |
|
edm::EDGetTokenT< double > | m_rho_token |
|
std::string | m_name |
|
ROOT::TreeGroup | tree |
| Access point to output tree. More...
|
|
std::vector< std::pair< std::string, edm::EDGetTokenT< edm::ValueMap< bool > > > > | m_id_tokens |
|
std::vector< std::pair< std::string, edm::Handle< edm::ValueMap< bool > > > > | m_id_maps |
|