|
|
Go to the documentation of this file.
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";
324 edm::LogInfo(
"Tutorial") <<
"Number of Muons: " << muonsHandle->size();
333 if (
muon->combinedMuon().isNull())
374 if (
muon->isPFMuon() &&
muon->isPFIsolationValid()) {
375 theData[15] =
muon->pfIsolationR03().sumChargedHadronPt;
376 theData[16] =
muon->pfIsolationR03().sumChargedParticlePt;
377 theData[17] =
muon->pfIsolationR03().sumChargedParticlePt -
muon->pfIsolationR03().sumChargedHadronPt;
378 theData[18] =
muon->pfIsolationR03().sumNeutralHadronEt;
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);
458 const double first_bin_width = (
r > 1.0) ?
463 bin_edges[1] =
min + first_bin_width;
465 bin_edges[
n] = bin_edges[
n - 1] + (bin_edges[
n - 1] - bin_edges[
n - 2]) *
r;
479 for (
int var1 = 0; var1 <
NUM_VARS; ++var1) {
480 for (
int var2 = 0; var2 <
NUM_VARS; ++var2) {
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
void analyze(const edm::Event &, const edm::EventSetup &) override
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
#define DEFINE_FWK_MODULE(type)
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)
~MuIsoValidation() override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
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
MuIsoValidation(const edm::ParameterSet &)
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)