#include <CaloMETAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &, const edm::TriggerResults &) |
Get the analysis. More... | |
void | beginJob (DQMStore *dbe) |
Inizialize parameters for histo binning. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
Initialize run-based parameters. More... | |
void | bookMESet (std::string) |
void | bookMonitorElement (std::string, bool) |
void | bookMonitorElementTriggered (std::string, bool) |
CaloMETAnalyzer (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
Constructor. More... | |
void | computeEmHaMET (edm::Handle< edm::View< reco::Candidate > >) |
void | endJob () |
Finish up a job. More... | |
void | endRun (const edm::Run &iRun, const edm::EventSetup &iSetup, DQMStore *dbe) |
Finish up a run. More... | |
void | fillMESet (const edm::Event &, std::string, const reco::CaloMET &, const reco::CaloMET &) |
void | fillMESubSet (const edm::Event &, std::string, const reco::CaloMET &, const reco::CaloMET &) |
void | fillMonitorElement (const edm::Event &, std::string, std::string, const reco::CaloMET &, const reco::CaloMET &, bool) |
void | fillMonitorElementTriggered (const edm::Event &, std::string, std::string, const reco::CaloMET &, const reco::CaloMET &, bool) |
void | makeRatePlot (std::string, double) |
bool | selectHighPtJetEvent (const edm::Event &) |
bool | selectLowPtJetEvent (const edm::Event &) |
bool | selectWElectronEvent (const edm::Event &) |
bool | selectWMuonEvent (const edm::Event &) |
void | validateMET (const reco::CaloMET &, edm::Handle< edm::View< reco::Candidate > >) |
virtual | ~CaloMETAnalyzer () |
Destructor. More... | |
Public Member Functions inherited from CaloMETAnalyzerBase | |
void | analyze (const edm::Event &, const edm::EventSetup &, const edm::TriggerResults &, const reco::CaloMET &caloMET) |
Get the analysis of the muon properties. More... | |
CaloMETAnalyzerBase () | |
Constructor. More... | |
virtual | ~CaloMETAnalyzerBase () |
Destructor. More... | |
Public Attributes | |
int | evtCounter |
DQM monitoring source for CaloMET
Definition at line 52 of file CaloMETAnalyzer.h.
CaloMETAnalyzer::CaloMETAnalyzer | ( | const edm::ParameterSet & | pSet, |
edm::ConsumesCollector && | iC | ||
) |
Constructor.
Definition at line 31 of file CaloMETAnalyzer.cc.
References edm::ParameterSet::getParameter(), and Parameters::parameters.
|
virtual |
Destructor.
Definition at line 63 of file CaloMETAnalyzer.cc.
void CaloMETAnalyzer::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::TriggerResults & | triggerResults | ||
) |
Get the analysis.
Definition at line 506 of file CaloMETAnalyzer.cc.
References edm::HLTGlobalStatus::accept(), FamosSequences_cff::caloJets, gather_cfg::cout, reco::BeamHaloSummary::CSCLooseHaloId(), reco::BeamHaloSummary::CSCTightHaloId(), cmsPerfPublish::DirName, reco::BeamHaloSummary::EcalLooseHaloId(), reco::BeamHaloSummary::EcalTightHaloId(), edm::EventID::event(), edm::Event::getByLabel(), reco::BeamHaloSummary::GlobalLooseHaloId(), reco::BeamHaloSummary::GlobalTightHaloId(), reco::BeamHaloSummary::HcalLooseHaloId(), reco::BeamHaloSummary::HcalTightHaloId(), i, edm::EventBase::id(), edm::HandleBase::isValid(), bTagSequences_cff::jetID, LogDebug, LogTrace, metname, edm::Handle< T >::product(), edm::HLTGlobalStatus::size(), edm::TriggerNames::size(), AlCaHLTBitMon_QueryRunRegistry::string, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), findQualityFiles::v, and GoodVertex_cfg::vertexCollection.
|
virtual |
Inizialize parameters for histo binning.
Implements CaloMETAnalyzerBase.
Definition at line 76 of file CaloMETAnalyzer.cc.
References DQMStore::book1D(), cmsPerfPublish::DirName, edm::ParameterSet::getParameter(), bTagSequences_cff::jetID, LogTrace, metname, Parameters::parameters, MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
void CaloMETAnalyzer::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iSetup | ||
) |
Initialize run-based parameters.
Definition at line 391 of file CaloMETAnalyzer.cc.
void CaloMETAnalyzer::bookMESet | ( | std::string | DirName | ) |
Definition at line 200 of file CaloMETAnalyzer.cc.
References gather_cfg::cout.
void CaloMETAnalyzer::bookMonitorElement | ( | std::string | DirName, |
bool | bLumiSecPlot = false |
||
) |
Definition at line 247 of file CaloMETAnalyzer.cc.
References gather_cfg::cout.
void CaloMETAnalyzer::bookMonitorElementTriggered | ( | std::string | DirName, |
bool | bLumiSecPlot = false |
||
) |
Definition at line 300 of file CaloMETAnalyzer.cc.
References gather_cfg::cout, nbinsPV, PVlow, and PVup.
void CaloMETAnalyzer::computeEmHaMET | ( | edm::Handle< edm::View< reco::Candidate > > | towers | ) |
Definition at line 975 of file CaloMETAnalyzer.cc.
References funct::cos(), CaloTower::emEnergy(), edm::View< T >::end(), CaloTower::et(), CaloTower::hadEnergy(), phi, reco::Candidate::phi(), funct::pow(), funct::sin(), reco::Candidate::theta(), and theta().
void CaloMETAnalyzer::endJob | ( | void | ) |
Finish up a job.
Definition at line 191 of file CaloMETAnalyzer.cc.
References bTagSequences_cff::jetID.
void CaloMETAnalyzer::endRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iSetup, | ||
DQMStore * | dbe | ||
) |
Finish up a run.
Definition at line 420 of file CaloMETAnalyzer.cc.
References cmsPerfPublish::DirName, TrackerOfflineValidation_Dqm_cff::dirName, MonitorElement::getRootObject(), MonitorElement::getTH1F(), i, and AlCaHLTBitMon_QueryRunRegistry::string.
void CaloMETAnalyzer::fillMESet | ( | const edm::Event & | iEvent, |
std::string | DirName, | ||
const reco::CaloMET & | calomet, | ||
const reco::CaloMET & | calometnohf | ||
) |
Definition at line 1102 of file CaloMETAnalyzer.cc.
void CaloMETAnalyzer::fillMESubSet | ( | const edm::Event & | , |
std::string | , | ||
const reco::CaloMET & | , | ||
const reco::CaloMET & | |||
) |
void CaloMETAnalyzer::fillMonitorElement | ( | const edm::Event & | iEvent, |
std::string | DirName, | ||
std::string | TriggerTypeName, | ||
const reco::CaloMET & | calomet, | ||
const reco::CaloMET & | calometnohf, | ||
bool | bLumiSecPlot | ||
) |
Definition at line 1132 of file CaloMETAnalyzer.cc.
References gather_cfg::cout, reco::CaloMET::emEtInEB(), reco::CaloMET::emEtInEE(), reco::CaloMET::emEtInHF(), reco::CaloMET::hadEtInHB(), reco::CaloMET::hadEtInHE(), reco::CaloMET::hadEtInHF(), reco::CaloMET::hadEtInHO(), reco::CaloMET::maxEtInEmTowers(), reco::CaloMET::maxEtInHadTowers(), and reco::MET::sumEt().
void CaloMETAnalyzer::fillMonitorElementTriggered | ( | const edm::Event & | iEvent, |
std::string | DirName, | ||
std::string | TriggerTypeName, | ||
const reco::CaloMET & | calomet, | ||
const reco::CaloMET & | calometnohf, | ||
bool | bLumiSecPlot | ||
) |
Definition at line 1269 of file CaloMETAnalyzer.cc.
References reco::MuonMETCorrectionData::corrX(), reco::MuonMETCorrectionData::corrY(), gather_cfg::cout, reco::CaloMET::emEtFraction(), reco::CaloMET::etFractionHadronic(), HcalObjRepresent::Fill(), edm::Ref< C, T, F >::get(), edm::Ref< C, T, F >::isNonnull(), edm::EventBase::luminosityBlock(), reco::MET::mEtSig(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::MET::sumEt(), and reco::MuonMETCorrectionData::type().
void CaloMETAnalyzer::makeRatePlot | ( | std::string | DirName, |
double | totltime | ||
) |
Definition at line 475 of file CaloMETAnalyzer.cc.
References MonitorElement::getRootObject(), MonitorElement::getTH1F(), and i.
bool CaloMETAnalyzer::selectHighPtJetEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 1435 of file CaloMETAnalyzer.cc.
References FamosSequences_cff::caloJets, gather_cfg::cout, edm::Event::getByLabel(), edm::HandleBase::isValid(), and LogDebug.
bool CaloMETAnalyzer::selectLowPtJetEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 1458 of file CaloMETAnalyzer.cc.
References FamosSequences_cff::caloJets, gather_cfg::cout, edm::Event::getByLabel(), edm::HandleBase::isValid(), and LogDebug.
bool CaloMETAnalyzer::selectWElectronEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 1481 of file CaloMETAnalyzer.cc.
bool CaloMETAnalyzer::selectWMuonEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 1494 of file CaloMETAnalyzer.cc.
void CaloMETAnalyzer::validateMET | ( | const reco::CaloMET & | calomet, |
edm::Handle< edm::View< reco::Candidate > > | towers | ||
) |
Definition at line 1040 of file CaloMETAnalyzer.cc.
References funct::cos(), gather_cfg::cout, alignCSCRings::e, edm::View< T >::end(), reco::Candidate::energy(), CaloTower::et(), phi, reco::Candidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), funct::sin(), mathSSE::sqrt(), reco::MET::sumEt(), reco::Candidate::theta(), and theta().
|
private |
Definition at line 186 of file CaloMETAnalyzer.h.
|
private |
Definition at line 187 of file CaloMETAnalyzer.h.
|
private |
Definition at line 188 of file CaloMETAnalyzer.h.
|
private |
Definition at line 217 of file CaloMETAnalyzer.h.
|
private |
Definition at line 150 of file CaloMETAnalyzer.h.
|
private |
Definition at line 149 of file CaloMETAnalyzer.h.
|
private |
Definition at line 131 of file CaloMETAnalyzer.h.
|
private |
Definition at line 198 of file CaloMETAnalyzer.h.
|
private |
Definition at line 197 of file CaloMETAnalyzer.h.
|
private |
Definition at line 200 of file CaloMETAnalyzer.h.
|
private |
Definition at line 195 of file CaloMETAnalyzer.h.
|
private |
Definition at line 196 of file CaloMETAnalyzer.h.
|
private |
Definition at line 199 of file CaloMETAnalyzer.h.
|
private |
Definition at line 177 of file CaloMETAnalyzer.h.
|
private |
Definition at line 191 of file CaloMETAnalyzer.h.
|
private |
Definition at line 205 of file CaloMETAnalyzer.h.
|
private |
Definition at line 204 of file CaloMETAnalyzer.h.
|
private |
Definition at line 207 of file CaloMETAnalyzer.h.
|
private |
Definition at line 202 of file CaloMETAnalyzer.h.
|
private |
Definition at line 203 of file CaloMETAnalyzer.h.
|
private |
Definition at line 206 of file CaloMETAnalyzer.h.
|
private |
Definition at line 129 of file CaloMETAnalyzer.h.
|
private |
Definition at line 173 of file CaloMETAnalyzer.h.
|
private |
Definition at line 126 of file CaloMETAnalyzer.h.
|
private |
Definition at line 171 of file CaloMETAnalyzer.h.
|
private |
Definition at line 143 of file CaloMETAnalyzer.h.
|
private |
Definition at line 127 of file CaloMETAnalyzer.h.
|
private |
Definition at line 172 of file CaloMETAnalyzer.h.
|
private |
Definition at line 128 of file CaloMETAnalyzer.h.
|
private |
Definition at line 132 of file CaloMETAnalyzer.h.
|
private |
Definition at line 193 of file CaloMETAnalyzer.h.
|
private |
Definition at line 155 of file CaloMETAnalyzer.h.
|
private |
Definition at line 156 of file CaloMETAnalyzer.h.
|
private |
Definition at line 105 of file CaloMETAnalyzer.h.
|
private |
Definition at line 108 of file CaloMETAnalyzer.h.
|
private |
Definition at line 145 of file CaloMETAnalyzer.h.
|
private |
Definition at line 147 of file CaloMETAnalyzer.h.
|
private |
Definition at line 146 of file CaloMETAnalyzer.h.
|
private |
Definition at line 152 of file CaloMETAnalyzer.h.
|
private |
Definition at line 153 of file CaloMETAnalyzer.h.
|
private |
Definition at line 167 of file CaloMETAnalyzer.h.
|
private |
Definition at line 165 of file CaloMETAnalyzer.h.
|
private |
Definition at line 162 of file CaloMETAnalyzer.h.
|
private |
Definition at line 161 of file CaloMETAnalyzer.h.
|
private |
Definition at line 163 of file CaloMETAnalyzer.h.
|
private |
Definition at line 164 of file CaloMETAnalyzer.h.
|
private |
Definition at line 168 of file CaloMETAnalyzer.h.
|
private |
Definition at line 169 of file CaloMETAnalyzer.h.
|
private |
Definition at line 104 of file CaloMETAnalyzer.h.
Referenced by HiHelperTools.MassSearchReplaceAnyInputTagVisitor::doIt(), helpers.MassSearchReplaceAnyInputTagVisitor::doIt(), HiHelperTools.MassSearchReplaceParamVisitor::enter(), helpers.MassSearchReplaceParamVisitor::enter(), cmsPerfSuite.PerfSuite::mkCandleDir(), cmsPerfSuite.PerfSuite::optionParse(), cmsPerfSuite.PerfSuite::printFlush(), cmsPerfSuite.PerfSuite::runcmd(), and cmsPerfSuite.PerfSuite::runCmdSet().
|
private |
Definition at line 158 of file CaloMETAnalyzer.h.
|
private |
Definition at line 157 of file CaloMETAnalyzer.h.
|
private |
Definition at line 159 of file CaloMETAnalyzer.h.
|
private |
Definition at line 115 of file CaloMETAnalyzer.h.
|
private |
Definition at line 214 of file CaloMETAnalyzer.h.
|
private |
Definition at line 210 of file CaloMETAnalyzer.h.
|
private |
Definition at line 212 of file CaloMETAnalyzer.h.
|
private |
Definition at line 183 of file CaloMETAnalyzer.h.
|
private |
Definition at line 139 of file CaloMETAnalyzer.h.
int CaloMETAnalyzer::evtCounter |
Definition at line 97 of file CaloMETAnalyzer.h.
|
private |
Definition at line 118 of file CaloMETAnalyzer.h.
|
private |
Definition at line 116 of file CaloMETAnalyzer.h.
|
private |
Definition at line 114 of file CaloMETAnalyzer.h.
|
private |
Definition at line 272 of file CaloMETAnalyzer.h.
|
private |
Definition at line 276 of file CaloMETAnalyzer.h.
|
private |
Definition at line 284 of file CaloMETAnalyzer.h.
|
private |
Definition at line 283 of file CaloMETAnalyzer.h.
|
private |
Definition at line 282 of file CaloMETAnalyzer.h.
|
private |
Definition at line 289 of file CaloMETAnalyzer.h.
|
private |
Definition at line 290 of file CaloMETAnalyzer.h.
|
private |
Definition at line 286 of file CaloMETAnalyzer.h.
|
private |
Definition at line 287 of file CaloMETAnalyzer.h.
|
private |
Definition at line 271 of file CaloMETAnalyzer.h.
|
private |
Definition at line 278 of file CaloMETAnalyzer.h.
|
private |
Definition at line 280 of file CaloMETAnalyzer.h.
|
private |
Definition at line 281 of file CaloMETAnalyzer.h.
|
private |
Definition at line 279 of file CaloMETAnalyzer.h.
|
private |
Definition at line 296 of file CaloMETAnalyzer.h.
|
private |
Definition at line 297 of file CaloMETAnalyzer.h.
|
private |
Definition at line 293 of file CaloMETAnalyzer.h.
|
private |
Definition at line 294 of file CaloMETAnalyzer.h.
|
private |
Definition at line 269 of file CaloMETAnalyzer.h.
|
private |
Definition at line 270 of file CaloMETAnalyzer.h.
|
private |
Definition at line 238 of file CaloMETAnalyzer.h.
|
private |
Definition at line 239 of file CaloMETAnalyzer.h.
|
private |
Definition at line 255 of file CaloMETAnalyzer.h.
|
private |
Definition at line 250 of file CaloMETAnalyzer.h.
|
private |
Definition at line 242 of file CaloMETAnalyzer.h.
|
private |
Definition at line 251 of file CaloMETAnalyzer.h.
|
private |
Definition at line 240 of file CaloMETAnalyzer.h.
|
private |
Definition at line 264 of file CaloMETAnalyzer.h.
|
private |
Definition at line 230 of file CaloMETAnalyzer.h.
|
private |
Definition at line 237 of file CaloMETAnalyzer.h.
|
private |
Definition at line 234 of file CaloMETAnalyzer.h.
|
private |
Definition at line 248 of file CaloMETAnalyzer.h.
|
private |
Definition at line 305 of file CaloMETAnalyzer.h.
|
private |
Definition at line 266 of file CaloMETAnalyzer.h.
|
private |
Definition at line 235 of file CaloMETAnalyzer.h.
|
private |
Definition at line 249 of file CaloMETAnalyzer.h.
|
private |
Definition at line 306 of file CaloMETAnalyzer.h.
|
private |
Definition at line 267 of file CaloMETAnalyzer.h.
|
private |
Definition at line 303 of file CaloMETAnalyzer.h.
|
private |
Definition at line 304 of file CaloMETAnalyzer.h.
|
private |
Definition at line 301 of file CaloMETAnalyzer.h.
|
private |
Definition at line 302 of file CaloMETAnalyzer.h.
|
private |
Definition at line 307 of file CaloMETAnalyzer.h.
|
private |
Definition at line 300 of file CaloMETAnalyzer.h.
|
private |
Definition at line 241 of file CaloMETAnalyzer.h.
|
private |
Definition at line 256 of file CaloMETAnalyzer.h.
|
private |
Definition at line 252 of file CaloMETAnalyzer.h.
|
private |
Definition at line 136 of file CaloMETAnalyzer.h.
|
private |
Definition at line 134 of file CaloMETAnalyzer.h.
|
private |
Definition at line 124 of file CaloMETAnalyzer.h.
|
private |
Definition at line 232 of file CaloMETAnalyzer.h.
|
private |
Definition at line 225 of file CaloMETAnalyzer.h.
|
private |
Definition at line 223 of file CaloMETAnalyzer.h.
|
private |
Definition at line 220 of file CaloMETAnalyzer.h.
|
private |
Definition at line 221 of file CaloMETAnalyzer.h.
|
private |
Definition at line 222 of file CaloMETAnalyzer.h.
|
private |
Definition at line 226 of file CaloMETAnalyzer.h.
|
private |
Definition at line 121 of file CaloMETAnalyzer.h.
|
private |
Definition at line 120 of file CaloMETAnalyzer.h.
|
private |
Definition at line 180 of file CaloMETAnalyzer.h.
|
private |
Definition at line 135 of file CaloMETAnalyzer.h.
|
private |
Definition at line 107 of file CaloMETAnalyzer.h.
|
private |
Definition at line 140 of file CaloMETAnalyzer.h.
|
private |
Definition at line 213 of file CaloMETAnalyzer.h.
|
private |
Definition at line 138 of file CaloMETAnalyzer.h.
|
private |
Definition at line 102 of file CaloMETAnalyzer.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 110 of file CaloMETAnalyzer.h.
|
private |
Definition at line 112 of file CaloMETAnalyzer.h.
|
private |
Definition at line 142 of file CaloMETAnalyzer.h.
|
private |
Definition at line 113 of file CaloMETAnalyzer.h.
|
private |
Definition at line 117 of file CaloMETAnalyzer.h.