#include <MuIsoValidation.h>
Public Member Functions | |
MuIsoValidation (const edm::ParameterSet &) | |
~MuIsoValidation () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
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 | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | FillHistos () |
TH1 * | GetTH1FromMonitorElement (MonitorElement *me) |
TH2 * | GetTH2FromMonitorElement (MonitorElement *me) |
TProfile * | GetTProfileFromMonitorElement (MonitorElement *me) |
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 |
std::vector< int > | cdCompNeeded |
std::string | dirName |
edm::InputTag | ecalIsoDeposit_Tag |
std::vector< MonitorElement * > | h_1D |
MonitorElement * | h_nMuons |
edm::InputTag | hcalIsoDeposit_Tag |
edm::InputTag | hoIsoDeposit_Tag |
edm::ParameterSet | iConfig |
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 |
edm::EDGetTokenT< edm::View< reco::Muon > > | Muon_Token |
std::vector< std::string > | names |
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 |
std::string | subsystemname_ |
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 = 21 |
Definition at line 59 of file MuIsoValidation.h.
|
private |
Definition at line 63 of file MuIsoValidation.h.
|
private |
Definition at line 64 of file MuIsoValidation.h.
|
private |
Definition at line 62 of file MuIsoValidation.h.
|
private |
Definition at line 61 of file MuIsoValidation.h.
|
private |
Enumerator | |
---|---|
NOAXIS | |
XAXIS | |
YAXIS | |
ZAXIS |
Definition at line 147 of file MuIsoValidation.h.
|
explicit |
Definition at line 63 of file MuIsoValidation.cc.
References cd_plots, dirName, edm::ParameterSet::getUntrackedParameter(), h_1D, iConfig, InitStatics(), Muon_Tag, Muon_Token, nEvents, nIncMuons, NUM_VARS, p_2D, requireCombinedMuon, AlCaHLTBitMon_QueryRunRegistry::string, and subsystemname_.
|
override |
Definition at line 98 of file MuIsoValidation.cc.
|
overrideprivate |
Definition at line 282 of file MuIsoValidation.cc.
References MonitorElement::Fill(), FillHistos(), edm::Event::getByToken(), h_nMuons, metsig::muon, Muon_Token, nEvents, nIncMuons, RecordData(), requireCombinedMuon, theMuonData, and parallelization::uint().
|
overrideprivate |
Definition at line 353 of file MuIsoValidation.cc.
References axis_titles, create_public_lumi_plots::bin_edges, DQMStore::IBooker::book1D(), DQMStore::IBooker::bookProfile(), cd_plots, cdCompNeeded, dirName, GetTH1FromMonitorElement(), GetTProfileFromMonitorElement(), h_1D, h_nMuons, isContinuous, LOG_BINNING_ENABLED, main_titles, MakeLogBinsForProfile(), names, NUM_LOG_BINS, NUM_VARS, p_2D, param, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), title_cd, title_cone, title_sam, JetChargeProducer_cfi::var, XAXIS, and YAXIS.
|
private |
Definition at line 489 of file MuIsoValidation.cc.
References cd_plots, cdCompNeeded, h_1D, NUM_VARS, p_2D, theData, and JetChargeProducer_cfi::var.
Referenced by analyze().
|
private |
Definition at line 509 of file MuIsoValidation.cc.
References MonitorElement::getTH1().
Referenced by bookHistograms(), and NormalizeHistos().
|
private |
|
private |
Definition at line 517 of file MuIsoValidation.cc.
References DEFINE_FWK_MODULE, and MonitorElement::getTProfile().
Referenced by bookHistograms().
|
private |
Definition at line 107 of file MuIsoValidation.cc.
References axis_titles, cdCompNeeded, createfilelist::int, 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 449 of file MuIsoValidation.cc.
References LOG_BINNING_RATIO, SiStripPI::max, min(), gen::n, pileupCalc::nbins, NUM_LOG_BINS, funct::pow(), and alignCSCRings::r.
Referenced by bookHistograms().
|
private |
Definition at line 467 of file MuIsoValidation.cc.
References cd_plots, cdCompNeeded, GetTH1FromMonitorElement(), h_1D, createfilelist::int, gen::n, NUM_VARS, param, and JetChargeProducer_cfi::var.
|
private |
Definition at line 309 of file MuIsoValidation.cc.
References theData.
Referenced by analyze().
|
private |
Definition at line 119 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 137 of file MuIsoValidation.h.
Referenced by bookHistograms(), FillHistos(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 123 of file MuIsoValidation.h.
Referenced by bookHistograms(), FillHistos(), InitStatics(), and NormalizeHistos().
|
private |
Definition at line 100 of file MuIsoValidation.h.
Referenced by bookHistograms(), MuIsoValidation(), and core.JSONAnalyzer.JSONAnalyzer::write().
|
private |
Definition at line 94 of file MuIsoValidation.h.
|
private |
Definition at line 136 of file MuIsoValidation.h.
Referenced by bookHistograms(), FillHistos(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 135 of file MuIsoValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 93 of file MuIsoValidation.h.
|
private |
Definition at line 95 of file MuIsoValidation.h.
|
private |
Definition at line 129 of file MuIsoValidation.h.
Referenced by MuIsoValidation().
|
private |
Definition at line 122 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 107 of file MuIsoValidation.h.
Referenced by InitStatics().
|
private |
Definition at line 109 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 111 of file MuIsoValidation.h.
Referenced by InitStatics(), and MakeLogBinsForProfile().
|
private |
Definition at line 118 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 90 of file MuIsoValidation.h.
Referenced by MuIsoValidation().
|
private |
Definition at line 91 of file MuIsoValidation.h.
Referenced by analyze(), and MuIsoValidation().
|
private |
Definition at line 120 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 142 of file MuIsoValidation.h.
Referenced by analyze(), and MuIsoValidation().
|
private |
Definition at line 143 of file MuIsoValidation.h.
Referenced by analyze(), and MuIsoValidation().
|
private |
Definition at line 110 of file MuIsoValidation.h.
Referenced by bookHistograms(), InitStatics(), and MakeLogBinsForProfile().
|
staticprivate |
Definition at line 106 of file MuIsoValidation.h.
Referenced by bookHistograms(), FillHistos(), InitStatics(), MuIsoValidation(), and NormalizeHistos().
|
private |
Definition at line 139 of file MuIsoValidation.h.
Referenced by bookHistograms(), FillHistos(), and MuIsoValidation().
|
private |
Definition at line 121 of file MuIsoValidation.h.
Referenced by bookHistograms(), InitStatics(), and NormalizeHistos().
|
private |
Definition at line 112 of file MuIsoValidation.h.
Referenced by analyze(), and MuIsoValidation().
|
private |
Definition at line 98 of file MuIsoValidation.h.
|
private |
Definition at line 108 of file MuIsoValidation.h.
Referenced by InitStatics().
|
private |
Definition at line 101 of file MuIsoValidation.h.
|
private |
Definition at line 103 of file MuIsoValidation.h.
Referenced by MuIsoValidation().
|
private |
Definition at line 132 of file MuIsoValidation.h.
Referenced by FillHistos(), and RecordData().
|
private |
Definition at line 131 of file MuIsoValidation.h.
Referenced by analyze().
|
private |
Definition at line 116 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 115 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 114 of file MuIsoValidation.h.
Referenced by bookHistograms(), and InitStatics().
|
private |
Definition at line 92 of file MuIsoValidation.h.