#include <HcalNoiseRatesClient.h>
Definition at line 36 of file HcalNoiseRatesClient.h.
HcalNoiseRatesClient::~HcalNoiseRatesClient |
( |
| ) |
|
|
virtual |
void HcalNoiseRatesClient::beginJob |
( |
void |
| ) |
|
|
virtual |
void HcalNoiseRatesClient::endJob |
( |
void |
| ) |
|
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 45 of file HcalNoiseRatesClient.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="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
int HcalNoiseRatesClient::NoiseRatesEndjob |
( |
const std::vector< MonitorElement * > & |
hcalMEs | ) |
|
Definition at line 108 of file HcalNoiseRatesClient.cc.
References MonitorElement::Fill(), and edm::getName().
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);
std::string getName(Reflex::Type &cc)
void HcalNoiseRatesClient::runClient_ |
( |
| ) |
|
|
virtual |
Definition at line 72 of file HcalNoiseRatesClient.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(),
"HcalNoiseRatesD/NoiseRatesTask") ==0 ){
std::vector< std::string > getSubdirs(void) const
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
std::vector< MonitorElement * > getContents(const std::string &path) const
void setCurrentFolder(const std::string &fullpath)
bool HcalNoiseRatesClient::debug_ |
|
private |
std::string HcalNoiseRatesClient::dirName_ |
|
private |
std::string HcalNoiseRatesClient::dirNameJet_ |
|
private |
std::string HcalNoiseRatesClient::dirNameMET_ |
|
private |
std::string HcalNoiseRatesClient::outputFile_ |
|
private |
bool HcalNoiseRatesClient::verbose_ |
|
private |