CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
EcalFEDMonitorTemp< SUBDET > Class Template Reference

#include <EcalFEDMonitor.h>

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

Public Member Functions

 EcalFEDMonitorTemp (edm::ParameterSet const &)
 
 ~EcalFEDMonitorTemp ()
 
- Public Member Functions inherited from DQMEDAnalyzer
void beginRun (edm::Run const &, edm::EventSetup const &) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
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
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Types

enum  MEs {
  kEBOccupancy, kEBFatal, kEBNonFatal, kEEOccupancy,
  kEEFatal, kEENonFatal, nMEs
}
 

Private Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

edm::EDGetTokenT< EcalElectronicsIdCollectionblockSizeErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebChIdErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebGainErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebGainSwitchErrorsToken_
 
edm::EDGetTokenT< EEDetIdCollectioneeChIdErrorsToken_
 
edm::EDGetTokenT< EEDetIdCollectioneeGainErrorsToken_
 
edm::EDGetTokenT< EEDetIdCollectioneeGainSwitchErrorsToken_
 
edm::EDGetTokenT< FEDRawDataCollectionFEDRawDataToken_
 
std::string folderName_
 
std::vector< MonitorElement * > MEs_
 
edm::EDGetTokenT< EcalElectronicsIdCollectiontowerIdErrorsToken_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
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::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (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)
 
- 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)
 

Detailed Description

template<int SUBDET>
class EcalFEDMonitorTemp< SUBDET >

Definition at line 28 of file EcalFEDMonitor.h.

Member Enumeration Documentation

template<int SUBDET>
enum EcalFEDMonitorTemp::MEs
private

Constructor & Destructor Documentation

template<int SUBDET>
EcalFEDMonitorTemp< SUBDET >::EcalFEDMonitorTemp ( edm::ParameterSet const &  _ps)

Definition at line 6 of file EcalFEDMonitor.cc.

References EcalFEDMonitorTemp< SUBDET >::ebChIdErrorsToken_, EcalFEDMonitorTemp< SUBDET >::ebGainErrorsToken_, EcalFEDMonitorTemp< SUBDET >::ebGainSwitchErrorsToken_, EcalFEDMonitorTemp< SUBDET >::eeChIdErrorsToken_, EcalFEDMonitorTemp< SUBDET >::eeGainErrorsToken_, EcalFEDMonitorTemp< SUBDET >::eeGainSwitchErrorsToken_, edm::ParameterSet::existsAs(), and edm::ParameterSet::getParameter().

6  :
7  folderName_(_ps.getUntrackedParameter<std::string>("folderName")),
8  FEDRawDataToken_(consumes<FEDRawDataCollection>(_ps.getParameter<edm::InputTag>("FEDRawDataCollection"))),
15  towerIdErrorsToken_(consumes<EcalElectronicsIdCollection>(_ps.getParameter<edm::InputTag>("EcalElectronicsIdCollection1"))),
16  blockSizeErrorsToken_(consumes<EcalElectronicsIdCollection>(_ps.getParameter<edm::InputTag>("EcalElectronicsIdCollection2"))),
17  MEs_(nMEs, nullptr)
18 {
19  if(_ps.existsAs<edm::InputTag>("EBDetIdCollection1"))
20  ebGainErrorsToken_ = consumes<EBDetIdCollection>(_ps.getParameter<edm::InputTag>("EBDetIdCollection1"));
21  if(_ps.existsAs<edm::InputTag>("EEDetIdCollection1"))
22  eeGainErrorsToken_ = consumes<EEDetIdCollection>(_ps.getParameter<edm::InputTag>("EEDetIdCollection1"));
23  if(_ps.existsAs<edm::InputTag>("EBDetIdCollection2"))
24  ebChIdErrorsToken_ = consumes<EBDetIdCollection>(_ps.getParameter<edm::InputTag>("EBDetIdCollection2"));
25  if(_ps.existsAs<edm::InputTag>("EEDetIdCollection2"))
26  eeChIdErrorsToken_ = consumes<EEDetIdCollection>(_ps.getParameter<edm::InputTag>("EEDetIdCollection2"));
27  if(_ps.existsAs<edm::InputTag>("EBDetIdCollection3"))
28  ebGainSwitchErrorsToken_ = consumes<EBDetIdCollection>(_ps.getParameter<edm::InputTag>("EBDetIdCollection3"));
29  if(_ps.existsAs<edm::InputTag>("EEDetIdCollection3"))
30  eeGainSwitchErrorsToken_ = consumes<EEDetIdCollection>(_ps.getParameter<edm::InputTag>("EEDetIdCollection3"));
31 }
edm::EDGetTokenT< EcalElectronicsIdCollection > towerIdErrorsToken_
std::vector< MonitorElement * > MEs_
edm::EDGetTokenT< EBDetIdCollection > ebChIdErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeGainSwitchErrorsToken_
std::string folderName_
edm::EDGetTokenT< EBDetIdCollection > ebGainSwitchErrorsToken_
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataToken_
edm::EDGetTokenT< EEDetIdCollection > eeGainErrorsToken_
edm::EDGetTokenT< EcalElectronicsIdCollection > blockSizeErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeChIdErrorsToken_
edm::EDGetTokenT< EBDetIdCollection > ebGainErrorsToken_
template<int SUBDET>
EcalFEDMonitorTemp< SUBDET >::~EcalFEDMonitorTemp ( )
inline

Member Function Documentation

template<int SUBDET>
void EcalFEDMonitorTemp< SUBDET >::analyze ( edm::Event const &  _evt,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 81 of file EcalFEDMonitor.cc.

References edm::EDCollection< T >::begin(), EcalFEDMonitorTemp< SUBDET >::blockSizeErrorsToken_, ecaldqm::dccId(), EcalFEDMonitorTemp< SUBDET >::ebChIdErrorsToken_, EcalFEDMonitorTemp< SUBDET >::ebGainErrorsToken_, EcalFEDMonitorTemp< SUBDET >::ebGainSwitchErrorsToken_, EcalBarrel, EcalEndcap, EcalFEDMonitorTemp< SUBDET >::eeChIdErrorsToken_, EcalFEDMonitorTemp< SUBDET >::eeGainErrorsToken_, EcalFEDMonitorTemp< SUBDET >::eeGainSwitchErrorsToken_, edm::EDCollection< T >::end(), FEDRawDataCollection::FEDData(), l1t::stage2::layer2::fedId, EcalFEDMonitorTemp< SUBDET >::FEDRawDataToken_, edm::Event::getByToken(), ecaldqm::kEBmLow, EcalFEDMonitorTemp< SUBDET >::kEBNonFatal, EcalFEDMonitorTemp< SUBDET >::kEBOccupancy, ecaldqm::kEBpHigh, EcalFEDMonitorTemp< SUBDET >::kEENonFatal, EcalFEDMonitorTemp< SUBDET >::kEEOccupancy, ecaldqm::kEEpLow, EcalFEDMonitorTemp< SUBDET >::MEs_, ecaldqm::nCrystals(), PostProcessor_cff::normalization, HcalDetIdTransform::SUBDET, and EcalFEDMonitorTemp< SUBDET >::towerIdErrorsToken_.

Referenced by EcalFEDMonitorTemp< SUBDET >::~EcalFEDMonitorTemp().

82 {
84  if(_evt.getByToken(FEDRawDataToken_, fedHndl)){
85  for(unsigned fedId(601); fedId <= 654; fedId++){
86  if(SUBDET == EcalBarrel && (fedId < 610 || fedId > 645)) continue;
87  if(SUBDET == EcalEndcap && (fedId > 609 && fedId < 646)) continue;
88 
89  unsigned occupancy(-1);
90  // unsigned fatal(-1);
91  if(fedId < 610 || fedId > 645){
92  occupancy = kEEOccupancy;
93  // fatal = kEEFatal;
94  }
95  else{
96  occupancy = kEBOccupancy;
97  // fatal = kEBFatal;
98  }
99 
100  const FEDRawData& fedData(fedHndl->FEDData(fedId));
101  unsigned length(fedData.size() / sizeof(uint64_t));
102 
103  if(length > 1){ // FED header is one 64 bit word
104  MEs_[occupancy]->Fill(fedId + 0.5);
105 
106 // const uint64_t* pData(reinterpret_cast<const uint64_t*>(fedData.data()));
107 // bool crcError(((pData[length - 1] >> 2) & 0x1) == 0x1);
108 
109 // if(crcError) MEs_[fatal]->Fill(fedId + 0.5);
110  }
111  }
112  }
113 
117 
118  if((SUBDET == EcalBarrel || SUBDET < 0) && _evt.getByToken(ebGainErrorsToken_, ebHndl)){
119  EBDetIdCollection::const_iterator ebEnd(ebHndl->end());
120  for(EBDetIdCollection::const_iterator ebItr(ebHndl->begin()); ebItr != ebEnd; ++ebItr){
121  unsigned iDCC(ecaldqm::dccId(*ebItr) - 1);
122 
123  double normalization(ecaldqm::nCrystals(iDCC + 1));
124  if(normalization < 1.) continue;
125 
126  MEs_[kEBNonFatal]->Fill(iDCC + 601.5, 1. / normalization);
127  }
128  }
129  if((SUBDET == EcalEndcap || SUBDET < 0) && _evt.getByToken(eeGainErrorsToken_, eeHndl)){
130  EEDetIdCollection::const_iterator eeEnd(eeHndl->end());
131  for(EEDetIdCollection::const_iterator eeItr(eeHndl->begin()); eeItr != eeEnd; ++eeItr){
132  unsigned iDCC(ecaldqm::dccId(*eeItr) - 1);
133 
134  double normalization(ecaldqm::nCrystals(iDCC + 1));
135  if(normalization < 1.) continue;
136 
137  MEs_[kEENonFatal]->Fill(iDCC + 601.5, 1. / normalization);
138  }
139  }
140 
141  if((SUBDET == EcalBarrel || SUBDET < 0) && _evt.getByToken(ebChIdErrorsToken_, ebHndl)){
142  EBDetIdCollection::const_iterator ebEnd(ebHndl->end());
143  for(EBDetIdCollection::const_iterator ebItr(ebHndl->begin()); ebItr != ebEnd; ++ebItr){
144  unsigned iDCC(ecaldqm::dccId(*ebItr) - 1);
145 
146  double normalization(ecaldqm::nCrystals(iDCC + 1));
147  if(normalization < 1.) continue;
148 
149  MEs_[kEBNonFatal]->Fill(iDCC + 601.5, 1. / normalization);
150  }
151  }
152  if((SUBDET == EcalEndcap || SUBDET < 0) && _evt.getByToken(eeChIdErrorsToken_, eeHndl)){
153  EEDetIdCollection::const_iterator eeEnd(eeHndl->end());
154  for(EEDetIdCollection::const_iterator eeItr(eeHndl->begin()); eeItr != eeEnd; ++eeItr){
155  unsigned iDCC(ecaldqm::dccId(*eeItr) - 1);
156 
157  double normalization(ecaldqm::nCrystals(iDCC + 1));
158  if(normalization < 1.) continue;
159 
160  MEs_[kEENonFatal]->Fill(iDCC + 601.5, 1. / normalization);
161  }
162  }
163 
164  if((SUBDET == EcalBarrel || SUBDET < 0) && _evt.getByToken(ebGainSwitchErrorsToken_, ebHndl)){
165  EBDetIdCollection::const_iterator ebEnd(ebHndl->end());
166  for(EBDetIdCollection::const_iterator ebItr(ebHndl->begin()); ebItr != ebEnd; ++ebItr){
167  unsigned iDCC(ecaldqm::dccId(*ebItr) - 1);
168 
169  double normalization(ecaldqm::nCrystals(iDCC + 1));
170  if(normalization < 1.) continue;
171 
172  MEs_[kEBNonFatal]->Fill(iDCC + 601.5, 1. / normalization);
173  }
174  }
175  if((SUBDET == EcalEndcap || SUBDET < 0) && _evt.getByToken(eeGainSwitchErrorsToken_, eeHndl)){
176  EEDetIdCollection::const_iterator eeEnd(eeHndl->end());
177  for(EEDetIdCollection::const_iterator eeItr(eeHndl->begin()); eeItr != eeEnd; ++eeItr){
178  unsigned iDCC(ecaldqm::dccId(*eeItr) - 1);
179 
180  double normalization(ecaldqm::nCrystals(iDCC + 1));
181  if(normalization < 1.) continue;
182 
183  MEs_[kEENonFatal]->Fill(iDCC + 601.5, 1. / normalization);
184  }
185  }
186 
187  if(_evt.getByToken(towerIdErrorsToken_, eleHndl)){
189  for(EcalElectronicsIdCollection::const_iterator eleItr(eleHndl->begin()); eleItr != eleEnd; ++eleItr){
190  unsigned iDCC(eleItr->dccId() - 1);
191 
192  unsigned nonfatal(-1);
193  if((SUBDET == EcalBarrel || SUBDET < 0) && iDCC >= ecaldqm::kEBmLow && iDCC <= ecaldqm::kEBpHigh)
194  nonfatal = kEBNonFatal;
195  else if((SUBDET == EcalEndcap || SUBDET < 0) && (iDCC <= ecaldqm::kEEmHigh || iDCC >= ecaldqm::kEEpLow))
196  nonfatal = kEENonFatal;
197  else
198  continue;
199 
200  double normalization(ecaldqm::nCrystals(iDCC + 1));
201  if(normalization < 1.) continue;
202 
203  MEs_[nonfatal]->Fill(iDCC + 601.5, 25. / normalization);
204  }
205  }
206 
207  if(_evt.getByToken(blockSizeErrorsToken_, eleHndl)){
209  for(EcalElectronicsIdCollection::const_iterator eleItr(eleHndl->begin()); eleItr != eleEnd; ++eleItr){
210  unsigned iDCC(eleItr->dccId() - 1);
211 
212  unsigned nonfatal(-1);
213  if((SUBDET == EcalBarrel || SUBDET < 0) && iDCC >= ecaldqm::kEBmLow && iDCC <= ecaldqm::kEBpHigh)
214  nonfatal = kEBNonFatal;
215  else if((SUBDET == EcalEndcap || SUBDET < 0) && (iDCC <= ecaldqm::kEEmHigh || iDCC >= ecaldqm::kEEpLow))
216  nonfatal = kEENonFatal;
217  else
218  continue;
219 
220  double normalization(ecaldqm::nCrystals(iDCC + 1));
221  if(normalization < 1.) continue;
222 
223  MEs_[nonfatal]->Fill(iDCC + 601.5, 25. / normalization);
224  }
225  }
226 }
edm::EDGetTokenT< EcalElectronicsIdCollection > towerIdErrorsToken_
std::vector< MonitorElement * > MEs_
edm::EDGetTokenT< EBDetIdCollection > ebChIdErrorsToken_
const_iterator end() const
Definition: EDCollection.h:153
edm::EDGetTokenT< EEDetIdCollection > eeGainSwitchErrorsToken_
edm::EDGetTokenT< EBDetIdCollection > ebGainSwitchErrorsToken_
unsigned nCrystals(unsigned)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataToken_
edm::EDGetTokenT< EEDetIdCollection > eeGainErrorsToken_
const_iterator begin() const
Definition: EDCollection.h:146
unsigned long long uint64_t
Definition: Time.h:15
edm::EDGetTokenT< EcalElectronicsIdCollection > blockSizeErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeChIdErrorsToken_
edm::EDGetTokenT< EBDetIdCollection > ebGainErrorsToken_
unsigned dccId(DetId const &)
std::vector< EBDetId >::const_iterator const_iterator
Definition: EDCollection.h:19
template<int SUBDET>
void EcalFEDMonitorTemp< SUBDET >::bookHistograms ( DQMStore::IBooker _ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 47 of file EcalFEDMonitor.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::cd(), EcalBarrel, EcalEndcap, EcalFEDMonitorTemp< SUBDET >::folderName_, EcalFEDMonitorTemp< SUBDET >::kEBFatal, EcalFEDMonitorTemp< SUBDET >::kEBNonFatal, EcalFEDMonitorTemp< SUBDET >::kEBOccupancy, EcalFEDMonitorTemp< SUBDET >::kEEFatal, EcalFEDMonitorTemp< SUBDET >::kEENonFatal, EcalFEDMonitorTemp< SUBDET >::kEEOccupancy, EcalFEDMonitorTemp< SUBDET >::MEs_, dataset::name, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetIdTransform::SUBDET.

Referenced by EcalFEDMonitorTemp< SUBDET >::~EcalFEDMonitorTemp().

48 {
49  _ibooker.cd();
50 
52 
53  if(SUBDET == EcalBarrel || SUBDET < 0){
54  _ibooker.setCurrentFolder("EcalBarrel/" + folderName_);
55 
56  name = "FEDEntries";
57  MEs_[kEBOccupancy] = _ibooker.book1D(name, name, 36, 610, 646);
58 
59  name = "FEDFatal";
60  MEs_[kEBFatal] = _ibooker.book1D(name, name, 36, 610, 646);
61 
62  name = "FEDNonFatal";
63  MEs_[kEBNonFatal] = _ibooker.book1D(name, name, 36, 610, 646);
64  }
65  if(SUBDET == EcalEndcap || SUBDET < 0){
66  _ibooker.setCurrentFolder("EcalEndcap/" + folderName_);
67 
68  name = "FEDEntries";
69  MEs_[kEEOccupancy] = _ibooker.book1D(name, name, 54, 601, 655);
70 
71  name = "FEDFatal";
72  MEs_[kEEFatal] = _ibooker.book1D(name, name, 54, 601, 655);
73 
74  name = "FEDNonFatal";
75  MEs_[kEENonFatal] = _ibooker.book1D(name, name, 54, 601, 655);
76  }
77 }
std::vector< MonitorElement * > MEs_
void cd(void)
Definition: DQMStore.cc:269
std::string folderName_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
template<int SUBDET>
void EcalFEDMonitorTemp< SUBDET >::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &  _es 
)
overrideprivatevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 35 of file EcalFEDMonitor.cc.

References ecaldqm::checkElectronicsMap(), edm::EventSetup::get(), edm::ESHandle< T >::product(), and ecaldqm::setElectronicsMap().

Referenced by EcalFEDMonitorTemp< SUBDET >::~EcalFEDMonitorTemp().

36 {
37  if(!ecaldqm::checkElectronicsMap(false)){
38  // set up ecaldqm::electronicsMap in EcalDQMCommonUtils
40  _es.get<EcalMappingRcd>().get(elecMapHandle);
41  ecaldqm::setElectronicsMap(elecMapHandle.product());
42  }
43 }
bool checkElectronicsMap(bool=true)
void setElectronicsMap(EcalElectronicsMapping const *)
T const * product() const
Definition: ESHandle.h:86

Member Data Documentation

template<int SUBDET>
edm::EDGetTokenT<EcalElectronicsIdCollection> EcalFEDMonitorTemp< SUBDET >::blockSizeErrorsToken_
private

Definition at line 59 of file EcalFEDMonitor.h.

Referenced by EcalFEDMonitorTemp< SUBDET >::analyze().

template<int SUBDET>
edm::EDGetTokenT<EBDetIdCollection> EcalFEDMonitorTemp< SUBDET >::ebChIdErrorsToken_
private
template<int SUBDET>
edm::EDGetTokenT<EBDetIdCollection> EcalFEDMonitorTemp< SUBDET >::ebGainErrorsToken_
private
template<int SUBDET>
edm::EDGetTokenT<EBDetIdCollection> EcalFEDMonitorTemp< SUBDET >::ebGainSwitchErrorsToken_
private
template<int SUBDET>
edm::EDGetTokenT<EEDetIdCollection> EcalFEDMonitorTemp< SUBDET >::eeChIdErrorsToken_
private
template<int SUBDET>
edm::EDGetTokenT<EEDetIdCollection> EcalFEDMonitorTemp< SUBDET >::eeGainErrorsToken_
private
template<int SUBDET>
edm::EDGetTokenT<EEDetIdCollection> EcalFEDMonitorTemp< SUBDET >::eeGainSwitchErrorsToken_
private
template<int SUBDET>
edm::EDGetTokenT<FEDRawDataCollection> EcalFEDMonitorTemp< SUBDET >::FEDRawDataToken_
private

Definition at line 51 of file EcalFEDMonitor.h.

Referenced by EcalFEDMonitorTemp< SUBDET >::analyze().

template<int SUBDET>
std::string EcalFEDMonitorTemp< SUBDET >::folderName_
private

Definition at line 49 of file EcalFEDMonitor.h.

Referenced by EcalFEDMonitorTemp< SUBDET >::bookHistograms().

template<int SUBDET>
std::vector<MonitorElement*> EcalFEDMonitorTemp< SUBDET >::MEs_
private
template<int SUBDET>
edm::EDGetTokenT<EcalElectronicsIdCollection> EcalFEDMonitorTemp< SUBDET >::towerIdErrorsToken_
private

Definition at line 58 of file EcalFEDMonitor.h.

Referenced by EcalFEDMonitorTemp< SUBDET >::analyze().