Public Member Functions | |
ZMuMuIsolationAnalyzer (const edm::ParameterSet &pset) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) 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) |
void | Deposits (const pat::IsoDeposit *isodep, double dR_max, TH1F *hist) |
virtual void | endJob () |
void | histo (const 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 |
InputTag | src_muons |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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, TFileDirectory::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.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 192 of file ZMuMuIsolationAnalyzer.cc.
References abs, alpha, beta, reco::IsoDeposit::candEnergy(), reco::Candidate::daughter(), Deposits(), WZMuSkim_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(), siStripFEDMonitor_P5_cff::Max, muFromW, muFromZ, muTag(), Other_eta, Other_eta_postSelection, Other_pt, Other_pt_postSelection, reco::LeafCandidate::phi(), pt, reco::LeafCandidate::pt(), ptThreshold, src_muons, 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().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 355 of file ZMuMuIsolationAnalyzer.cc.
|
private |
|
private |
Definition at line 69 of file ZMuMuIsolationAnalyzer.cc.
References 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 analyze(), 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 analyze(), 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().