#include <NoiseRatesClient.h>
|
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
|
virtual void | beginJob (void) |
|
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
|
virtual void | endJob () |
|
virtual void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
|
virtual void | endRun (const edm::Run &run, const edm::EventSetup &c) |
|
| NoiseRatesClient (const edm::ParameterSet &) |
|
int | NoiseRatesEndjob (const std::vector< MonitorElement * > &hcalMEs) |
|
virtual void | runClient_ () |
|
virtual | ~NoiseRatesClient () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
| 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 () |
|
Definition at line 36 of file NoiseRatesClient.h.
Definition at line 12 of file NoiseRatesClient.cc.
References dbe_, debug_, dirName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cppFunctionSkipper::operator, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
19 edm::LogError(
"NoiseRatesClient") <<
"unable to get DQMStore service, upshot is no client histograms will be made";
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void setVerbose(unsigned level)
void setCurrentFolder(const std::string &fullpath)
NoiseRatesClient::~NoiseRatesClient |
( |
| ) |
|
|
virtual |
void NoiseRatesClient::beginJob |
( |
void |
| ) |
|
|
virtual |
void NoiseRatesClient::endJob |
( |
void |
| ) |
|
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 45 of file NoiseRatesClient.cc.
References dbe_, outputFile_, and DQMStore::save().
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
int NoiseRatesClient::NoiseRatesEndjob |
( |
const std::vector< MonitorElement * > & |
hcalMEs | ) |
|
Definition at line 108 of file NoiseRatesClient.cc.
References MonitorElement::Fill().
Referenced by runClient_().
110 int useAllHistos = 0;
112 for(
unsigned int ih=0; ih<hcalMEs.size(); ih++){
113 if( strcmp(hcalMEs[ih]->getName().c_str(),
"hLumiBlockCount") ==0 ){
114 hLumiBlockCount = hcalMEs[ih];
118 if( useAllHistos !=0 && useAllHistos !=1 )
return 0;
122 int lumiCountMapsize = -1;
123 if (useAllHistos) hLumiBlockCount->
Fill(0.0, lumiCountMapsize);
void NoiseRatesClient::runClient_ |
( |
| ) |
|
|
virtual |
Definition at line 72 of file NoiseRatesClient.cc.
References gather_cfg::cout, dbe_, dirName_, DQMStore::getContents(), DQMStore::getSubdirs(), i, j, NoiseRatesEndjob(), DQMStore::setCurrentFolder(), and verbose_.
Referenced by endRun().
79 std::vector<MonitorElement*> hcalMEs;
84 for(
unsigned int i=0;
i<fullPathHLTFolders.size();
i++) {
89 std::vector<std::string> fullSubPathHLTFolders =
dbe_->
getSubdirs();
90 for(
unsigned int j=0;
j<fullSubPathHLTFolders.size();
j++) {
94 if( strcmp(fullSubPathHLTFolders[
j].c_str(),
"NoiseRatesV/NoiseRatesTask") ==0 ){
std::vector< std::string > getSubdirs(void) const
std::vector< MonitorElement * > getContents(const std::string &path) const
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
void setCurrentFolder(const std::string &fullpath)
bool NoiseRatesClient::debug_ |
|
private |
std::string NoiseRatesClient::dirName_ |
|
private |
std::string NoiseRatesClient::dirNameJet_ |
|
private |
std::string NoiseRatesClient::dirNameMET_ |
|
private |
std::string NoiseRatesClient::outputFile_ |
|
private |
bool NoiseRatesClient::verbose_ |
|
private |