#include <MuIsoValidation.h>
Public Member Functions | |
MuIsoValidation (const edm::ParameterSet &) | |
~MuIsoValidation () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Types | |
enum | { NOAXIS, XAXIS, YAXIS, ZAXIS } |
typedef edm::Handle < reco::IsoDepositMap > | MuIsoDepHandle |
typedef const reco::IsoDeposit | MuIsoDepRef |
typedef edm::RefToBase < reco::Muon > | MuonBaseRef |
typedef edm::View< reco::Muon > ::const_iterator | MuonIterator |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
void | FillHistos () |
TH1 * | GetTH1FromMonitorElement (MonitorElement *me) |
TH2 * | GetTH2FromMonitorElement (MonitorElement *me) |
TProfile * | GetTProfileFromMonitorElement (MonitorElement *me) |
void | InitHistos () |
void | InitStatics () |
void | MakeLogBinsForProfile (Double_t *bin_edges, const double min, const double max) |
void | NormalizeHistos () |
void | RecordData (MuonIterator muon) |
Private Attributes | |
std::vector< std::string > | axis_titles |
std::vector< MonitorElement * > | cd_plots |
DQMStore * | dbe |
std::string | dirName |
edm::InputTag | ecalIsoDeposit_Tag |
std::vector< MonitorElement * > | h_1D |
MonitorElement * | h_nMuons |
edm::InputTag | hcalIsoDeposit_Tag |
edm::InputTag | hoIsoDeposit_Tag |
std::vector< int > | isContinuous |
double | L_BIN_WIDTH |
int | LOG_BINNING_ENABLED |
double | LOG_BINNING_RATIO |
std::vector< std::string > | main_titles |
edm::InputTag | Muon_Tag |
std::vector< std::string > | names |
int | nCombinedMuons |
int | nEvents |
int | nIncMuons |
int | NUM_LOG_BINS |
std::vector< std::vector < MonitorElement * > > | p_2D |
std::vector< std::vector < double > > | param |
bool | requireCombinedMuon |
std::string | rootfilename |
double | S_BIN_WIDTH |
std::string | subDirName |
double | theData [NUM_VARS] |
int | theMuonData |
std::string | title_cd |
std::string | title_cone |
std::string | title_sam |
edm::InputTag | tkIsoDeposit_Tag |
Static Private Attributes | |
static const int | NUM_VARS = 15 |
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) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 56 of file MuIsoValidation.h.
|
private |
Definition at line 60 of file MuIsoValidation.h.
|
private |
Definition at line 61 of file MuIsoValidation.h.
|
private |
Definition at line 59 of file MuIsoValidation.h.
|
private |
Definition at line 58 of file MuIsoValidation.h.
|
private |
Enumerator | |
---|---|
NOAXIS | |
XAXIS | |
YAXIS | |
ZAXIS |
Definition at line 141 of file MuIsoValidation.h.
|
explicit |
Definition at line 63 of file MuIsoValidation.cc.
References DQMStore::cd(), cd_plots, dbe, dirName, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), h_1D, InitStatics(), Muon_Tag, nCombinedMuons, nEvents, nIncMuons, NUM_VARS, cmsCodeRules.cppFunctionSkipper::operator, p_2D, and requireCombinedMuon.
MuIsoValidation::~MuIsoValidation | ( | ) |
Definition at line 110 of file MuIsoValidation.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 241 of file MuIsoValidation.cc.
References DQMStore::cd(), dbe, dirName, MonitorElement::Fill(), FillHistos(), edm::Event::getByLabel(), h_nMuons, metsig::muon, Muon_Tag, nCombinedMuons, nEvents, nIncMuons, RecordData(), requireCombinedMuon, DQMStore::setCurrentFolder(), and theMuonData.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 301 of file MuIsoValidation.cc.
References DQMStore::cd(), dbe, dirName, InitHistos(), and DQMStore::setCurrentFolder().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 315 of file MuIsoValidation.cc.
References dbe, dirName, DQMStore::get(), nEvents, nIncMuons, and NormalizeHistos().
|
private |
Definition at line 478 of file MuIsoValidation.cc.
References cd_plots, GetTH1FromMonitorElement(), h_1D, NUM_VARS, p_2D, param, and theData.
Referenced by analyze().
|
private |
Definition at line 506 of file MuIsoValidation.cc.
References MonitorElement::getTH1().
Referenced by FillHistos(), InitHistos(), and NormalizeHistos().
|
private |
|
private |
Definition at line 514 of file MuIsoValidation.cc.
References MonitorElement::getTProfile().
Referenced by InitHistos().
|
private |
Definition at line 340 of file MuIsoValidation.cc.
References axis_titles, DQMStore::book1D(), DQMStore::bookProfile(), cd_plots, dbe, GetTH1FromMonitorElement(), GetTProfileFromMonitorElement(), h_1D, h_nMuons, isContinuous, LOG_BINNING_ENABLED, main_titles, MakeLogBinsForProfile(), names, NUM_LOG_BINS, NUM_VARS, p_2D, param, MonitorElement::setAxisTitle(), title_cd, title_cone, title_sam, XAXIS, and YAXIS.
Referenced by beginJob().
|
private |
Definition at line 119 of file MuIsoValidation.cc.
References axis_titles, isContinuous, L_BIN_WIDTH, LOG_BINNING_ENABLED, LOG_BINNING_RATIO, main_titles, names, NUM_LOG_BINS, NUM_VARS, param, S_BIN_WIDTH, title_cd, title_cone, and title_sam.
Referenced by MuIsoValidation().
|
private |
Definition at line 436 of file MuIsoValidation.cc.
References LOG_BINNING_RATIO, max(), min, n, RecoTauCommonJetSelections_cfi::nbins, NUM_LOG_BINS, funct::pow(), and csvReporter::r.
Referenced by InitHistos().
|
private |
Definition at line 454 of file MuIsoValidation.cc.
References cd_plots, python.tagInventory::entries, GetTH1FromMonitorElement(), h_1D, n, NUM_VARS, param, and requireCombinedMuon.
Referenced by endJob().
|
private |
Definition at line 272 of file MuIsoValidation.cc.
References theData.
Referenced by analyze().
|
private |
Definition at line 114 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 131 of file MuIsoValidation.h.
Referenced by FillHistos(), InitHistos(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 122 of file MuIsoValidation.h.
Referenced by analyze(), beginJob(), endJob(), InitHistos(), and MuIsoValidation().
|
private |
Definition at line 97 of file MuIsoValidation.h.
Referenced by analyze(), beginJob(), endJob(), and MuIsoValidation().
|
private |
Definition at line 91 of file MuIsoValidation.h.
|
private |
Definition at line 130 of file MuIsoValidation.h.
Referenced by FillHistos(), InitHistos(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 129 of file MuIsoValidation.h.
Referenced by analyze(), and InitHistos().
|
private |
Definition at line 90 of file MuIsoValidation.h.
|
private |
Definition at line 92 of file MuIsoValidation.h.
|
private |
Definition at line 117 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 102 of file MuIsoValidation.h.
Referenced by InitStatics().
|
private |
Definition at line 104 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 106 of file MuIsoValidation.h.
Referenced by InitStatics(), and MakeLogBinsForProfile().
|
private |
Definition at line 113 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 88 of file MuIsoValidation.h.
Referenced by analyze(), and MuIsoValidation().
|
private |
Definition at line 115 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 138 of file MuIsoValidation.h.
Referenced by analyze(), and MuIsoValidation().
|
private |
Definition at line 136 of file MuIsoValidation.h.
Referenced by analyze(), endJob(), and MuIsoValidation().
|
private |
Definition at line 137 of file MuIsoValidation.h.
Referenced by analyze(), endJob(), and MuIsoValidation().
|
private |
Definition at line 105 of file MuIsoValidation.h.
Referenced by InitHistos(), InitStatics(), and MakeLogBinsForProfile().
|
staticprivate |
Definition at line 101 of file MuIsoValidation.h.
Referenced by FillHistos(), InitHistos(), InitStatics(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 133 of file MuIsoValidation.h.
Referenced by FillHistos(), InitHistos(), and MuIsoValidation().
|
private |
Definition at line 116 of file MuIsoValidation.h.
Referenced by FillHistos(), InitHistos(), InitStatics(), and NormalizeHistos().
|
private |
Definition at line 107 of file MuIsoValidation.h.
Referenced by analyze(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 95 of file MuIsoValidation.h.
|
private |
Definition at line 103 of file MuIsoValidation.h.
Referenced by InitStatics().
|
private |
Definition at line 98 of file MuIsoValidation.h.
|
private |
Definition at line 126 of file MuIsoValidation.h.
Referenced by FillHistos(), and RecordData().
|
private |
Definition at line 125 of file MuIsoValidation.h.
Referenced by analyze().
|
private |
Definition at line 111 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 110 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 109 of file MuIsoValidation.h.
Referenced by InitHistos(), and InitStatics().
|
private |
Definition at line 89 of file MuIsoValidation.h.