test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Types | Private Attributes
CastorMonitorModule Class Reference

#include <CastorMonitorModule.h>

Inheritance diagram for CastorMonitorModule:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 CastorMonitorModule (const edm::ParameterSet &ps)
 
 ~CastorMonitorModule ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void analyze (const edm::Event &iEvent, const edm::EventSetup &eventSetup)
 
void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &)
 
void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
 
void endRun (const edm::Run &run, const edm::EventSetup &eventSetup)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Types

typedef std::vector
< reco::BasicJet
BasicJetCollection
 
typedef std::vector
< reco::CastorTower
CastorTowerCollection
 

Private Attributes

MonitorElementCastorEventProduct
 
edm::ESHandle< CastorDbServiceconditions_
 
edm::CPUTimer cpu_timer
 
edm::ESHandle< CastorPedestalsdbPedestals
 
CastorDigiMonitorDigiMon_
 
bool digiOK_
 
int fVerbosity
 
MonitorElementhunpkrep
 
int ibunch_
 
int ievent_
 
int ievt_
 
int ilumisec_
 
edm::EDGetTokenT
< CastorTowerCollection
inputTokenCastorTowers_
 
edm::EDGetTokenT
< CastorDigiCollection
inputTokenDigi_
 
edm::EDGetTokenT
< FEDRawDataCollection
inputTokenRaw_
 
edm::EDGetTokenT
< CastorRecHitCollection
inputTokenRecHitCASTOR_
 
edm::EDGetTokenT
< HcalUnpackerReport
inputTokenReport_
 
int irun_
 
edm::EDGetTokenT
< BasicJetCollection
JetAlgorithm
 
CastorLEDMonitorLedMon_
 
int NBunchesOrbit
 
bool rawOK_
 
CastorRecHitMonitorRecHitMon_
 
bool rechitOK_
 
bool reportOK_
 
bool showTiming_
 
std::string subsystemname_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 72 of file CastorMonitorModule.h.

Member Typedef Documentation

Definition at line 109 of file CastorMonitorModule.h.

Definition at line 107 of file CastorMonitorModule.h.

Constructor & Destructor Documentation

CastorMonitorModule::CastorMonitorModule ( const edm::ParameterSet ps)

Definition at line 25 of file CastorMonitorModule.cc.

References gather_cfg::cout, DigiMon_, fVerbosity, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ibunch_, ievent_, ievt_, ilumisec_, inputTokenCastorTowers_, inputTokenDigi_, inputTokenRaw_, inputTokenRecHitCASTOR_, inputTokenReport_, irun_, JetAlgorithm, LedMon_, NBunchesOrbit, NULL, RecHitMon_, showTiming_, AlCaHLTBitMon_QueryRunRegistry::string, and subsystemname_.

26 {
27  fVerbosity = ps.getUntrackedParameter<int>("debug", 0);
28  if(fVerbosity>0) std::cout<<"CastorMonitorModule Constructor(start)"<<std::endl;
29  subsystemname_=ps.getUntrackedParameter<std::string>("subSystemFolder","Castor");
30  inputTokenRaw_ = consumes<FEDRawDataCollection>(ps.getParameter<edm::InputTag>("rawLabel"));
31  inputTokenReport_ = consumes<HcalUnpackerReport>(ps.getParameter<edm::InputTag>("unpackerReportLabel"));
32  inputTokenDigi_ = consumes<CastorDigiCollection>(ps.getParameter<edm::InputTag>("digiLabel"));
33  inputTokenRecHitCASTOR_ = consumes<CastorRecHitCollection>(ps.getParameter<edm::InputTag>("CastorRecHitLabel"));
34  inputTokenCastorTowers_ = consumes<CastorTowerCollection>(ps.getParameter<edm::InputTag>("CastorTowerLabel"));
35  JetAlgorithm = consumes<BasicJetCollection>(ps.getParameter<edm::InputTag>("CastorBasicJetsLabel"));
36 
37  NBunchesOrbit = ps.getUntrackedParameter<int>("nBunchesOrbit",3563);
38  showTiming_ = ps.getUntrackedParameter<bool>("showTiming",false);
39 
41 
42  DigiMon_ = NULL;
43  RecHitMon_ = NULL;
44  LedMon_ = NULL;
45 
46  if ( ps.getUntrackedParameter<bool>("DigiMonitor", false) )
47  DigiMon_ = new CastorDigiMonitor(ps);
48 
49  if ( ps.getUntrackedParameter<bool>("RecHitMonitor", false) )
51 
52  if ( ps.getUntrackedParameter<bool>("LEDMonitor", false) )
53  LedMon_ = new CastorLEDMonitor(ps);
54 
55  ievt_ = 0;
56 
57  if(fVerbosity>0) std::cout<<"CastorMonitorModule Constructor(end)"<< std::endl;
58 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< FEDRawDataCollection > inputTokenRaw_
CastorLEDMonitor * LedMon_
#define NULL
Definition: scimark2.h:8
edm::EDGetTokenT< CastorDigiCollection > inputTokenDigi_
edm::EDGetTokenT< CastorTowerCollection > inputTokenCastorTowers_
CastorDigiMonitor * DigiMon_
edm::EDGetTokenT< BasicJetCollection > JetAlgorithm
edm::EDGetTokenT< HcalUnpackerReport > inputTokenReport_
CastorRecHitMonitor * RecHitMon_
tuple cout
Definition: gather_cfg.py:145
edm::EDGetTokenT< CastorRecHitCollection > inputTokenRecHitCASTOR_
CastorMonitorModule::~CastorMonitorModule ( )

Definition at line 60 of file CastorMonitorModule.cc.

References DigiMon_, LedMon_, NULL, and RecHitMon_.

60  {
61  if (DigiMon_ != NULL) delete DigiMon_;
62  if (RecHitMon_ != NULL) delete RecHitMon_;
63  if (LedMon_ != NULL) delete LedMon_;
64 }
CastorLEDMonitor * LedMon_
#define NULL
Definition: scimark2.h:8
CastorDigiMonitor * DigiMon_
CastorRecHitMonitor * RecHitMon_

Member Function Documentation

void CastorMonitorModule::analyze ( const edm::Event iEvent,
const edm::EventSetup eventSetup 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 121 of file CastorMonitorModule.cc.

References edm::EventBase::bunchCrossing(), CastorEventProduct, conditions_, gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), DigiMon_, digiOK_, edm::EventID::event(), HcalMonitorModule_cfi::feds, MonitorElement::Fill(), fVerbosity, edm::Event::getByToken(), hunpkrep, ibunch_, edm::EventBase::id(), ievent_, ievt_, ilumisec_, inputTokenCastorTowers_, inputTokenDigi_, inputTokenRaw_, inputTokenRecHitCASTOR_, inputTokenReport_, irun_, JetAlgorithm, fwrapper::jets, LedMon_, edm::EventBase::luminosityBlock(), NBunchesOrbit, ecaldqm::nTowers, NULL, CastorDigiMonitor::processEvent(), CastorRecHitMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorRecHitMonitor::processEventJets(), CastorRecHitMonitor::processEventTowers(), rawOK_, RecHitMon_, rechitOK_, zeeHLT_cff::report, edm::CPUTimer::reset(), edm::EventID::run(), showTiming_, edm::CPUTimer::start(), and edm::CPUTimer::stop().

122 {
123  if (fVerbosity>0) std::cout <<"CastorMonitorModule::analyze (start)"<<std::endl;
124 
125  using namespace edm;
126 
127  irun_ = iEvent.id().run();
128  ilumisec_ = iEvent.luminosityBlock();
129  ievent_ = iEvent.id().event();
130  ibunch_ = iEvent.bunchCrossing() % NBunchesOrbit;
131 
132  if (fVerbosity>1) {
133  std::cout <<"CastorMonitorModule: run="<<irun_<<" LS:"<<ilumisec_
134  <<" evt="<<ievent_<<"\t total count = "<<ievt_<<std::endl;
135  }
136 
137  ievt_++;
138 
139  bool rawOK_ = true;
140  bool digiOK_ = true;
141  bool rechitOK_ = true, towerOK_ = true, jetsOK_ = true;
142  int nDigi = 0, nrecHits = 0, nTowers = 0, nJets=0;
143 
145  iEvent.getByToken(inputTokenRaw_,RawData);
146  if (!RawData.isValid()) rawOK_=false;
147 
148  float fedsUnpacked=0.;
151  if (!report.isValid()) rawOK_=false;
152  else
153  {
154  const std::vector<int> feds = (*report).getFedsUnpacked();
155  fedsUnpacked = float(feds.size());
156  hunpkrep->Fill(0,fedsUnpacked);
157  hunpkrep->Fill(1,report->spigotFormatErrors());
158  hunpkrep->Fill(2,report->emptyEventSpigots());
159  hunpkrep->Fill(3,report->busySpigots());
160  hunpkrep->Fill(4,report->OFWSpigots());
161  hunpkrep->Fill(5,report->badQualityDigis());
162  }
163 
165  iEvent.getByToken(inputTokenDigi_,CastorDigi);
166  if (CastorDigi.isValid()) nDigi = CastorDigi->size();
167  else digiOK_=false;
168 
170  iEvent.getByToken(inputTokenRecHitCASTOR_,CastorHits);
171  if (CastorHits.isValid()) nrecHits=CastorHits->size();
172  else rechitOK_ = false;
173 
175  iEvent.getByToken(inputTokenCastorTowers_,castorTowers);
176  if (castorTowers.isValid()) nTowers = castorTowers->size();
177  else towerOK_ = false;
178 
180  iEvent.getByToken(JetAlgorithm,jets);
181  if(jets.isValid()) nJets = jets->size();
182  else jetsOK_ = false;
183 
184  if(fVerbosity>0)
185  std::cout<<"CastorProductValid(size): RawDataValid="<<RawData.isValid()
186  <<" Digi="<<digiOK_ << "(" <<nDigi<<") Hits="<<rechitOK_<< "("<<nrecHits << ")"
187  <<" Towers="<<towerOK_<< "(" << nTowers << ")"
188  <<" Jets="<<jetsOK_<< "(" << nJets << ")" <<std::endl;
189 
190  CastorEventProduct->Fill(0,fedsUnpacked/3.);
194  CastorEventProduct->Fill(4,towerOK_);
195  CastorEventProduct->Fill(5,jetsOK_);
196 
197  if(digiOK_) DigiMon_->processEvent(*CastorDigi,*conditions_);
198  if (showTiming_){
199  cpu_timer.stop();
200  if (DigiMon_!=NULL) std::cout <<"TIMER:: DIGI MONITOR ->"<<cpu_timer.cpuTime()<<std::endl;
202  }
203 
204  if(rechitOK_) RecHitMon_->processEvent(*CastorHits);
205  if(showTiming_){
206  cpu_timer.stop();
207  if (RecHitMon_!=NULL) std::cout<<"TIMER:: RECHIT MONITOR->"<<cpu_timer.cpuTime()<<std::endl;
209  }
210 
211  if(digiOK_) LedMon_->processEvent(*CastorDigi,*conditions_);
212  if (showTiming_){
213  cpu_timer.stop();
214  if(LedMon_!=NULL) std::cout <<"TIMER:: LED MONITOR ->"<<cpu_timer.cpuTime()<<std::endl;
216  }
217 
218  if(towerOK_) RecHitMon_->processEventTowers(*castorTowers);
219  if(jetsOK_) RecHitMon_->processEventJets(*jets);
220 
221  if(fVerbosity>1 && ievt_%100 == 0)
222  std::cout << "CastorMonitorModule: processed "<<ievt_<<" events"<<std::endl;
223  if (fVerbosity>0) std::cout <<"CastorMonitorModule::analyze (end)"<<std::endl;
224  return;
225 }
RunNumber_t run() const
Definition: EventID.h:39
EventNumber_t event() const
Definition: EventID.h:41
void start()
Definition: CPUTimer.cc:74
edm::EDGetTokenT< FEDRawDataCollection > inputTokenRaw_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
edm::ESHandle< CastorDbService > conditions_
MonitorElement * hunpkrep
int bunchCrossing() const
Definition: EventBase.h:65
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:62
CastorLEDMonitor * LedMon_
void reset()
Definition: CPUTimer.cc:107
#define NULL
Definition: scimark2.h:8
void Fill(long long x)
edm::EDGetTokenT< CastorDigiCollection > inputTokenDigi_
edm::EDGetTokenT< CastorTowerCollection > inputTokenCastorTowers_
tuple report
Definition: zeeHLT_cff.py:9
void processEventJets(const reco::BasicJetCollection &Jets)
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
vector< PseudoJet > jets
CastorDigiMonitor * DigiMon_
Times stop()
Definition: CPUTimer.cc:94
double cpuTime() const
Definition: CPUTimer.cc:158
edm::EDGetTokenT< BasicJetCollection > JetAlgorithm
MonitorElement * CastorEventProduct
edm::EventID id() const
Definition: EventBase.h:59
void processEventTowers(const reco::CastorTowerCollection &castorTowers)
edm::EDGetTokenT< HcalUnpackerReport > inputTokenReport_
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
CastorRecHitMonitor * RecHitMon_
tuple cout
Definition: gather_cfg.py:145
void processEvent(const CastorRecHitCollection &castorHits)
edm::EDGetTokenT< CastorRecHitCollection > inputTokenRecHitCASTOR_
void CastorMonitorModule::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup eventSetup 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 112 of file CastorMonitorModule.cc.

113  { }
void CastorMonitorModule::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
protectedvirtual

Implements DQMEDAnalyzer.

Definition at line 77 of file CastorMonitorModule.cc.

References DQMStore::IBooker::book1D(), CastorDigiMonitor::bookHistograms(), CastorRecHitMonitor::bookHistograms(), CastorLEDMonitor::bookHistograms(), DQMStore::IBooker::bookProfile(), CastorEventProduct, gather_cfg::cout, DigiMon_, fVerbosity, MonitorElement::getTH1F(), MonitorElement::getTProfile(), hunpkrep, LedMon_, NULL, RecHitMon_, alignCSCRings::s, DQMStore::IBooker::setCurrentFolder(), and subsystemname_.

79 {
80  if(fVerbosity>0) std::cout<<"CastorMonitorModule::beginRun (start)" << std::endl;
81 
82  if (DigiMon_ != NULL) { DigiMon_->bookHistograms(ibooker,iRun,iSetup);}
83  if (RecHitMon_ != NULL) { RecHitMon_->bookHistograms(ibooker,iRun,iSetup); }
84  if (LedMon_ != NULL) { LedMon_->bookHistograms(ibooker,iRun,iSetup); }
85 
87  char s[60];
88  sprintf(s,"CastorEventProducts");
89  CastorEventProduct = ibooker.book1D(s,s,6,-0.5,5.5);
90  CastorEventProduct->getTH1F()->GetYaxis()->SetTitle("Events");
91  TAxis *xa = CastorEventProduct->getTH1F()->GetXaxis();
92  xa->SetBinLabel(1,"FEDs/3");
93  xa->SetBinLabel(2,"RawData");
94  xa->SetBinLabel(3,"Digi");
95  xa->SetBinLabel(4,"RecHits");
96  xa->SetBinLabel(5,"Towers");
97  xa->SetBinLabel(6,"Jets");
98 
99  sprintf(s,"CASTORUnpackReport");
100  hunpkrep=ibooker.bookProfile(s,s,6,-0.5,5.5, 100,0,1.e10,"");
101  xa = hunpkrep->getTProfile()->GetXaxis();
102  xa->SetBinLabel(1, "N_FEDs");
103  xa->SetBinLabel(2, "SPIGOT_Err");
104  xa->SetBinLabel(3, "empty");
105  xa->SetBinLabel(4, "busy");
106  xa->SetBinLabel(5, "OvF");
107  xa->SetBinLabel(6, "BadDigis");
108 
109  return;
110 }
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * hunpkrep
CastorLEDMonitor * LedMon_
#define NULL
Definition: scimark2.h:8
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
CastorDigiMonitor * DigiMon_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
TH1F * getTH1F(void) const
MonitorElement * CastorEventProduct
TProfile * getTProfile(void) const
CastorRecHitMonitor * RecHitMon_
tuple cout
Definition: gather_cfg.py:145
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
void CastorMonitorModule::dqmBeginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
protectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 66 of file CastorMonitorModule.cc.

References conditions_, gather_cfg::cout, dbPedestals, fVerbosity, edm::EventSetup::get(), and edm::ESHandleBase::isValid().

67  {
68  iSetup.get<CastorDbRecord>().get(conditions_);
69 
71  iSetup.get<CastorPedestalsRcd>().get(dbPedestals);
72  if(!dbPedestals.isValid() && fVerbosity>0) {
73  std::cout<<"CASTOR has no CastorPedestals in the CondDB"<<std::endl;
74  }
75 }
edm::ESHandle< CastorDbService > conditions_
edm::ESHandle< CastorPedestals > dbPedestals
const T & get() const
Definition: EventSetup.h:56
tuple cout
Definition: gather_cfg.py:145
bool isValid() const
Definition: ESHandle.h:47
void CastorMonitorModule::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup eventSetup 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 115 of file CastorMonitorModule.cc.

116  {}
void CastorMonitorModule::endRun ( const edm::Run run,
const edm::EventSetup eventSetup 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 118 of file CastorMonitorModule.cc.

119 {}

Member Data Documentation

MonitorElement* CastorMonitorModule::CastorEventProduct
private

Definition at line 116 of file CastorMonitorModule.h.

Referenced by analyze(), and bookHistograms().

edm::ESHandle<CastorDbService> CastorMonitorModule::conditions_
private

Definition at line 119 of file CastorMonitorModule.h.

Referenced by analyze(), and dqmBeginRun().

edm::CPUTimer CastorMonitorModule::cpu_timer
private

Definition at line 122 of file CastorMonitorModule.h.

Referenced by analyze().

edm::ESHandle<CastorPedestals> CastorMonitorModule::dbPedestals
private

Definition at line 123 of file CastorMonitorModule.h.

Referenced by dqmBeginRun().

CastorDigiMonitor* CastorMonitorModule::DigiMon_
private
bool CastorMonitorModule::digiOK_
private

Definition at line 97 of file CastorMonitorModule.h.

Referenced by analyze().

int CastorMonitorModule::fVerbosity
private

Definition at line 96 of file CastorMonitorModule.h.

Referenced by analyze(), bookHistograms(), CastorMonitorModule(), and dqmBeginRun().

MonitorElement* CastorMonitorModule::hunpkrep
private

Definition at line 117 of file CastorMonitorModule.h.

Referenced by analyze(), and bookHistograms().

int CastorMonitorModule::ibunch_
private

Definition at line 98 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

int CastorMonitorModule::ievent_
private

Definition at line 98 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

int CastorMonitorModule::ievt_
private

Definition at line 101 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

int CastorMonitorModule::ilumisec_
private

Definition at line 98 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

edm::EDGetTokenT<CastorTowerCollection> CastorMonitorModule::inputTokenCastorTowers_
private

Definition at line 108 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

edm::EDGetTokenT<CastorDigiCollection> CastorMonitorModule::inputTokenDigi_
private

Definition at line 105 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

edm::EDGetTokenT<FEDRawDataCollection> CastorMonitorModule::inputTokenRaw_
private

Definition at line 103 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

edm::EDGetTokenT<CastorRecHitCollection> CastorMonitorModule::inputTokenRecHitCASTOR_
private

Definition at line 106 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

edm::EDGetTokenT<HcalUnpackerReport> CastorMonitorModule::inputTokenReport_
private

Definition at line 104 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

int CastorMonitorModule::irun_
private

Definition at line 98 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

edm::EDGetTokenT<BasicJetCollection> CastorMonitorModule::JetAlgorithm
private

Definition at line 110 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

CastorLEDMonitor* CastorMonitorModule::LedMon_
private
int CastorMonitorModule::NBunchesOrbit
private

Definition at line 100 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

bool CastorMonitorModule::rawOK_
private

Definition at line 97 of file CastorMonitorModule.h.

Referenced by analyze().

CastorRecHitMonitor* CastorMonitorModule::RecHitMon_
private
bool CastorMonitorModule::rechitOK_
private

Definition at line 97 of file CastorMonitorModule.h.

Referenced by analyze().

bool CastorMonitorModule::reportOK_
private

Definition at line 97 of file CastorMonitorModule.h.

bool CastorMonitorModule::showTiming_
private

Definition at line 121 of file CastorMonitorModule.h.

Referenced by analyze(), and CastorMonitorModule().

std::string CastorMonitorModule::subsystemname_
private

Definition at line 99 of file CastorMonitorModule.h.

Referenced by bookHistograms(), and CastorMonitorModule().