27 input_dir =
parameters.getUntrackedParameter<
string>(
"input_dir",
"");
29 prescaleLS =
parameters.getUntrackedParameter<
int>(
"prescaleLS",-1);
30 prescaleEvt =
parameters.getUntrackedParameter<
int>(
"prescaleEvt",-1);
32 m_runInEventLoop =
parameters.getUntrackedParameter<
bool>(
"runInEventLoop",
false);
33 m_runInEndLumi =
parameters.getUntrackedParameter<
bool>(
"runInEndLumi",
false);
34 m_runInEndRun =
parameters.getUntrackedParameter<
bool>(
"runInEndRun",
false);
35 m_runInEndJob =
parameters.getUntrackedParameter<
bool>(
"runInEndJob",
false);
46 csctferrors_ = ibooker.
book1D(
"csctferrors_",
"CSCTF Errors",6,0,6);
48 processHistograms(igetter);
57 vector<string> meVec = igetter.
getMEs();
58 for(vector<string>::const_iterator it=meVec.begin(); it!=meVec.end(); it++){
59 string full_path = input_dir +
"/" + (*it);
62 LogInfo(
"TriggerDQM")<<full_path<<
" NOT FOUND.";
67 if( (*it) !=
"CSCTF_errors" )
continue;
69 csctferrors_->getTH1F()->Reset();
71 for(
int bin=1;
bin<=errors->GetXaxis()->GetNbins();
bin++)
72 csctferrors_->Fill(
bin-0.5,errors->GetBinContent(
bin));
static AlgebraicMatrix initialize()
void processHistograms(DQMStore::IGetter &)
virtual ~L1TCSCTFClient()
Destructor.
MonitorElement * get(const std::string &path)
L1TCSCTFClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * book1D(Args &&...args)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
std::vector< std::string > getMEs(void)
bin
set the eta bin as selection string.
void setCurrentFolder(const std::string &fullpath)
TH1F * getTH1F(void) const
void setCurrentFolder(const std::string &fullpath)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override