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)
edm::EDGetTokenT< FEDRawDataCollection > inputTokenRaw_
void analyze(const edm::Event &iEvent, const edm::EventSetup &eventSetup)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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::EDGetTokenT< CastorDigiCollection > inputTokenDigi_
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond, int bunch)
CastorMonitorModule(const edm::ParameterSet &ps)
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
MonitorElement * book1D(Args &&...args)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
CastorDigiMonitor * DigiMon_
void setup(const edm::ParameterSet &ps)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
void setCurrentFolder(const std::string &fullpath)
TH1F * getTH1F(void) const
MonitorElement * CastorEventProduct
edm::EDGetTokenT< HcalUnpackerReport > inputTokenReport_
CastorRecHitMonitor * RecHitMon_
void processEvent(const CastorRecHitCollection &castorHits)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
edm::EDGetTokenT< CastorRecHitCollection > inputTokenRecHitCASTOR_
TimeValue_t value() const
edm::Timestamp time() const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)