Public Member Functions | |
ZMuMuIsolationAnalyzer (const edm::ParameterSet &pset) | |
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 |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
enum | MuTag { muFromZ, muFromW, muFromOther } |
Private Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
void | Deposits (const pat::IsoDeposit *isodep, double dR_max, TH1F *hist) |
virtual void | endJob () override |
void | histo (TH1F *hist, const char *cx, const char *cy) const |
template<typename T > | |
MuTag | muTag (const T &mu) const |
Private Attributes | |
double | alpha |
double | beta |
double | dREcal |
double | dRHcal |
double | dRTrk |
double | dRVeto |
TH1F * | EcalEt |
TH1F * | EcalEtZ |
double | eta |
double | etEcalThreshold |
double | etHcalThreshold |
TH1F * | h_IsoOther_ecal |
TH1F * | h_IsoOther_hcal |
TH1F * | h_IsoOther_tk |
TH1F * | h_IsoW_ecal |
TH1F * | h_IsoW_hcal |
TH1F * | h_IsoW_tk |
TH1F * | h_IsoZ_ecal |
TH1F * | h_IsoZ_hcal |
TH1F * | h_IsoZ_tk |
TH1F * | HcalEt |
TH1F * | HcalEtZ |
double | iso_cut |
TH1F * | IsoOther |
TH1F * | IsoW |
TH1F * | IsoZ |
TH1F * | Other_eta |
TH1F * | Other_eta_postSelection |
TH1F * | Other_pt |
TH1F * | Other_pt_postSelection |
double | pt |
double | ptThreshold |
EDGetTokenT< CandidateView > | srcToken |
TH1F * | TkrPt |
TH1F * | W_eta |
TH1F * | W_eta_postSelection |
TH1F * | W_pt |
TH1F * | W_pt_postSelection |
TH1F * | Z_eta |
TH1F * | Z_eta_postSelection |
TH1F * | Z_pt |
TH1F * | Z_pt_postSelection |
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) |
Definition at line 35 of file ZMuMuIsolationAnalyzer.cc.
|
private |
Enumerator | |
---|---|
muFromZ | |
muFromW | |
muFromOther |
Definition at line 61 of file ZMuMuIsolationAnalyzer.cc.
ZMuMuIsolationAnalyzer::ZMuMuIsolationAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 128 of file ZMuMuIsolationAnalyzer.cc.
References alpha, beta, dRTrk, EcalEt, EcalEtZ, eta, h_IsoOther_ecal, h_IsoOther_hcal, h_IsoOther_tk, h_IsoW_ecal, h_IsoW_hcal, h_IsoW_tk, h_IsoZ_ecal, h_IsoZ_hcal, h_IsoZ_tk, HcalEt, HcalEtZ, IsoOther, IsoW, IsoZ, TFileService::make(), Other_eta, Other_eta_postSelection, Other_pt, Other_pt_postSelection, pt, ptThreshold, TkrPt, W_eta, W_eta_postSelection, W_pt, W_pt_postSelection, Z_eta, Z_eta_postSelection, Z_pt, and Z_pt_postSelection.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 192 of file ZMuMuIsolationAnalyzer.cc.
References funct::abs(), alpha, beta, reco::IsoDeposit::candEnergy(), reco::Candidate::daughter(), Deposits(), hotlineSkims_cff::dimuons, dREcal, dRHcal, dRTrk, dRVeto, EcalEt, EcalEtZ, pat::EcalIso, eta, reco::LeafCandidate::eta(), etEcalThreshold, etHcalThreshold, h_IsoOther_ecal, h_IsoOther_hcal, h_IsoOther_tk, h_IsoW_ecal, h_IsoW_hcal, h_IsoW_tk, h_IsoZ_ecal, h_IsoZ_hcal, h_IsoZ_tk, HcalEt, HcalEtZ, pat::HcalIso, histo(), i, iso_cut, pat::Lepton< LeptonType >::isoDeposit(), pat::GenericParticle::isoDeposit(), IsoOther, IsoW, IsoZ, reco::Candidate::masterClone(), Max(), muFromW, muFromZ, muTag(), Other_eta, Other_eta_postSelection, Other_pt, Other_pt_postSelection, reco::LeafCandidate::phi(), pt, reco::LeafCandidate::pt(), ptThreshold, srcToken, reco::IsoDeposit::sumWithin(), TkrPt, pat::TrackIso, W_eta, W_eta_postSelection, W_pt, W_pt_postSelection, Z_eta, Z_eta_postSelection, Z_pt, and Z_pt_postSelection.
|
private |
Definition at line 107 of file ZMuMuIsolationAnalyzer.cc.
References reco::IsoDeposit::begin(), reco::IsoDeposit::end(), and theta().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 355 of file ZMuMuIsolationAnalyzer.cc.
|
private |
|
private |
Definition at line 69 of file ZMuMuIsolationAnalyzer.cc.
References funct::abs(), edm::Ref< C, T, F >::isNull(), reco::Candidate::mother(), AlCaHLTBitMon_ParallelJobs::p, and reco::Candidate::pdgId().
Referenced by analyze().
|
private |
Definition at line 45 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 45 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 43 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 43 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 43 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 42 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 54 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 46 of file ZMuMuIsolationAnalyzer.cc.
Referenced by Particle.Particle::__str__(), analyze(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 44 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 44 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 50 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 51 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 49 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 50 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 51 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 49 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 50 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 51 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 49 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 53 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 54 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 47 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 52 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 52 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 56 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 57 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 58 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 59 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 46 of file ZMuMuIsolationAnalyzer.cc.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), analyze(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 44 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 41 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 56 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 57 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 58 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 59 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 56 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 57 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 58 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().
|
private |
Definition at line 59 of file ZMuMuIsolationAnalyzer.cc.
Referenced by analyze(), and ZMuMuIsolationAnalyzer().