|
|
#include <MuIsoValidation.h>
Definition at line 59 of file MuIsoValidation.h.
◆ MuIsoDepHandle
◆ MuonBaseRef
◆ MuonIterator
◆ anonymous enum
◆ MuIsoValidation()
Definition at line 61 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_.
◆ ~MuIsoValidation()
MuIsoValidation::~MuIsoValidation |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 315 of file MuIsoValidation.cc.
324 edm::LogInfo(
"Tutorial") <<
"Number of Muons: " << muonsHandle->size();
333 if (
muon->combinedMuon().isNull())
References dqm::impl::MonitorElement::Fill(), FillHistos(), h_nMuons, iEvent, HLT_FULL_cff::muon, Muon_Token, nEvents, nIncMuons, RecordData(), requireCombinedMuon, theMuonData, and parallelization::uint.
◆ bookHistograms()
Implements DQMEDAnalyzer.
Definition at line 384 of file MuIsoValidation.cc.
398 [](TH1* th1) { th1->Sumw2(); });
408 [](TH1* th1) { th1->Sumw2(); });
415 for (
int var1 = 0; var1 <
NUM_VARS; var1++) {
416 for (
int var2 = 0; var2 <
NUM_VARS; var2++) {
431 [&](TProfile* tprof) {
451 p_2D[4][9]->setAxisRange(0.5, 15.5,
XAXIS);
References axis_titles, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), cd_plots, cdCompNeeded, dirName, h_1D, h_nMuons, isContinuous, LOG_BINNING_ENABLED, main_titles, MakeLogBinsForProfile(), names, NUM_LOG_BINS, NUM_VARS, p_2D, param, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), title_cd, title_cone, title_sam, trigObjTnPSource_cfi::var, XAXIS, and YAXIS.
◆ FillHistos()
void MuIsoValidation::FillHistos |
( |
| ) |
|
|
private |
◆ InitStatics()
void MuIsoValidation::InitStatics |
( |
| ) |
|
|
private |
Definition at line 101 of file MuIsoValidation.cc.
162 axis_titles[13] =
"#Sigma p_{T} / N_{Tracks} (GeV)";
163 axis_titles[14] =
"(1.5) X #Sigma E_{T}^{EM} + #Sigma E_{T}^{Had}";
176 names[4] =
"nTracks";
178 names[6] =
"trackerVetoPt";
179 names[7] =
"emVetoEt";
180 names[8] =
"hadVetoEt";
181 names[9] =
"hoVetoEt";
182 names[10] =
"muonPt";
183 names[11] =
"muonEta";
184 names[12] =
"muonPhi";
186 names[14] =
"weightedEt";
187 names[15] =
"PFsumChargedHadronPt";
188 names[16] =
"PFsumChargedTotalPt";
189 names[17] =
"PFsumEMuPt";
190 names[18] =
"PFsumNeutralHadronEt";
191 names[19] =
"PFsumPhotonEt";
192 names[20] =
"PFsumPUPt";
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().
◆ MakeLogBinsForProfile()
void MuIsoValidation::MakeLogBinsForProfile |
( |
Double_t * |
bin_edges, |
|
|
const double |
min, |
|
|
const double |
max |
|
) |
| |
|
private |
◆ RecordData()
◆ axis_titles
std::vector<std::string> MuIsoValidation::axis_titles |
|
private |
◆ cd_plots
◆ cdCompNeeded
std::vector<int> MuIsoValidation::cdCompNeeded |
|
private |
◆ dirName
std::string MuIsoValidation::dirName |
|
private |
◆ ecalIsoDeposit_Tag
◆ h_1D
◆ h_nMuons
◆ hcalIsoDeposit_Tag
◆ hoIsoDeposit_Tag
◆ iConfig
◆ isContinuous
std::vector<int> MuIsoValidation::isContinuous |
|
private |
◆ L_BIN_WIDTH
double MuIsoValidation::L_BIN_WIDTH |
|
private |
◆ LOG_BINNING_ENABLED
int MuIsoValidation::LOG_BINNING_ENABLED |
|
private |
◆ LOG_BINNING_RATIO
double MuIsoValidation::LOG_BINNING_RATIO |
|
private |
◆ main_titles
std::vector<std::string> MuIsoValidation::main_titles |
|
private |
◆ MuIsoDepRef
◆ Muon_Tag
◆ Muon_Token
◆ names
std::vector<std::string> MuIsoValidation::names |
|
private |
◆ nEvents
int MuIsoValidation::nEvents |
|
private |
◆ nIncMuons
int MuIsoValidation::nIncMuons |
|
private |
◆ NUM_LOG_BINS
int MuIsoValidation::NUM_LOG_BINS |
|
private |
◆ NUM_VARS
const int MuIsoValidation::NUM_VARS = 21 |
|
staticprivate |
◆ p_2D
◆ param
std::vector<std::vector<double> > MuIsoValidation::param |
|
private |
◆ requireCombinedMuon
bool MuIsoValidation::requireCombinedMuon |
|
private |
◆ rootfilename
std::string MuIsoValidation::rootfilename |
|
private |
◆ S_BIN_WIDTH
double MuIsoValidation::S_BIN_WIDTH |
|
private |
◆ subDirName
std::string MuIsoValidation::subDirName |
|
private |
◆ subsystemname_
std::string MuIsoValidation::subsystemname_ |
|
private |
◆ theData
double MuIsoValidation::theData[NUM_VARS] |
|
private |
◆ theMuonData
int MuIsoValidation::theMuonData |
|
private |
◆ title_cd
std::string MuIsoValidation::title_cd |
|
private |
◆ title_cone
std::string MuIsoValidation::title_cone |
|
private |
◆ title_sam
std::string MuIsoValidation::title_sam |
|
private |
◆ tkIsoDeposit_Tag
std::vector< std::string > axis_titles
std::vector< std::string > main_titles
MonitorElement * h_nMuons
edm::ParameterSet iConfig
static const int NUM_VARS
std::vector< int > cdCompNeeded
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< MonitorElement * > h_1D
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
std::vector< MonitorElement * > cd_plots
std::vector< std::vector< MonitorElement * > > p_2D
edm::EDGetTokenT< edm::View< reco::Muon > > Muon_Token
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
std::string subsystemname_
void RecordData(MuonIterator muon)
edm::View< reco::Muon >::const_iterator MuonIterator
Power< A, B >::type pow(const A &a, const B &b)
std::vector< std::vector< double > > param
std::vector< int > isContinuous
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::vector< std::string > names
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
void MakeLogBinsForProfile(Double_t *bin_edges, const double min, const double max)