#include <METAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
Get the analysis. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Inizialize parameters for histo binning. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) |
Initialize run-based parameters. More... | |
void | endRun (const edm::Run &iRun, const edm::EventSetup &iSetup) |
Finish up a run. More... | |
void | fillMESet (const edm::Event &, std::string, const reco::MET &, const reco::PFMET &, const reco::CaloMET &, std::map< std::string, MonitorElement * > &) |
void | fillMonitorElement (const edm::Event &, std::string, std::string, const reco::MET &, const reco::PFMET &, const reco::CaloMET &, std::map< std::string, MonitorElement * > &, bool) |
void | makeRatePlot (std::string, double) |
METAnalyzer (const edm::ParameterSet &) | |
Constructor. More... | |
virtual | ~METAnalyzer () |
Destructor. More... | |
Public Member Functions inherited from thread_unsafe::DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
DQMEDAnalyzer (void) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | bookMESet (std::string, DQMStore::IBooker &, std::map< std::string, MonitorElement * > &) |
void | bookMonitorElement (std::string, DQMStore::IBooker &, std::map< std::string, MonitorElement * > &, bool) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 81 of file METAnalyzer.h.
METAnalyzer::METAnalyzer | ( | const edm::ParameterSet & | pSet | ) |
Constructor.
Definition at line 41 of file METAnalyzer.cc.
References PFJetIDSelectionFunctor::FIRSTDATA, edm::ParameterSet::getParameter(), PFJetIDSelectionFunctor::LOOSE, JetIDSelectionFunctor::LOOSE, Parameters::parameters, JetIDSelectionFunctor::PURE09, AlCaHLTBitMon_QueryRunRegistry::string, and triggerResultsToken_().
|
virtual |
Destructor.
Definition at line 151 of file METAnalyzer.cc.
|
virtual |
Get the analysis.
Implements edm::EDAnalyzer.
Definition at line 595 of file METAnalyzer.cc.
References FamosSequences_cff::caloJets, JetCorrector::correction(), gather_cfg::cout, reco::BeamHaloSummary::CSCTightHaloId(), cmsPerfPublish::DirName, reco::BeamHaloSummary::EcalTightHaloId(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), reco::BeamHaloSummary::GlobalTightHaloId(), reco::BeamHaloSummary::HcalTightHaloId(), i, edm::HandleBase::isValid(), bTagSequences_cff::jetID, LogDebug, LogTrace, edm::EventBase::luminosityBlock(), CaloMET_cfi::met, metname, NULL, pfJets_cff::pfJets, phi, edm::Handle< T >::product(), pileupReCalc_HLTpaths::scale, AlCaHLTBitMon_QueryRunRegistry::string, edm::triggerResults(), triggerResultsToken_(), and GoodVertex_cfg::vertexCollection.
|
overridevirtual |
Inizialize parameters for histo binning.
Implements thread_unsafe::DQMEDAnalyzer.
Definition at line 159 of file METAnalyzer.cc.
References cmsPerfPublish::DirName, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 177 of file METAnalyzer.cc.
References i.
|
private |
Definition at line 193 of file METAnalyzer.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), gather_cfg::cout, MonitorElement::setAxisTitle(), and DQMStore::IBooker::setCurrentFolder().
|
virtual |
Initialize run-based parameters.
Reimplemented from thread_unsafe::DQMEDAnalyzer.
Definition at line 466 of file METAnalyzer.cc.
References gather_cfg::cout, i, Parameters::parameters, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Finish up a run.
Reimplemented from edm::EDAnalyzer.
Definition at line 510 of file METAnalyzer.cc.
References cmsPerfPublish::DirName, TrackerOfflineValidation_Dqm_cff::dirName, MonitorElement::getRootObject(), MonitorElement::getTH1F(), i, and AlCaHLTBitMon_QueryRunRegistry::string.
void METAnalyzer::fillMESet | ( | const edm::Event & | iEvent, |
std::string | DirName, | ||
const reco::MET & | met, | ||
const reco::PFMET & | pfmet, | ||
const reco::CaloMET & | calomet, | ||
std::map< std::string, MonitorElement * > & | map_of_MEs | ||
) |
Definition at line 928 of file METAnalyzer.cc.
References i, and AlCaHLTBitMon_QueryRunRegistry::string.
void METAnalyzer::fillMonitorElement | ( | const edm::Event & | iEvent, |
std::string | DirName, | ||
std::string | subFolderName, | ||
const reco::MET & | met, | ||
const reco::PFMET & | pfmet, | ||
const reco::CaloMET & | calomet, | ||
std::map< std::string, MonitorElement * > & | map_of_MEs, | ||
bool | bLumiSecPlot | ||
) |
Definition at line 974 of file METAnalyzer.cc.
References reco::PFMET::chargedHadronEt(), reco::PFMET::chargedHadronEtFraction(), reco::PFMET::electronEt(), reco::PFMET::electronEtFraction(), reco::CaloMET::emEtFraction(), reco::CaloMET::emEtInEB(), reco::CaloMET::emEtInEE(), reco::CaloMET::emEtInHF(), reco::CaloMET::etFractionHadronic(), HcalObjRepresent::Fill(), reco::CaloMET::hadEtInHB(), reco::CaloMET::hadEtInHE(), reco::CaloMET::hadEtInHF(), reco::CaloMET::hadEtInHO(), reco::PFMET::HFEMEt(), reco::PFMET::HFEMEtFraction(), reco::PFMET::HFHadronEt(), reco::PFMET::HFHadronEtFraction(), i, edm::EventBase::luminosityBlock(), reco::CaloMET::maxEtInEmTowers(), reco::CaloMET::maxEtInHadTowers(), reco::MET::mEtSig(), reco::PFMET::muonEt(), reco::PFMET::muonEtFraction(), reco::PFMET::neutralHadronEt(), reco::PFMET::neutralHadronEtFraction(), reco::LeafCandidate::phi(), reco::PFMET::photonEt(), reco::PFMET::photonEtFraction(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::MET::sumEt().
void METAnalyzer::makeRatePlot | ( | std::string | DirName, |
double | totltime | ||
) |
Definition at line 567 of file METAnalyzer.cc.
References MonitorElement::getRootObject(), MonitorElement::getTH1F(), i, and MonitorElement::setBinContent().
|
private |
Definition at line 195 of file METAnalyzer.h.
|
private |
Definition at line 194 of file METAnalyzer.h.
|
private |
Definition at line 138 of file METAnalyzer.h.
|
private |
Definition at line 150 of file METAnalyzer.h.
|
private |
Definition at line 271 of file METAnalyzer.h.
|
private |
Definition at line 240 of file METAnalyzer.h.
|
private |
Definition at line 239 of file METAnalyzer.h.
|
private |
Definition at line 145 of file METAnalyzer.h.
|
private |
Definition at line 154 of file METAnalyzer.h.
|
private |
Definition at line 228 of file METAnalyzer.h.
|
private |
Definition at line 267 of file METAnalyzer.h.
|
private |
Definition at line 407 of file METAnalyzer.h.
|
private |
Definition at line 133 of file METAnalyzer.h.
|
private |
Definition at line 269 of file METAnalyzer.h.
|
private |
Definition at line 141 of file METAnalyzer.h.
|
private |
Definition at line 144 of file METAnalyzer.h.
|
private |
Definition at line 139 of file METAnalyzer.h.
|
private |
Definition at line 149 of file METAnalyzer.h.
|
private |
Definition at line 136 of file METAnalyzer.h.
|
private |
Definition at line 155 of file METAnalyzer.h.
|
private |
Definition at line 304 of file METAnalyzer.h.
|
private |
Definition at line 308 of file METAnalyzer.h.
|
private |
Definition at line 316 of file METAnalyzer.h.
|
private |
Definition at line 315 of file METAnalyzer.h.
|
private |
Definition at line 314 of file METAnalyzer.h.
|
private |
Definition at line 321 of file METAnalyzer.h.
|
private |
Definition at line 322 of file METAnalyzer.h.
|
private |
Definition at line 318 of file METAnalyzer.h.
|
private |
Definition at line 319 of file METAnalyzer.h.
|
private |
Definition at line 303 of file METAnalyzer.h.
|
private |
Definition at line 310 of file METAnalyzer.h.
|
private |
Definition at line 312 of file METAnalyzer.h.
|
private |
Definition at line 313 of file METAnalyzer.h.
|
private |
Definition at line 311 of file METAnalyzer.h.
|
private |
Definition at line 328 of file METAnalyzer.h.
|
private |
Definition at line 329 of file METAnalyzer.h.
|
private |
Definition at line 325 of file METAnalyzer.h.
|
private |
Definition at line 326 of file METAnalyzer.h.
|
private |
Definition at line 301 of file METAnalyzer.h.
|
private |
Definition at line 302 of file METAnalyzer.h.
|
private |
Definition at line 299 of file METAnalyzer.h.
|
private |
Definition at line 264 of file METAnalyzer.h.
|
private |
Definition at line 188 of file METAnalyzer.h.
|
private |
Definition at line 229 of file METAnalyzer.h.
|
private |
Definition at line 288 of file METAnalyzer.h.
|
private |
Definition at line 295 of file METAnalyzer.h.
|
private |
Definition at line 289 of file METAnalyzer.h.
|
private |
Definition at line 226 of file METAnalyzer.h.
|
private |
Definition at line 287 of file METAnalyzer.h.
|
private |
Definition at line 284 of file METAnalyzer.h.
|
private |
Definition at line 292 of file METAnalyzer.h.
|
private |
Definition at line 285 of file METAnalyzer.h.
|
private |
Definition at line 293 of file METAnalyzer.h.
|
private |
Definition at line 290 of file METAnalyzer.h.
|
private |
Definition at line 296 of file METAnalyzer.h.
|
private |
Definition at line 282 of file METAnalyzer.h.
|
private |
Definition at line 277 of file METAnalyzer.h.
|
private |
Definition at line 168 of file METAnalyzer.h.
|
private |
Definition at line 403 of file METAnalyzer.h.
|
private |
Definition at line 405 of file METAnalyzer.h.
|
private |
Definition at line 137 of file METAnalyzer.h.
|
private |
Definition at line 174 of file METAnalyzer.h.
|
private |
Definition at line 169 of file METAnalyzer.h.
|
private |
Definition at line 171 of file METAnalyzer.h.
|
private |
Definition at line 236 of file METAnalyzer.h.
|
private |
Definition at line 237 of file METAnalyzer.h.
|
private |
Definition at line 281 of file METAnalyzer.h.
|
private |
Definition at line 401 of file METAnalyzer.h.
|
private |
Definition at line 370 of file METAnalyzer.h.
|
private |
Definition at line 393 of file METAnalyzer.h.
|
private |
Definition at line 369 of file METAnalyzer.h.
|
private |
Definition at line 392 of file METAnalyzer.h.
|
private |
Definition at line 368 of file METAnalyzer.h.
|
private |
Definition at line 391 of file METAnalyzer.h.
|
private |
Definition at line 367 of file METAnalyzer.h.
|
private |
Definition at line 390 of file METAnalyzer.h.
|
private |
Definition at line 376 of file METAnalyzer.h.
|
private |
Definition at line 399 of file METAnalyzer.h.
|
private |
Definition at line 375 of file METAnalyzer.h.
|
private |
Definition at line 398 of file METAnalyzer.h.
|
private |
Definition at line 374 of file METAnalyzer.h.
|
private |
Definition at line 397 of file METAnalyzer.h.
|
private |
Definition at line 373 of file METAnalyzer.h.
|
private |
Definition at line 396 of file METAnalyzer.h.
|
private |
Definition at line 383 of file METAnalyzer.h.
|
private |
Definition at line 381 of file METAnalyzer.h.
|
private |
Definition at line 382 of file METAnalyzer.h.
|
private |
Definition at line 372 of file METAnalyzer.h.
|
private |
Definition at line 395 of file METAnalyzer.h.
|
private |
Definition at line 371 of file METAnalyzer.h.
|
private |
Definition at line 394 of file METAnalyzer.h.
|
private |
Definition at line 366 of file METAnalyzer.h.
|
private |
Definition at line 389 of file METAnalyzer.h.
|
private |
Definition at line 365 of file METAnalyzer.h.
|
private |
Definition at line 388 of file METAnalyzer.h.
|
private |
Definition at line 364 of file METAnalyzer.h.
|
private |
Definition at line 387 of file METAnalyzer.h.
|
private |
Definition at line 363 of file METAnalyzer.h.
|
private |
Definition at line 386 of file METAnalyzer.h.
|
private |
Definition at line 384 of file METAnalyzer.h.
|
private |
Definition at line 135 of file METAnalyzer.h.
|
private |
Definition at line 130 of file METAnalyzer.h.
|
private |
Definition at line 132 of file METAnalyzer.h.
|
private |
Definition at line 231 of file METAnalyzer.h.
|
private |
Definition at line 233 of file METAnalyzer.h.
|
private |
Definition at line 232 of file METAnalyzer.h.
|
private |
Definition at line 258 of file METAnalyzer.h.
|
private |
Definition at line 131 of file METAnalyzer.h.
|
private |
Definition at line 125 of file METAnalyzer.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 172 of file METAnalyzer.h.
|
private |
Definition at line 146 of file METAnalyzer.h.
|
private |
Definition at line 153 of file METAnalyzer.h.
|
private |
Definition at line 176 of file METAnalyzer.h.
|
private |
Definition at line 241 of file METAnalyzer.h.
|
private |
Definition at line 201 of file METAnalyzer.h.
|
private |
Definition at line 198 of file METAnalyzer.h.
|
private |
Definition at line 199 of file METAnalyzer.h.
|
private |
Definition at line 200 of file METAnalyzer.h.
|
private |
Definition at line 189 of file METAnalyzer.h.
|
private |
Definition at line 190 of file METAnalyzer.h.
|
private |
Definition at line 197 of file METAnalyzer.h.
|
private |
Definition at line 127 of file METAnalyzer.h.
|
private |
Definition at line 140 of file METAnalyzer.h.
|
private |
Definition at line 143 of file METAnalyzer.h.