30 input_dir =
parameters.getUntrackedParameter<
string>(
"input_dir",
"");
35 m_runInEventLoop =
parameters.getUntrackedParameter<
bool>(
"runInEventLoop",
false);
36 m_runInEndLumi =
parameters.getUntrackedParameter<
bool>(
"runInEndLumi",
false);
37 m_runInEndRun =
parameters.getUntrackedParameter<
bool>(
"runInEndRun",
false);
38 m_runInEndJob =
parameters.getUntrackedParameter<
bool>(
"runInEndJob",
false);
49 csctferrors_ = dbe->book1D(
"csctferrors_",
"CSCTF Errors",6,0,6);
50 dbe->setCurrentFolder(input_dir);
80 if (m_runInEventLoop) {
110 dbe->setCurrentFolder(input_dir);
112 vector<string> meVec = dbe->getMEs();
113 for(vector<string>::const_iterator it=meVec.begin(); it!=meVec.end(); it++){
114 string full_path = input_dir +
"/" + (*it);
117 LogInfo(
"TriggerDQM")<<full_path<<
" NOT FOUND.";
122 if( (*it) !=
"CSCTF_errors" )
continue;
124 csctferrors_->getTH1F()->Reset();
125 if(!errors)
continue;
126 for(
int bin=1;
bin<=errors->GetXaxis()->GetNbins();
bin++)
127 csctferrors_->Fill(
bin-0.5,errors->GetBinContent(
bin));
virtual ~L1TCSCTFClient()
Destructor.
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
L1TCSCTFClient(const edm::ParameterSet &ps)
Constructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
TH1F * getTH1F(void) const
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void beginJob(void)
BeginJob.
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.