|
|
#include <MuonIsolationDQM.h>
Definition at line 59 of file MuonIsolationDQM.h.
◆ MuIsoDepHandle
◆ MuonBaseRef
◆ MuonIterator
◆ anonymous enum
◆ MuonIsolationDQM()
◆ ~MuonIsolationDQM()
MuonIsolationDQM::~MuonIsolationDQM |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 595 of file MuonIsolationDQM.cc.
599 cout <<
"[MuonIsolationDQM]: analyze()" << endl;
607 cout <<
"[MuonIsolationDQM]: Number of muons -> " <<
muons->size() << endl;
610 int theMuonData =
muons->size();
613 cout <<
"[MuonIsolationDQM]: Vertex is Valid" << endl;
623 for (reco::VertexCollection::const_iterator
v =
vertex.begin();
v !=
vertex.end(); ++
v) {
628 if (fabs(
v->z()) > 24.0)
635 cout <<
"[MuonIsolationDQM]: Vertex is Valid" << endl;
References gather_cfg::cout, iEvent, edm::HandleBase::isValid(), HLT_FULL_cff::muon, PDWG_BPHSkim_cff::muons, nEvents, edm::Handle< T >::product(), muonIsolationDQM_cff::requireGLBMuon, muonIsolationDQM_cff::requireSTAMuon, muonIsolationDQM_cff::requireTRKMuon, findQualityFiles::v, and bphysicsOniaDQM_cfi::vertex.
◆ bookHistograms()
◆ FillHistos()
void MuonIsolationDQM::FillHistos |
( |
int |
numPV | ) |
|
|
private |
◆ FillNVtxHistos()
void MuonIsolationDQM::FillNVtxHistos |
( |
int |
PV | ) |
|
|
private |
◆ GetNVtxBin()
int MuonIsolationDQM::GetNVtxBin |
( |
int |
| ) |
|
|
private |
◆ GetTH1FromMonitorElement()
TH1 * MuonIsolationDQM::GetTH1FromMonitorElement |
( |
MonitorElement * |
me | ) |
|
|
private |
◆ InitHistos()
void MuonIsolationDQM::InitHistos |
( |
| ) |
|
|
private |
◆ InitStatics()
void MuonIsolationDQM::InitStatics |
( |
| ) |
|
|
private |
Definition at line 97 of file MuonIsolationDQM.cc.
99 cout <<
" InitStatistics() " << endl;
132 cout <<
"InitStatistics(): vectors resized " << endl;
135 main_titles[0] =
"Total Tracker Momentum, #Delta R = 0.3";
136 main_titles[1] =
"Total EM Cal Energy, #Delta R = 0.3";
137 main_titles[2] =
"Total Had Cal Energy, #Delta R = 0.3";
138 main_titles[3] =
"Total HO Cal Energy, #Delta R = 0.3";
139 main_titles[4] =
"Number of Tracker Tracks, #Delta R = 0.3";
140 main_titles[5] =
"Number of Jets around Muon, #Delta R = 0.3";
141 main_titles[6] =
"Tracker p_{T} within veto cone, #Delta R = 0.3";
142 main_titles[7] =
"EM E_{T} within veto cone, #Delta R = 0.3";
143 main_titles[8] =
"Had E_{T} within veto cone, #Delta R = 0.3";
144 main_titles[9] =
"HO E_{T} within veto cone, #Delta R = 0.3";
145 main_titles[10] =
"Average Momentum per Track, #Delta R = 0.3";
146 main_titles[11] =
"Weighted Energy, #Delta R = 0.3";
148 main_titles[12] =
"Total Tracker Momentum, #Delta R = 0.5";
149 main_titles[13] =
"Total EM Cal Energy, #Delta R = 0.5";
150 main_titles[14] =
"Total Had Cal Energy, #Delta R = 0.5";
151 main_titles[15] =
"Total HO Cal Energy, #Delta R = 0.5";
152 main_titles[16] =
"Number of Tracker Tracks, #Delta R = 0.5";
153 main_titles[17] =
"Number of Jets around Muon, #Delta R = 0.5";
154 main_titles[18] =
"Tracker p_{T} within veto cone, #Delta R = 0.5";
155 main_titles[19] =
"EM E_{T} within veto cone, #Delta R = 0.5";
156 main_titles[20] =
"Had E_{T} within veto cone, #Delta R = 0.5";
157 main_titles[21] =
"HO E_{T} within veto cone, #Delta R = 0.5";
158 main_titles[22] =
"Average Momentum per Track, #Delta R = 0.5";
159 main_titles[23] =
"Weighted Energy, #Delta R = 0.5";
161 main_titles[24] =
"Relative Detector-Based Isolation, #Delta R = 0.3";
162 main_titles[25] =
"Relative Detector-Based Isolation, #Delta R = 0.5";
165 main_titles[26] =
"Sum PF Charged Hadron Pt, #Delta R = 0.3";
166 main_titles[27] =
"Sum PF Neutral Hadron Pt, #Delta R = 0.3";
167 main_titles[28] =
"Sum PF Photon Et, #Delta R = 0.3";
168 main_titles[29] =
"Sum PF Neutral Hadron Pt (Higher Pt threshold), #Delta R = 0.3";
169 main_titles[30] =
"Sum PF Photon Et (Higher Pt threshold), #Delta R = 0.3";
170 main_titles[31] =
"Sum PF Charged Particles Pt not from PV (for Pu corrections), #Delta R = 0.3";
173 main_titles[32] =
"Sum PF Charged Hadron Pt, #Delta R = 0.4";
174 main_titles[33] =
"Sum PF Neutral Hadron Pt, #Delta R = 0.4";
175 main_titles[34] =
"Sum PF Photon Et, #Delta R = 0.4";
176 main_titles[35] =
"Sum PF Neutral Hadron Pt (Higher Pt threshold), #Delta R = 0.4";
177 main_titles[36] =
"Sum PF Photon Et (Higher Pt threshold), #Delta R = 0.4";
178 main_titles[37] =
"Sum PF Charged Particles Pt not from PV (for Pu corrections), #Delta R = 0.4";
180 main_titles[38] =
"Relative PF Isolation, #Delta R = 0.3";
181 main_titles[39] =
"Relative PF Isolation, #Delta R = 0.4";
183 main_titles[40] =
"Relative PF Isolation (Higher Pt threshold), #Delta R = 0.3";
184 main_titles[41] =
"Relative PF Isolation (Higher Pt threshold), #Delta R = 0.4";
186 main_titles[42] =
"Sum DR Isolation Profile for Charged Hadron, #Delta R = 0.4";
188 main_titles[43] =
"Sum DR Isolation Profile for Neutral Hadron, #Delta R = 0.4";
190 main_titles[44] =
"Sum DR Isolation Profile for Photon, #Delta R = 0.4";
192 main_titles[45] =
"Mean DR Isolation Profile for Charged Hadron, #Delta R = 0.4";
194 main_titles[46] =
"Mean DR Isolation Profile for Neutral Hadron, #Delta R = 0.4";
196 main_titles[47] =
"Mean DR Isolation Profile for Photon, #Delta R = 0.4";
199 cout <<
"InitStatistics(): main titles 1D DONE " << endl;
201 titles_2D[0] =
"Total Tracker Momentum, #Delta R = 0.3";
202 titles_2D[1] =
"Total EM Cal Energy, #Delta R = 0.3";
203 titles_2D[2] =
"Total Had Cal Energy, #Delta R = 0.3";
204 titles_2D[3] =
"Total HO Cal Energy, #Delta R = 0.3";
205 titles_2D[4] =
"Sum PF Charged Hadron Pt, #Delta R = 0.4";
206 titles_2D[5] =
"Sum PF Neutral Hadron Pt, #Delta R = 0.4";
207 titles_2D[6] =
"Sum PF Photon Et, #Delta R = 0.4";
208 titles_2D[7] =
"Sum PF Charged Pt Not from PV, #Delta R = 0.4";
209 titles_2D[8] =
"Relative Detector-Based Isolation, #Delta R = 0.4";
210 titles_2D[9] =
"Relative PF Isolation, #Delta R = 0.4";
212 main_titles_NVtxs[0] =
"Sum PF Neutral Hadron Pt, #DeltaR = 0.4 ( 0 < N_{Vtx} < 15)";
213 main_titles_NVtxs[1] =
"Sum PF Neutral Hadron Pt, #DeltaR = 0.4 (15 < N_{Vtx} < 30)";
220 cout <<
"InitStatistics(): main titles 2D DONE " << endl;
234 axis_titles[10] =
"#Sigma p_{T} / N_{Tracks} (GeV)";
235 axis_titles[11] =
"(1.5) X #Sigma E_{T}^{EM} + #Sigma E_{T}^{Had}";
247 axis_titles[22] =
"#Sigma p_{T} / N_{Tracks} (GeV)";
248 axis_titles[23] =
"(1.5) X #Sigma E_{T}^{EM} + #Sigma E_{T}^{Had}";
250 axis_titles[24] =
"(#Sigma Tk p_{T} + #Sigma ECAL p_{T} + #Sigma HCAL p_{T})/ Mu p_{T} (GeV)";
251 axis_titles[25] =
"(#Sigma Tk p_{T} + #Sigma ECAL p_{T} + #Sigma HCAL p_{T})/ Mu p_{T} (GeV)";
267 axis_titles[38] =
"(#Sigma PFCharged p_{T} + #Sigma PFNeutral p_{T} + #Sigma PFPhoton p_{T}) Mu p_{T} (GeV)";
268 axis_titles[39] =
"(#Sigma PFCharged p_{T} + #Sigma PFNeutral p_{T} + #Sigma PFPhoton p_{T}) Mu p_{T} (GeV)";
269 axis_titles[40] =
"(#Sigma PFCharged p_{T} + #Sigma PFNeutral p_{T} + #Sigma PFPhoton p_{T}) Mu p_{T} (GeV)";
270 axis_titles[41] =
"(#Sigma PFCharged p_{T} + #Sigma PFNeutral p_{T} + #Sigma PFPhoton p_{T}) Mu p_{T} (GeV)";
288 cout <<
"InitStatistics(): main titles 1D DONE " << endl;
292 names[0] =
"sumPt_R03";
293 names[1] =
"emEt_R03";
294 names[2] =
"hadEt_R03";
295 names[3] =
"hoEt_R03";
296 names[4] =
"nTracks_R03";
297 names[5] =
"nJets_R03";
298 names[6] =
"trackerVetoPt_R03";
299 names[7] =
"emVetoEt_R03";
300 names[8] =
"hadVetoEt_R03";
301 names[9] =
"hoVetoEt_R03";
302 names[10] =
"avgPt_R03";
303 names[11] =
"weightedEt_R03";
305 names[12] =
"sumPt_R05";
306 names[13] =
"emEt_R05";
307 names[14] =
"hadEt_R05";
308 names[15] =
"hoEt_R05";
309 names[16] =
"nTracks_R05";
310 names[17] =
"nJets_R05";
311 names[18] =
"trackerVetoPt_R05";
312 names[19] =
"emVetoEt_R05";
313 names[20] =
"hadVetoEt_R05";
314 names[21] =
"hoVetoEt_R05";
315 names[22] =
"avgPt_R05";
316 names[23] =
"weightedEt_R05";
318 names[24] =
"relDetIso_R03";
319 names[25] =
"relDetIso_R05";
321 names[26] =
"pfChargedPt_R03";
322 names[27] =
"pfNeutralPt_R03";
323 names[28] =
"pfPhotonPt_R03";
324 names[29] =
"pfNeutralPt_HT_R03";
325 names[30] =
"pfPhotonPt_HT_R03";
326 names[31] =
"pfChargedPt_PU_R03";
328 names[32] =
"pfChargedPt_R04";
329 names[33] =
"pfNeutralPt_R04";
330 names[34] =
"pfPhotonPt_R04";
331 names[35] =
"pfNeutralPt_HT_R04";
332 names[36] =
"pfPhotonPt_HT_R04";
333 names[37] =
"pfChargedPt_PU_R04";
335 names[38] =
"relPFIso_R03";
336 names[39] =
"relPFIso_R04";
338 names[40] =
"relPFIso_HT_R03";
339 names[41] =
"relPFIso_HT_R04";
341 names[42] =
"SumDR_PFCharged_R04";
342 names[43] =
"SumDR_PFNeutral_R04";
343 names[44] =
"SumDR_PFPhoton_R04";
345 names[45] =
"MeanDR_PFCharged_R04";
346 names[46] =
"MeanDR_PFNeutral_R04";
347 names[47] =
"MeanDR_PFPhoton_R04";
350 cout <<
"InitStatistics(): names 1D DONE " << endl;
365 cout <<
"InitStatistics(): names 2D DONE " << endl;
590 cout <<
"InitStatistics(): DONE " << endl;
References gather_cfg::cout, createfilelist::int, and names.
◆ NormalizeHistos()
void MuonIsolationDQM::NormalizeHistos |
( |
| ) |
|
|
private |
◆ RecordData()
void MuonIsolationDQM::RecordData |
( |
const reco::Muon & |
muon | ) |
|
|
private |
Definition at line 659 of file MuonIsolationDQM.cc.
663 float MuPt =
muon.pt();
708 theData[26] =
muon.pfIsolationR03().sumChargedHadronPt;
709 theData[27] =
muon.pfIsolationR03().sumNeutralHadronEt;
711 theData[29] =
muon.pfIsolationR03().sumNeutralHadronEtHighThreshold;
712 theData[30] =
muon.pfIsolationR03().sumPhotonEtHighThreshold;
715 theData[32] =
muon.pfIsolationR04().sumChargedHadronPt;
716 theData[33] =
muon.pfIsolationR04().sumNeutralHadronEt;
718 theData[35] =
muon.pfIsolationR04().sumNeutralHadronEtHighThreshold;
719 theData[36] =
muon.pfIsolationR04().sumPhotonEtHighThreshold;
728 theData[42] =
muon.pfSumDRIsoProfileR04().sumChargedHadronPt;
729 theData[43] =
muon.pfSumDRIsoProfileR04().sumNeutralHadronEt;
730 theData[44] =
muon.pfSumDRIsoProfileR04().sumPhotonEt;
731 theData[45] =
muon.pfMeanDRIsoProfileR04().sumChargedHadronPt;
732 theData[46] =
muon.pfMeanDRIsoProfileR04().sumNeutralHadronEt;
733 theData[47] =
muon.pfMeanDRIsoProfileR04().sumPhotonEt;
References gather_cfg::cout.
◆ axis_titles
std::vector<std::string> MuonIsolationDQM::axis_titles |
|
private |
◆ axis_titles_NVtxs
std::vector<std::string> MuonIsolationDQM::axis_titles_NVtxs |
|
private |
◆ dirName
std::string MuonIsolationDQM::dirName |
|
private |
◆ h_1D
◆ h_1D_NVTX
◆ h_2D
◆ h_nMuons
◆ isContinuous
std::vector<int> MuonIsolationDQM::isContinuous |
|
private |
◆ L_BIN_WIDTH
double MuonIsolationDQM::L_BIN_WIDTH |
|
private |
◆ LOG_BINNING_ENABLED
int MuonIsolationDQM::LOG_BINNING_ENABLED |
|
private |
◆ LOG_BINNING_RATIO
double MuonIsolationDQM::LOG_BINNING_RATIO |
|
private |
◆ main_titles
std::vector<std::string> MuonIsolationDQM::main_titles |
|
private |
◆ main_titles_NVtxs
std::vector<std::string> MuonIsolationDQM::main_titles_NVtxs |
|
private |
◆ MuIsoDepRef
◆ names
std::vector<std::string> MuonIsolationDQM::names |
|
private |
◆ names_2D
std::vector<std::string> MuonIsolationDQM::names_2D |
|
private |
◆ names_NVtxs
std::vector<std::string> MuonIsolationDQM::names_NVtxs |
|
private |
◆ nEvents
int MuonIsolationDQM::nEvents |
|
private |
◆ nGLBMuons
int MuonIsolationDQM::nGLBMuons |
|
private |
◆ nSTAMuons
int MuonIsolationDQM::nSTAMuons |
|
private |
◆ nTRKMuons
int MuonIsolationDQM::nTRKMuons |
|
private |
◆ NUM_LOG_BINS
int MuonIsolationDQM::NUM_LOG_BINS |
|
private |
◆ NUM_VARS
const int MuonIsolationDQM::NUM_VARS = 48 |
|
staticprivate |
◆ NUM_VARS_2D
const int MuonIsolationDQM::NUM_VARS_2D = 10 |
|
staticprivate |
◆ NUM_VARS_NVTX
const int MuonIsolationDQM::NUM_VARS_NVTX = 6 |
|
staticprivate |
◆ param
std::vector<std::vector<double> > MuonIsolationDQM::param |
|
private |
◆ requireGLBMuon
bool MuonIsolationDQM::requireGLBMuon |
|
private |
◆ requireSTAMuon
bool MuonIsolationDQM::requireSTAMuon |
|
private |
◆ requireTRKMuon
bool MuonIsolationDQM::requireTRKMuon |
|
private |
◆ rootfilename
std::string MuonIsolationDQM::rootfilename |
|
private |
◆ S_BIN_WIDTH
double MuonIsolationDQM::S_BIN_WIDTH |
|
private |
◆ theData
double MuonIsolationDQM::theData[NUM_VARS] |
|
private |
◆ theData2D
◆ theDataNVtx
◆ theMuonCollectionLabel_
◆ theVertexCollectionLabel_
◆ title_cone
std::string MuonIsolationDQM::title_cone |
|
private |
◆ title_sam
std::string MuonIsolationDQM::title_sam |
|
private |
◆ titles_2D
std::vector<std::string> MuonIsolationDQM::titles_2D |
|
private |
T const * product() const
std::vector< std::string > titles_2D
std::vector< int > isContinuous
double theDataNVtx[NUM_VARS_NVTX]
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::vector< std::vector< double > > param
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< std::string > axis_titles
std::vector< std::string > axis_titles_NVtxs
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
static const int NUM_VARS
double theData2D[NUM_VARS_2D]
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
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())
edm::EDGetTokenT< reco::VertexCollection > theVertexCollectionLabel_
static const int NUM_VARS_NVTX
std::vector< std::string > main_titles_NVtxs
TH1 * GetTH1FromMonitorElement(MonitorElement *me)
std::vector< MonitorElement * > h_2D
std::vector< std::string > main_titles
MonitorElement * h_nMuons
std::vector< MonitorElement * > h_1D
std::vector< std::string > names
T getParameter(std::string const &) const
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::vector< MonitorElement * > h_1D_NVTX
std::vector< std::string > names_2D
void RecordData(const reco::Muon &muon)
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
static const int NUM_VARS_2D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
std::vector< std::string > names_NVtxs