48 if(
fVerbosity>0)
std::cout <<
"CastorMonitorModule: Digi monitor flag is on...." << std::endl;
56 if(
fVerbosity>0)
std::cout <<
"CastorMonitorModule: RecHit monitor flag is on...." << std::endl;
62 if(
fVerbosity>0)
std::cout <<
"CastorMonitorModule: LED monitor flag is on...." << std::endl;
90 std::cout<<
"CASTOR has no CastorPedestals in the CondDB"<<std::endl;
107 sprintf(s,
"CastorEventProducts");
116 std::cout<<
"CastorMonitorModule::bookHistogram(end)"<< std::endl;
156 if (!RawData.isValid()) {
169 const std::vector<int>
feds = (*report).getFedsUnpacked();
175 if (!CastorDigi.isValid()) {
182 if (!CastorHits.isValid()) {
215 std::cout <<
"CastorMonitorModule: processed "<<
ievt_<<
" events"<<std::endl;
T getParameter(std::string const &) const
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
void setup(const edm::ParameterSet &ps)
void endRun(const edm::Run &run, const edm::EventSetup &eventSetup)
void setup(const edm::ParameterSet &ps)
void analyze(const edm::Event &iEvent, const edm::EventSetup &eventSetup)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
#define DEFINE_FWK_MODULE(type)
edm::ESHandle< CastorDbService > conditions_
int bunchCrossing() const
edm::LuminosityBlockNumber_t luminosityBlock() const
CastorLEDMonitor * LedMon_
edm::ESHandle< CastorPedestals > dbPedestals
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
edm::InputTag inputLabelRaw_
edm::InputTag inputLabelDigi_
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond, int bunch)
CastorMonitorModule(const edm::ParameterSet &ps)
edm::InputTag inputLabelRecHitCASTOR_
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
MonitorElement * book1D(Args &&...args)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
edm::InputTag inputLabelReport_
CastorDigiMonitor * DigiMon_
void setup(const edm::ParameterSet &ps)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void setCurrentFolder(const std::string &fullpath)
TH1F * getTH1F(void) const
MonitorElement * CastorEventProduct
CastorRecHitMonitor * RecHitMon_
void processEvent(const CastorRecHitCollection &castorHits)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
TimeValue_t value() const
edm::Timestamp time() const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)