51 if(
fVerbosity>0)
std::cout <<
"CastorMonitorModule: Digi monitor flag is on...." << std::endl;
59 if(
fVerbosity>0)
std::cout <<
"CastorMonitorModule: RecHit monitor flag is on...." << std::endl;
65 if(
fVerbosity>0)
std::cout <<
"CastorMonitorModule: LED monitor flag is on...." << std::endl;
93 std::cout<<
"CASTOR has no CastorPedestals in the CondDB"<<std::endl;
110 sprintf(s,
"CastorEventProducts");
118 std::cout<<
"CastorMonitorModule::bookHistogram(end)"<< std::endl;
158 if (!RawData.isValid()) {
171 const std::vector<int>
feds = (*report).getFedsUnpacked();
177 if (!CastorDigi.isValid()) {
184 if (!CastorHits.isValid()) {
228 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_
edm::EDGetTokenT< CastorTowerCollection > inputTokenCastorTowers_
void processEventJets(const reco::BasicJetCollection &Jets)
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
edm::EDGetTokenT< BasicJetCollection > JetAlgorithm
MonitorElement * CastorEventProduct
void processEventTowers(const reco::CastorTowerCollection &castorTowers)
edm::EDGetTokenT< HcalUnpackerReport > inputTokenReport_
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
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 &)