CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
AnalysisErsatz Class Reference

#include <ElectroWeakAnalysis/AnalysisErsatz/src/AnalysisErsatz.cc>

Inheritance diagram for AnalysisErsatz:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 AnalysisErsatz (const edm::ParameterSet &)
 
 ~AnalysisErsatz ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Types

enum  cut_index_t {
  EtCut_, EB_sIhIh_, EB_dEtaIn_, EB_dPhiIn_,
  EB_TrckIso_, EB_EcalIso_, EB_HcalIso_, EE_sIhIh_,
  EE_dEtaIn_, EE_dPhiIn_, EE_TrckIso_, EE_EcalIso_,
  EE_HcalIso_
}
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void endJob ()
 

Private Attributes

double Boson_m_
 
double Boson_mt_
 
double Boson_phi_
 
double Boson_pt_
 
double Boson_y_
 
bool C_Fiducial_
 
double caloMEt25_
 
double caloMEt30_
 
double caloMEt_
 
edm::EDGetTokenT< reco::CaloMETCollectionCaloMEtCollection_
 
double caloMEtECAL25_
 
double caloMEtECAL30_
 
double caloMEtPhi25_
 
double caloMEtPhi30_
 
double caloMEtPhi_
 
double caloMEtPhiECAL25_
 
double caloMEtPhiECAL30_
 
double caloMt25_ [4]
 
double caloMt30_ [4]
 
double caloMt_ [4]
 
double caloSumEt_
 
double caloUESumEt_
 
std::vector< double > CutVector_
 
double elec_dEtaIn_ [4]
 
double elec_dPhiIn_ [4]
 
double elec_e1x5Max_ [4]
 
double elec_e2x5Max_ [4]
 
double elec_e5x5_ [4]
 
double elec_ecalIso_ [4]
 
double elec_eop_ [4]
 
double elec_eta25_
 
double elec_eta_ [4]
 
double elec_hcalIso_ [4]
 
double elec_hoe_ [4]
 
double elec_phi25_
 
double elec_phi_ [4]
 
double elec_pin_ [4]
 
double elec_pout_ [4]
 
double elec_pt25_
 
double elec_pt_ [4]
 
double elec_q_ [4]
 
double elec_sIhIh_ [4]
 
double elec_trckIso_ [4]
 
edm::EDGetTokenT< reco::GsfElectronCollectionElectronCollection_
 
bool ErsatzEvent_
 
double genMEt25_
 
double genMEt_
 
edm::EDGetTokenT< reco::GenMETCollectionGenMEtCollection_
 
double genMt_ [4]
 
double genUESumEt_
 
double HltObj_eta_ [4]
 
double HltObj_pt_ [4]
 
double McElec1_eta_ [4]
 
double McElec1_pt_ [4]
 
double McElec3_eta_ [4]
 
double McElec3_pt_ [4]
 
double McLeptons_dEta_
 
double McLeptons_dPhi_
 
double McLeptons_dR_
 
double McNu_ECALeta_
 
double McNu_eta_
 
double McNu_phi_
 
double McNu_pt_
 
double McNu_vx_
 
double McNu_vy_
 
double McNu_vz_
 
edm::EDGetTokenT< reco::GenParticleCollectionMCTruthCollection_
 
double mW_
 
double mZ_
 
int nHltObj_
 
int nSelElecs_
 
double OthrMcElec_eta_
 
double OthrMcElec_phi_
 
double OthrMcElec_pt_
 
double OthrMcElec_Rescaled_eta_
 
double OthrMcElec_Rescaled_phi_
 
double OthrMcElec_Rescaled_pt_
 
double OthrMcElecRECO_eta_
 
double OthrMcElecRECO_pt_
 
double OthrMcElecTRIG_eta_
 
double OthrMcElecTRIG_pt_
 
int OthrReco_
 
int OthrTrig_
 
double pfMEt_
 
edm::EDGetTokenT< reco::PFMETCollectionPfMEtCollection_
 
double pfMEtPhi_
 
double pfSumEt_
 
int RndmInt_
 
double RndmMcElec_eta_
 
double RndmMcElec_phi_
 
double RndmMcElec_pt_
 
double RndmMcElec_Rescaled_eta_
 
double RndmMcElec_Rescaled_phi_
 
double RndmMcElec_Rescaled_pt_
 
double RndmMcElecRECO_eta_
 
double RndmMcElecRECO_pt_
 
double RndmMcElecTRIG_eta_
 
double RndmMcElecTRIG_pt_
 
int RndmReco_
 
int RndmTrig_
 
double Selected_nuEta_ [4]
 
double Selected_nuPhi_ [4]
 
double Selected_nuPt_ [4]
 
double t1MEt_
 
edm::EDGetTokenT< reco::METCollectionT1MEtCollection_
 
double t1MEtPhi_
 
double t1SumEt_
 
TTree * t_
 
double tcMEt_
 
edm::EDGetTokenT< reco::METCollectionTcMEtCollection_
 
double tcMEtPhi_
 
double tcSumEt_
 
edm::EDGetTokenT< trigger::TriggerEventTriggerEvent_
 
std::string TriggerName_
 
 TriggerPath_
 
edm::EDGetTokenT< edm::TriggerResultsTriggerResults_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 71 of file AnalysisErsatz.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

AnalysisErsatz::AnalysisErsatz ( const edm::ParameterSet )
explicit
AnalysisErsatz::~AnalysisErsatz ( )

Member Function Documentation

virtual void AnalysisErsatz::analyze ( const edm::Event ,
const edm::EventSetup  
)
privatevirtual
virtual void AnalysisErsatz::beginJob ( )
privatevirtual

Reimplemented from edm::EDAnalyzer.

virtual void AnalysisErsatz::endJob ( )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Member Data Documentation

double AnalysisErsatz::Boson_m_
private

Definition at line 101 of file AnalysisErsatz.h.

double AnalysisErsatz::Boson_mt_
private

Definition at line 101 of file AnalysisErsatz.h.

double AnalysisErsatz::Boson_phi_
private

Definition at line 102 of file AnalysisErsatz.h.

double AnalysisErsatz::Boson_pt_
private

Definition at line 101 of file AnalysisErsatz.h.

double AnalysisErsatz::Boson_y_
private

Definition at line 101 of file AnalysisErsatz.h.

bool AnalysisErsatz::C_Fiducial_
private

Definition at line 90 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEt25_
private

Definition at line 130 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEt30_
private

Definition at line 130 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEt_
private

Definition at line 126 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::CaloMETCollection> AnalysisErsatz::CaloMEtCollection_
private

Definition at line 85 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtECAL25_
private

Definition at line 131 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtECAL30_
private

Definition at line 131 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtPhi25_
private

Definition at line 132 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtPhi30_
private

Definition at line 132 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtPhi_
private

Definition at line 132 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtPhiECAL25_
private

Definition at line 133 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMEtPhiECAL30_
private

Definition at line 133 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMt25_[4]
private

Definition at line 134 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMt30_[4]
private

Definition at line 134 of file AnalysisErsatz.h.

double AnalysisErsatz::caloMt_[4]
private

Definition at line 134 of file AnalysisErsatz.h.

double AnalysisErsatz::caloSumEt_
private

Definition at line 126 of file AnalysisErsatz.h.

double AnalysisErsatz::caloUESumEt_
private

Definition at line 126 of file AnalysisErsatz.h.

std::vector<double> AnalysisErsatz::CutVector_
private

Definition at line 93 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_dEtaIn_[4]
private

Definition at line 120 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_dPhiIn_[4]
private

Definition at line 120 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_e1x5Max_[4]
private

Definition at line 122 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_e2x5Max_[4]
private

Definition at line 122 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_e5x5_[4]
private

Definition at line 122 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_ecalIso_[4]
private

Definition at line 121 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_eop_[4]
private

Definition at line 123 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_eta25_
private

Definition at line 119 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_eta_[4]
private

Definition at line 118 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_hcalIso_[4]
private

Definition at line 121 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_hoe_[4]
private

Definition at line 123 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_phi25_
private

Definition at line 119 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_phi_[4]
private

Definition at line 118 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_pin_[4]
private

Definition at line 123 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_pout_[4]
private

Definition at line 123 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_pt25_
private

Definition at line 119 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_pt_[4]
private

Definition at line 118 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_q_[4]
private

Definition at line 117 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_sIhIh_[4]
private

Definition at line 120 of file AnalysisErsatz.h.

double AnalysisErsatz::elec_trckIso_[4]
private

Definition at line 121 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::GsfElectronCollection> AnalysisErsatz::ElectronCollection_
private

Definition at line 84 of file AnalysisErsatz.h.

bool AnalysisErsatz::ErsatzEvent_
private

Definition at line 90 of file AnalysisErsatz.h.

double AnalysisErsatz::genMEt25_
private

Definition at line 135 of file AnalysisErsatz.h.

double AnalysisErsatz::genMEt_
private

Definition at line 135 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::GenMETCollection> AnalysisErsatz::GenMEtCollection_
private

Definition at line 89 of file AnalysisErsatz.h.

double AnalysisErsatz::genMt_[4]
private

Definition at line 135 of file AnalysisErsatz.h.

double AnalysisErsatz::genUESumEt_
private

Definition at line 135 of file AnalysisErsatz.h.

double AnalysisErsatz::HltObj_eta_[4]
private

Definition at line 137 of file AnalysisErsatz.h.

double AnalysisErsatz::HltObj_pt_[4]
private

Definition at line 137 of file AnalysisErsatz.h.

double AnalysisErsatz::McElec1_eta_[4]
private

Definition at line 104 of file AnalysisErsatz.h.

double AnalysisErsatz::McElec1_pt_[4]
private

Definition at line 104 of file AnalysisErsatz.h.

double AnalysisErsatz::McElec3_eta_[4]
private

Definition at line 103 of file AnalysisErsatz.h.

double AnalysisErsatz::McElec3_pt_[4]
private

Definition at line 103 of file AnalysisErsatz.h.

double AnalysisErsatz::McLeptons_dEta_
private

Definition at line 115 of file AnalysisErsatz.h.

double AnalysisErsatz::McLeptons_dPhi_
private

Definition at line 115 of file AnalysisErsatz.h.

double AnalysisErsatz::McLeptons_dR_
private

Definition at line 115 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_ECALeta_
private

Definition at line 113 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_eta_
private

Definition at line 113 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_phi_
private

Definition at line 113 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_pt_
private

Definition at line 113 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_vx_
private

Definition at line 114 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_vy_
private

Definition at line 114 of file AnalysisErsatz.h.

double AnalysisErsatz::McNu_vz_
private

Definition at line 114 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::GenParticleCollection> AnalysisErsatz::MCTruthCollection_
private

Definition at line 83 of file AnalysisErsatz.h.

double AnalysisErsatz::mW_
private

Definition at line 94 of file AnalysisErsatz.h.

double AnalysisErsatz::mZ_
private

Definition at line 94 of file AnalysisErsatz.h.

int AnalysisErsatz::nHltObj_
private

Definition at line 136 of file AnalysisErsatz.h.

int AnalysisErsatz::nSelElecs_
private

Definition at line 136 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElec_eta_
private

Definition at line 109 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElec_phi_
private

Definition at line 109 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElec_pt_
private

Definition at line 109 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElec_Rescaled_eta_
private

Definition at line 111 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElec_Rescaled_phi_
private

Definition at line 111 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElec_Rescaled_pt_
private

Definition at line 111 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElecRECO_eta_
private

Definition at line 110 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElecRECO_pt_
private

Definition at line 110 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElecTRIG_eta_
private

Definition at line 110 of file AnalysisErsatz.h.

double AnalysisErsatz::OthrMcElecTRIG_pt_
private

Definition at line 110 of file AnalysisErsatz.h.

int AnalysisErsatz::OthrReco_
private

Definition at line 112 of file AnalysisErsatz.h.

int AnalysisErsatz::OthrTrig_
private

Definition at line 112 of file AnalysisErsatz.h.

double AnalysisErsatz::pfMEt_
private

Definition at line 128 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::PFMETCollection> AnalysisErsatz::PfMEtCollection_
private

Definition at line 87 of file AnalysisErsatz.h.

double AnalysisErsatz::pfMEtPhi_
private

Definition at line 128 of file AnalysisErsatz.h.

double AnalysisErsatz::pfSumEt_
private

Definition at line 128 of file AnalysisErsatz.h.

int AnalysisErsatz::RndmInt_
private

Definition at line 105 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElec_eta_
private

Definition at line 106 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElec_phi_
private

Definition at line 106 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElec_pt_
private

Definition at line 106 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElec_Rescaled_eta_
private

Definition at line 107 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElec_Rescaled_phi_
private

Definition at line 107 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElec_Rescaled_pt_
private

Definition at line 107 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElecRECO_eta_
private

Definition at line 108 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElecRECO_pt_
private

Definition at line 108 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElecTRIG_eta_
private

Definition at line 108 of file AnalysisErsatz.h.

double AnalysisErsatz::RndmMcElecTRIG_pt_
private

Definition at line 108 of file AnalysisErsatz.h.

int AnalysisErsatz::RndmReco_
private

Definition at line 112 of file AnalysisErsatz.h.

int AnalysisErsatz::RndmTrig_
private

Definition at line 112 of file AnalysisErsatz.h.

double AnalysisErsatz::Selected_nuEta_[4]
private

Definition at line 125 of file AnalysisErsatz.h.

double AnalysisErsatz::Selected_nuPhi_[4]
private

Definition at line 125 of file AnalysisErsatz.h.

double AnalysisErsatz::Selected_nuPt_[4]
private

Definition at line 125 of file AnalysisErsatz.h.

double AnalysisErsatz::t1MEt_
private

Definition at line 127 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::METCollection> AnalysisErsatz::T1MEtCollection_
private

Definition at line 86 of file AnalysisErsatz.h.

double AnalysisErsatz::t1MEtPhi_
private

Definition at line 127 of file AnalysisErsatz.h.

double AnalysisErsatz::t1SumEt_
private

Definition at line 127 of file AnalysisErsatz.h.

TTree* AnalysisErsatz::t_
private

Definition at line 100 of file AnalysisErsatz.h.

double AnalysisErsatz::tcMEt_
private

Definition at line 129 of file AnalysisErsatz.h.

edm::EDGetTokenT<reco::METCollection> AnalysisErsatz::TcMEtCollection_
private

Definition at line 88 of file AnalysisErsatz.h.

double AnalysisErsatz::tcMEtPhi_
private

Definition at line 129 of file AnalysisErsatz.h.

double AnalysisErsatz::tcSumEt_
private

Definition at line 129 of file AnalysisErsatz.h.

edm::EDGetTokenT<trigger::TriggerEvent> AnalysisErsatz::TriggerEvent_
private

Definition at line 95 of file AnalysisErsatz.h.

std::string AnalysisErsatz::TriggerName_
private

Definition at line 98 of file AnalysisErsatz.h.

AnalysisErsatz::TriggerPath_
private

Definition at line 97 of file AnalysisErsatz.h.

edm::EDGetTokenT<edm::TriggerResults> AnalysisErsatz::TriggerResults_
private

Definition at line 96 of file AnalysisErsatz.h.