#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 &) | |
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 53 of file CaloMETAnalyzer.h.
CaloMETAnalyzer::CaloMETAnalyzer | ( | const edm::ParameterSet & | pSet | ) |
Constructor.
Definition at line 33 of file CaloMETAnalyzer.cc.
References edm::ParameterSet::getParameter(), and Parameters::parameters.
|
virtual |
Destructor.
Definition at line 65 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 508 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 78 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 393 of file CaloMETAnalyzer.cc.
void CaloMETAnalyzer::bookMESet | ( | std::string | DirName | ) |
Definition at line 202 of file CaloMETAnalyzer.cc.
References gather_cfg::cout.
void CaloMETAnalyzer::bookMonitorElement | ( | std::string | DirName, |
bool | bLumiSecPlot = false |
||
) |
Definition at line 249 of file CaloMETAnalyzer.cc.
References gather_cfg::cout.
void CaloMETAnalyzer::bookMonitorElementTriggered | ( | std::string | DirName, |
bool | bLumiSecPlot = false |
||
) |
Definition at line 302 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 977 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 193 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 422 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 1104 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 1134 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 1271 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 477 of file CaloMETAnalyzer.cc.
References MonitorElement::getRootObject(), MonitorElement::getTH1F(), and i.
bool CaloMETAnalyzer::selectHighPtJetEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 1437 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 1460 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 1483 of file CaloMETAnalyzer.cc.
bool CaloMETAnalyzer::selectWMuonEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 1496 of file CaloMETAnalyzer.cc.
void CaloMETAnalyzer::validateMET | ( | const reco::CaloMET & | calomet, |
edm::Handle< edm::View< reco::Candidate > > | towers | ||
) |
Definition at line 1042 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 187 of file CaloMETAnalyzer.h.
|
private |
Definition at line 188 of file CaloMETAnalyzer.h.
|
private |
Definition at line 189 of file CaloMETAnalyzer.h.
|
private |
Definition at line 218 of file CaloMETAnalyzer.h.
|
private |
Definition at line 151 of file CaloMETAnalyzer.h.
|
private |
Definition at line 150 of file CaloMETAnalyzer.h.
|
private |
Definition at line 132 of file CaloMETAnalyzer.h.
|
private |
Definition at line 199 of file CaloMETAnalyzer.h.
|
private |
Definition at line 198 of file CaloMETAnalyzer.h.
|
private |
Definition at line 201 of file CaloMETAnalyzer.h.
|
private |
Definition at line 196 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 178 of file CaloMETAnalyzer.h.
|
private |
Definition at line 192 of file CaloMETAnalyzer.h.
|
private |
Definition at line 206 of file CaloMETAnalyzer.h.
|
private |
Definition at line 205 of file CaloMETAnalyzer.h.
|
private |
Definition at line 208 of file CaloMETAnalyzer.h.
|
private |
Definition at line 203 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 130 of file CaloMETAnalyzer.h.
|
private |
Definition at line 174 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 144 of file CaloMETAnalyzer.h.
|
private |
Definition at line 128 of file CaloMETAnalyzer.h.
|
private |
Definition at line 173 of file CaloMETAnalyzer.h.
|
private |
Definition at line 129 of file CaloMETAnalyzer.h.
|
private |
Definition at line 133 of file CaloMETAnalyzer.h.
|
private |
Definition at line 194 of file CaloMETAnalyzer.h.
|
private |
Definition at line 156 of file CaloMETAnalyzer.h.
|
private |
Definition at line 157 of file CaloMETAnalyzer.h.
|
private |
Definition at line 106 of file CaloMETAnalyzer.h.
|
private |
Definition at line 109 of file CaloMETAnalyzer.h.
|
private |
Definition at line 146 of file CaloMETAnalyzer.h.
|
private |
Definition at line 148 of file CaloMETAnalyzer.h.
|
private |
Definition at line 147 of file CaloMETAnalyzer.h.
|
private |
Definition at line 153 of file CaloMETAnalyzer.h.
|
private |
Definition at line 154 of file CaloMETAnalyzer.h.
|
private |
Definition at line 168 of file CaloMETAnalyzer.h.
|
private |
Definition at line 166 of file CaloMETAnalyzer.h.
|
private |
Definition at line 163 of file CaloMETAnalyzer.h.
|
private |
Definition at line 162 of file CaloMETAnalyzer.h.
|
private |
Definition at line 164 of file CaloMETAnalyzer.h.
|
private |
Definition at line 165 of file CaloMETAnalyzer.h.
|
private |
Definition at line 169 of file CaloMETAnalyzer.h.
|
private |
Definition at line 170 of file CaloMETAnalyzer.h.
|
private |
Definition at line 105 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 159 of file CaloMETAnalyzer.h.
|
private |
Definition at line 158 of file CaloMETAnalyzer.h.
|
private |
Definition at line 160 of file CaloMETAnalyzer.h.
|
private |
Definition at line 116 of file CaloMETAnalyzer.h.
|
private |
Definition at line 215 of file CaloMETAnalyzer.h.
|
private |
Definition at line 211 of file CaloMETAnalyzer.h.
|
private |
Definition at line 213 of file CaloMETAnalyzer.h.
|
private |
Definition at line 184 of file CaloMETAnalyzer.h.
|
private |
Definition at line 140 of file CaloMETAnalyzer.h.
int CaloMETAnalyzer::evtCounter |
Definition at line 98 of file CaloMETAnalyzer.h.
|
private |
Definition at line 119 of file CaloMETAnalyzer.h.
|
private |
Definition at line 117 of file CaloMETAnalyzer.h.
|
private |
Definition at line 115 of file CaloMETAnalyzer.h.
|
private |
Definition at line 273 of file CaloMETAnalyzer.h.
|
private |
Definition at line 277 of file CaloMETAnalyzer.h.
|
private |
Definition at line 285 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 290 of file CaloMETAnalyzer.h.
|
private |
Definition at line 291 of file CaloMETAnalyzer.h.
|
private |
Definition at line 287 of file CaloMETAnalyzer.h.
|
private |
Definition at line 288 of file CaloMETAnalyzer.h.
|
private |
Definition at line 272 of file CaloMETAnalyzer.h.
|
private |
Definition at line 279 of file CaloMETAnalyzer.h.
|
private |
Definition at line 281 of file CaloMETAnalyzer.h.
|
private |
Definition at line 282 of file CaloMETAnalyzer.h.
|
private |
Definition at line 280 of file CaloMETAnalyzer.h.
|
private |
Definition at line 297 of file CaloMETAnalyzer.h.
|
private |
Definition at line 298 of file CaloMETAnalyzer.h.
|
private |
Definition at line 294 of file CaloMETAnalyzer.h.
|
private |
Definition at line 295 of file CaloMETAnalyzer.h.
|
private |
Definition at line 270 of file CaloMETAnalyzer.h.
|
private |
Definition at line 271 of file CaloMETAnalyzer.h.
|
private |
Definition at line 239 of file CaloMETAnalyzer.h.
|
private |
Definition at line 240 of file CaloMETAnalyzer.h.
|
private |
Definition at line 256 of file CaloMETAnalyzer.h.
|
private |
Definition at line 251 of file CaloMETAnalyzer.h.
|
private |
Definition at line 243 of file CaloMETAnalyzer.h.
|
private |
Definition at line 252 of file CaloMETAnalyzer.h.
|
private |
Definition at line 241 of file CaloMETAnalyzer.h.
|
private |
Definition at line 265 of file CaloMETAnalyzer.h.
|
private |
Definition at line 231 of file CaloMETAnalyzer.h.
|
private |
Definition at line 238 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 236 of file CaloMETAnalyzer.h.
|
private |
Definition at line 250 of file CaloMETAnalyzer.h.
|
private |
Definition at line 307 of file CaloMETAnalyzer.h.
|
private |
Definition at line 268 of file CaloMETAnalyzer.h.
|
private |
Definition at line 304 of file CaloMETAnalyzer.h.
|
private |
Definition at line 305 of file CaloMETAnalyzer.h.
|
private |
Definition at line 302 of file CaloMETAnalyzer.h.
|
private |
Definition at line 303 of file CaloMETAnalyzer.h.
|
private |
Definition at line 308 of file CaloMETAnalyzer.h.
|
private |
Definition at line 301 of file CaloMETAnalyzer.h.
|
private |
Definition at line 242 of file CaloMETAnalyzer.h.
|
private |
Definition at line 257 of file CaloMETAnalyzer.h.
|
private |
Definition at line 253 of file CaloMETAnalyzer.h.
|
private |
Definition at line 137 of file CaloMETAnalyzer.h.
|
private |
Definition at line 135 of file CaloMETAnalyzer.h.
|
private |
Definition at line 125 of file CaloMETAnalyzer.h.
|
private |
Definition at line 233 of file CaloMETAnalyzer.h.
|
private |
Definition at line 226 of file CaloMETAnalyzer.h.
|
private |
Definition at line 224 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 223 of file CaloMETAnalyzer.h.
|
private |
Definition at line 227 of file CaloMETAnalyzer.h.
|
private |
Definition at line 122 of file CaloMETAnalyzer.h.
|
private |
Definition at line 121 of file CaloMETAnalyzer.h.
|
private |
Definition at line 181 of file CaloMETAnalyzer.h.
|
private |
Definition at line 136 of file CaloMETAnalyzer.h.
|
private |
Definition at line 108 of file CaloMETAnalyzer.h.
|
private |
Definition at line 141 of file CaloMETAnalyzer.h.
|
private |
Definition at line 214 of file CaloMETAnalyzer.h.
|
private |
Definition at line 139 of file CaloMETAnalyzer.h.
|
private |
Definition at line 103 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 111 of file CaloMETAnalyzer.h.
|
private |
Definition at line 113 of file CaloMETAnalyzer.h.
|
private |
Definition at line 143 of file CaloMETAnalyzer.h.
|
private |
Definition at line 114 of file CaloMETAnalyzer.h.
|
private |
Definition at line 118 of file CaloMETAnalyzer.h.