CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
SiPixelRawDataErrorSource Class Reference

#include <SiPixelRawDataErrorSource.h>

Inheritance diagram for SiPixelRawDataErrorSource:
DQMOneLumiEDAnalyzer<> DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Types

typedef edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
 
- Public Types inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
virtual void bookMEs (DQMStore::IBooker &)
 
virtual void buildStructure (edm::EventSetup const &)
 
void dqmBeginRun (const edm::Run &, edm::EventSetup const &) override
 
 SiPixelRawDataErrorSource (const edm::ParameterSet &conf)
 
 ~SiPixelRawDataErrorSource () override
 
- Public Member Functions inherited from DQMOneLumiEDAnalyzer<>
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
 DQMOneLumiEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
bool getCanSaveByLumi () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

bool bladeOn
 
MonitorElementbyLumiErrors
 
edm::ParameterSet conf_
 
MonitorElementerrorRate
 
int eventNo
 
MonitorElementfedcounter
 
bool firstRun
 
edm::EDGetTokenT< FEDRawDataCollectioninputSourceToken_
 
bool isPIB
 
bool isUpgrade
 
bool ladOn
 
MonitorElementmeErrorType_ [40]
 
MonitorElementmeEvtNbr_ [40]
 
MonitorElementmeEvtSize_ [40]
 
MonitorElementmeFedChLErr_ [40]
 
MonitorElementmeFedChNErr_ [40]
 
MonitorElementmeFedETypeNErr_ [40]
 
MonitorElementmeFullType_ [40]
 
std::map< std::string, MonitorElement ** > meMapFEDs_
 
MonitorElementmeNErrors_ [40]
 
MonitorElementmeTBMMessage_ [40]
 
MonitorElementmeTBMType_ [40]
 
bool modOn
 
bool reducedSet
 
bool saveFile
 
bool slowDown
 
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
 
std::map< uint32_t, SiPixelRawDataErrorModule * > theFEDStructure
 
std::map< uint32_t, SiPixelRawDataErrorModule * > thePixelStructure
 
std::string topFolderName_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from DQMOneLumiEDAnalyzer<>
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
- Protected Attributes inherited from DQMOneLumiEDAnalyzer<>
edm::EDPutTokenT< DQMTokenlumiToken_
 
- Protected Attributes inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Description: Produces histograms for error information generated at the raw2digi stage for the pixel tracker.

Usage: Takes a DetSetVector<SiPixelRawDataError> as input, and uses it to populate a folder hierarchy (organized by detId) with histograms containing information about the errors. Uses SiPixelRawDataErrorModule class to book and fill individual folders. Note that this source is different than other DQM sources in the creation of an unphysical detId folder (detId=0xffffffff) to hold information about errors for which there is no detId available (except the dummy detId given to it at raw2digi).

Definition at line 52 of file SiPixelRawDataErrorSource.h.

Member Typedef Documentation

◆ ErrorIterator

Definition at line 57 of file SiPixelRawDataErrorSource.h.

Constructor & Destructor Documentation

◆ SiPixelRawDataErrorSource()

SiPixelRawDataErrorSource::SiPixelRawDataErrorSource ( const edm::ParameterSet conf)
explicit

Definition at line 55 of file SiPixelRawDataErrorSource.cc.

56  : conf_(iConfig),
58  saveFile(conf_.getUntrackedParameter<bool>("saveFile", false)),
59  isPIB(conf_.getUntrackedParameter<bool>("isPIB", false)),
60  slowDown(conf_.getUntrackedParameter<bool>("slowDown", false)),
61  reducedSet(conf_.getUntrackedParameter<bool>("reducedSet", false)),
62  modOn(conf_.getUntrackedParameter<bool>("modOn", true)),
63  ladOn(conf_.getUntrackedParameter<bool>("ladOn", false)),
64  bladeOn(conf_.getUntrackedParameter<bool>("bladeOn", false)),
65  isUpgrade(conf_.getUntrackedParameter<bool>("isUpgrade", false)) {
66  firstRun = true;
67  LogInfo("PixelDQM") << "SiPixelRawDataErrorSource::SiPixelRawDataErrorSource:"
68  " Got DQM BackEnd interface"
69  << endl;
70  topFolderName_ = conf_.getParameter<std::string>("TopFolderName");
71  inputSourceToken_ = consumes<FEDRawDataCollection>(conf_.getUntrackedParameter<string>("inputSource", "source"));
72 }

References conf_, firstRun, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputSourceToken_, AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.

◆ ~SiPixelRawDataErrorSource()

SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource ( )
override

Definition at line 74 of file SiPixelRawDataErrorSource.cc.

74  {
75  // do anything here that needs to be done at desctruction time
76  // (e.g. close files, deallocate resources etc.)
77  LogInfo("PixelDQM") << "SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource: Destructor" << endl;
78 }

Member Function Documentation

◆ analyze()

void SiPixelRawDataErrorSource::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.

Definition at line 104 of file SiPixelRawDataErrorSource.cc.

104  {
105  eventNo++;
106  // check feds in readout
107  if (eventNo == 1) {
108  // check if any Pixel FED is in readout:
109  edm::Handle<FEDRawDataCollection> rawDataHandle;
110  iEvent.getByToken(inputSourceToken_, rawDataHandle);
111  if (!rawDataHandle.isValid()) {
112  edm::LogInfo("SiPixelRawDataErrorSource") << "inputsource is empty";
113  } else {
114  const FEDRawDataCollection &rawDataCollection = *rawDataHandle;
115  for (int i = 0; i != 40; i++) {
116  if (rawDataCollection.FEDData(i).size() && rawDataCollection.FEDData(i).data())
117  fedcounter->setBinContent(i + 1, 1);
118  }
119  }
120  }
121  // get input data
123  iEvent.getByToken(src_, input);
124  if (!input.isValid())
125  return;
126 
127  int lumiSection = (int)iEvent.luminosityBlock();
128 
129  int nEventBPIXModuleErrors = 0;
130  int nEventFPIXModuleErrors = 0;
131  int nEventBPIXFEDErrors = 0;
132  int nEventFPIXFEDErrors = 0;
133  int nErrors = 0;
134 
135  std::map<uint32_t, SiPixelRawDataErrorModule *>::iterator struct_iter;
136  std::map<uint32_t, SiPixelRawDataErrorModule *>::iterator struct_iter2;
137  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
138  int numberOfModuleErrors = (*struct_iter).second->fill(*input, &meMapFEDs_, modOn, ladOn, bladeOn);
139  if (DetId((*struct_iter).first).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel))
140  nEventBPIXModuleErrors = nEventBPIXModuleErrors + numberOfModuleErrors;
141  if (DetId((*struct_iter).first).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap))
142  nEventFPIXModuleErrors = nEventFPIXModuleErrors + numberOfModuleErrors;
143  // cout<<"NErrors: "<<nEventBPIXModuleErrors<<"
144  // "<<nEventFPIXModuleErrors<<endl;
145  nErrors = nErrors + numberOfModuleErrors;
146  // if(nErrors>0) cout<<"MODULES: nErrors: "<<nErrors<<endl;
147  }
148  for (struct_iter2 = theFEDStructure.begin(); struct_iter2 != theFEDStructure.end(); struct_iter2++) {
149  int numberOfFEDErrors = (*struct_iter2).second->fillFED(*input, &meMapFEDs_);
150  if ((*struct_iter2).first <= 31)
151  nEventBPIXFEDErrors = nEventBPIXFEDErrors + numberOfFEDErrors; // (*struct_iter2).first >= 0, since
152  // (*struct_iter2).first is unsigned
153  if ((*struct_iter2).first >= 32 && (*struct_iter2).first <= 39)
154  nEventFPIXFEDErrors = nEventFPIXFEDErrors + numberOfFEDErrors;
155  // cout<<"NFEDErrors: "<<nEventBPIXFEDErrors<<"
156  // "<<nEventFPIXFEDErrors<<endl;
157  nErrors = nErrors + numberOfFEDErrors;
158  // if(nErrors>0) cout<<"FEDS: nErrors: "<<nErrors<<endl;
159  }
160  if (byLumiErrors) {
162  // cout<<"NErrors: "<<nEventBPIXModuleErrors<<" "<<nEventFPIXModuleErrors<<"
163  // "<<nEventBPIXFEDErrors<<" "<<nEventFPIXFEDErrors<<endl;
164  if (nEventBPIXModuleErrors + nEventBPIXFEDErrors > 0)
165  byLumiErrors->Fill(0, 1.);
166  if (nEventFPIXModuleErrors + nEventFPIXFEDErrors > 0)
167  byLumiErrors->Fill(1, 1.);
168  // cout<<"histo: "<<byLumiErrors->getBinContent(0)<<"
169  // "<<byLumiErrors->getBinContent(1)<<"
170  // "<<byLumiErrors->getBinContent(2)<<endl;
171  }
172 
173  // Rate of errors per lumi section:
174  if (errorRate)
175  errorRate->Fill(lumiSection, nErrors);
176 
177  // slow down...
178  if (slowDown)
179  usleep(100000);
180 }

References bladeOn, byLumiErrors, FEDRawData::data(), errorRate, eventNo, fedcounter, FEDRawDataCollection::FEDData(), dqm::impl::MonitorElement::Fill(), mps_fire::i, iEvent, input, inputSourceToken_, createfilelist::int, edm::HandleBase::isValid(), ladOn, meMapFEDs_, modOn, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, dqm::impl::MonitorElement::setBinContent(), FEDRawData::size(), slowDown, src_, DetId::subdetId(), theFEDStructure, and thePixelStructure.

◆ bookHistograms()

void SiPixelRawDataErrorSource::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.

Definition at line 94 of file SiPixelRawDataErrorSource.cc.

96  {
97  // Book Monitoring Elements
98  bookMEs(iBooker);
99 }

References bookMEs().

◆ bookMEs()

void SiPixelRawDataErrorSource::bookMEs ( DQMStore::IBooker iBooker)
virtual

Create folder tree and book histograms

Create folder tree for errors without detId and book histograms

Definition at line 280 of file SiPixelRawDataErrorSource.cc.

280  {
281  iBooker.setCurrentFolder(topFolderName_ + "/EventInfo/DAQContents");
282  char title0[80];
283  sprintf(title0, "FED isPresent;FED ID;isPresent");
284  fedcounter = iBooker.book1D("fedcounter", title0, 40, -0.5, 39.5);
285  iBooker.setCurrentFolder(topFolderName_ + "/AdditionalPixelErrors");
286  char title[80];
287  sprintf(title, "By-LumiSection Error counters");
288  {
289  auto scope = DQMStore::IBooker::UseLumiScope(iBooker);
290  byLumiErrors = iBooker.book1D("byLumiErrors", title, 2, 0., 2.);
291  }
292  char title1[80];
293  sprintf(title1, "Errors per LumiSection;LumiSection;NErrors");
294  errorRate = iBooker.book1D("errorRate", title1, 5000, 0., 5000.);
295 
296  std::map<uint32_t, SiPixelRawDataErrorModule *>::iterator struct_iter;
297  std::map<uint32_t, SiPixelRawDataErrorModule *>::iterator struct_iter2;
298 
299  SiPixelFolderOrganizer theSiPixelFolder(false);
300 
301  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
303 
304  if (modOn) {
305  if (!theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 0, isUpgrade)) {
306  // std::cout<<"PIB! not booking histograms for non-PIB
307  // modules!"<<std::endl;
308  if (!isPIB)
309  throw cms::Exception("LogicError") << "[SiPixelRawDataErrorSource::bookMEs] Creation of DQM folder "
310  "failed";
311  }
312  }
313 
314  if (ladOn) {
315  if (!theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 1, isUpgrade)) {
316  LogDebug("PixelDQM") << "PROBLEM WITH LADDER-FOLDER\n";
317  }
318  }
319 
320  if (bladeOn) {
321  if (!theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 4, isUpgrade)) {
322  LogDebug("PixelDQM") << "PROBLEM WITH BLADE-FOLDER\n";
323  }
324  }
325 
326  } // for loop
327 
328  for (struct_iter2 = theFEDStructure.begin(); struct_iter2 != theFEDStructure.end(); struct_iter2++) {
330  if (!theSiPixelFolder.setFedFolder(iBooker, (*struct_iter2).first)) {
331  throw cms::Exception("LogicError") << "[SiPixelRawDataErrorSource::bookMEs] Creation of DQM folder "
332  "failed";
333  }
334  }
335 
336  // Booking FED histograms
337  std::string hid;
338  // Get collection name and instantiate Histo Id builder
340  SiPixelHistogramId *theHistogramId = new SiPixelHistogramId(src.label());
341 
342  for (uint32_t id = 0; id < 40; id++) {
343  char temp[50];
344  sprintf(temp, (topFolderName_ + "/AdditionalPixelErrors/FED_%d").c_str(), id);
345  iBooker.cd(temp);
346  // Types of errors
347  hid = theHistogramId->setHistoId("errorType", id);
348  meErrorType_[id] = iBooker.book1D(hid, "Type of errors", 15, 24.5, 39.5);
349  meErrorType_[id]->setAxisTitle("Type of errors", 1);
350  // Number of errors
351  hid = theHistogramId->setHistoId("NErrors", id);
352  meNErrors_[id] = iBooker.book1D(hid, "Number of errors", 36, 0., 36.);
353  meNErrors_[id]->setAxisTitle("Number of errors", 1);
354  // Type of FIFO full (errorType = 28). FIFO 1 is 1-5 (where fullType =
355  // channel of FIFO 1), fullType = 6 signifies FIFO 2 nearly full, 7
356  // signifies trigger FIFO nearly full, 8 indicates an unexpected result
357  hid = theHistogramId->setHistoId("fullType", id);
358  meFullType_[id] = iBooker.book1D(hid, "Type of FIFO full", 7, 0.5, 7.5);
359  meFullType_[id]->setAxisTitle("FIFO type", 1);
360  // For error type 30, the type of problem encoded in the TBM trailer
361  // 0 = stack full, 1 = Pre-cal issued, 2 = clear trigger counter, 3 = sync
362  // trigger, 4 = sync trigger error, 5 = reset ROC, 6 = reset TBM, 7 = no
363  // token bit pass
364  hid = theHistogramId->setHistoId("TBMMessage", id);
365  meTBMMessage_[id] = iBooker.book1D(hid, "TBM trailer message", 8, -0.5, 7.5);
366  meTBMMessage_[id]->setAxisTitle("TBM message", 1);
367  // For error type 30, the type of problem encoded in the TBM error trailer 0
368  // = none 1 = data stream too long, 2 = FSM errors, 3 = invalid # of ROCs, 4
369  // = multiple
370  hid = theHistogramId->setHistoId("TBMType", id);
371  meTBMType_[id] = iBooker.book1D(hid, "Type of TBM trailer", 5, -0.5, 4.5);
372  meTBMType_[id]->setAxisTitle("TBM Type", 1);
373  // For error type 31, the event number of the TBM header with the error
374  hid = theHistogramId->setHistoId("EvtNbr", id);
375  meEvtNbr_[id] = iBooker.book1D(hid, "Event number", 1, 0, 1);
376  // For errorType = 34, datastream size according to error word
377  hid = theHistogramId->setHistoId("evtSize", id);
378  meEvtSize_[id] = iBooker.book1D(hid, "Event size", 1, 0, 1);
379  //
380  hid = theHistogramId->setHistoId("FedChNErr", id);
381  meFedChNErr_[id] = iBooker.book1D(hid, "Number of errors per FED channel", 37, 0, 37);
382  meFedChNErr_[id]->setAxisTitle("FED channel", 1);
383  //
384  hid = theHistogramId->setHistoId("FedChLErr", id);
385  meFedChLErr_[id] = iBooker.book1D(hid, "Last error per FED channel", 37, 0, 37);
386  meFedChLErr_[id]->setAxisTitle("FED channel", 1);
387  //
388  hid = theHistogramId->setHistoId("FedETypeNErr", id);
389  meFedETypeNErr_[id] = iBooker.book1D(hid, "Number of errors per type", 21, 0, 21);
390  meFedETypeNErr_[id]->setAxisTitle("Error type", 1);
391  }
392  // Add the booked histograms to the histogram map for booking
393  meMapFEDs_["meErrorType_"] = meErrorType_;
394  meMapFEDs_["meNErrors_"] = meNErrors_;
395  meMapFEDs_["meFullType_"] = meFullType_;
396  meMapFEDs_["meTBMMessage_"] = meTBMMessage_;
397  meMapFEDs_["meTBMType_"] = meTBMType_;
398  meMapFEDs_["meEvtNbr_"] = meEvtNbr_;
399  meMapFEDs_["meEvtSize_"] = meEvtSize_;
400  meMapFEDs_["meFedChNErr_"] = meFedChNErr_;
401  meMapFEDs_["meFedChLErr_"] = meFedChLErr_;
402  meMapFEDs_["meFedETypeNErr_"] = meFedETypeNErr_;
403 
404  // cout<<"...leaving SiPixelRawDataErrorSource::bookMEs now! "<<endl;
405 }

References bladeOn, dqm::implementation::IBooker::book1D(), byLumiErrors, dqm::implementation::NavigatorBase::cd(), conf_, errorRate, Exception, fedcounter, edm::ParameterSet::getParameter(), triggerObjects_cff::id, isPIB, isUpgrade, ladOn, LogDebug, meErrorType_, meEvtNbr_, meEvtSize_, meFedChLErr_, meFedChNErr_, meFedETypeNErr_, meFullType_, meMapFEDs_, meNErrors_, meTBMMessage_, meTBMType_, modOn, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), SiPixelFolderOrganizer::setFedFolder(), SiPixelFolderOrganizer::setModuleFolder(), TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, theFEDStructure, thePixelStructure, runGCPTkAlMap::title, and topFolderName_.

Referenced by bookHistograms().

◆ buildStructure()

void SiPixelRawDataErrorSource::buildStructure ( edm::EventSetup const &  iSetup)
virtual

Definition at line 185 of file SiPixelRawDataErrorSource.cc.

185  {
186  LogInfo("PixelDQM") << " SiPixelRawDataErrorSource::buildStructure";
187 
189  edm::ESHandle<TrackerTopology> tTopoHandle;
190 
191  iSetup.get<TrackerDigiGeometryRecord>().get(pDD);
192  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
193 
194  const TrackerTopology *pTT = tTopoHandle.product();
195 
196  LogVerbatim("PixelDQM") << " *** Geometry node for TrackerGeom is " << &(*pDD) << std::endl;
197  LogVerbatim("PixelDQM") << " *** I have " << pDD->detsPXB().size() << " barrel pixel detectors" << std::endl;
198  LogVerbatim("PixelDQM") << " *** I have " << pDD->detsPXF().size() << " endcap pixel detectors" << std::endl;
199  // LogVerbatim ("PixelDQM") << " *** I have " << pDD->detTypes().size() <<"
200  // types"<<std::endl;
201 
202  for (TrackerGeometry::DetContainer::const_iterator it = pDD->detsPXB().begin(); it != pDD->detsPXB().end(); it++) {
203  const GeomDetUnit *geoUnit = dynamic_cast<const GeomDetUnit *>(*it);
204  // check if it is a detUnit
205  if (geoUnit == nullptr)
206  LogError("PixelDQM") << "Pixel GeomDet is not a GeomDetUnit!" << std::endl;
207  const PixelGeomDetUnit *pixDet = dynamic_cast<const PixelGeomDetUnit *>(geoUnit);
208  int nrows = (pixDet->specificTopology()).nrows();
209  int ncols = (pixDet->specificTopology()).ncolumns();
210 
211  if (isPIB)
212  continue;
213  DetId detId = (*it)->geographicalId();
214  LogDebug("PixelDQM") << " ---> Adding Barrel Module " << detId.rawId() << endl;
215  uint32_t id = detId();
216  SiPixelRawDataErrorModule *theModule = new SiPixelRawDataErrorModule(id, ncols, nrows);
217  thePixelStructure.insert(pair<uint32_t, SiPixelRawDataErrorModule *>(id, theModule));
218  }
219 
220  for (TrackerGeometry::DetContainer::const_iterator it = pDD->detsPXF().begin(); it != pDD->detsPXF().end(); it++) {
221  const GeomDetUnit *geoUnit = dynamic_cast<const GeomDetUnit *>(*it);
222  // check if it is a detUnit
223  if (geoUnit == nullptr)
224  LogError("PixelDQM") << "Pixel GeomDet is not a GeomDetUnit!" << std::endl;
225  const PixelGeomDetUnit *pixDet = dynamic_cast<const PixelGeomDetUnit *>(geoUnit);
226  int nrows = (pixDet->specificTopology()).nrows();
227  int ncols = (pixDet->specificTopology()).ncolumns();
228 
229  DetId detId = (*it)->geographicalId();
230  LogDebug("PixelDQM") << " ---> Adding Endcap Module " << detId.rawId() << endl;
231  uint32_t id = detId();
232  SiPixelRawDataErrorModule *theModule = new SiPixelRawDataErrorModule(id, ncols, nrows);
233 
235  int disk = PixelEndcapName(DetId(id), pTT, isUpgrade).diskName();
236  int blade = PixelEndcapName(DetId(id), pTT, isUpgrade).bladeName();
237  int panel = PixelEndcapName(DetId(id), pTT, isUpgrade).pannelName();
238  int module = PixelEndcapName(DetId(id), pTT, isUpgrade).plaquetteName();
239 
240  char sside[80];
241  sprintf(sside, "HalfCylinder_%i", side);
242  char sdisk[80];
243  sprintf(sdisk, "Disk_%i", disk);
244  char sblade[80];
245  sprintf(sblade, "Blade_%02i", blade);
246  char spanel[80];
247  sprintf(spanel, "Panel_%i", panel);
248  char smodule[80];
249  sprintf(smodule, "Module_%i", module);
250  std::string side_str = sside;
251  std::string disk_str = sdisk;
252  bool mask = side_str.find("HalfCylinder_1") != string::npos || side_str.find("HalfCylinder_2") != string::npos ||
253  side_str.find("HalfCylinder_4") != string::npos || disk_str.find("Disk_2") != string::npos;
254  // clutch to take all of FPIX, but no BPIX:
255  mask = false;
256  if (isPIB && mask)
257  continue;
258 
259  thePixelStructure.insert(pair<uint32_t, SiPixelRawDataErrorModule *>(id, theModule));
260  }
261 
262  LogDebug("PixelDQM") << " ---> Adding Module for Additional Errors " << endl;
264 
265  fedIds.first = 0;
266  fedIds.second = 39;
267 
268  for (int fedId = fedIds.first; fedId <= fedIds.second; fedId++) {
269  // std::cout<<"Adding FED module: "<<fedId<<std::endl;
270  uint32_t id = static_cast<uint32_t>(fedId);
272  theFEDStructure.insert(pair<uint32_t, SiPixelRawDataErrorModule *>(id, theModule));
273  }
274 
275  LogInfo("PixelDQM") << " *** Pixel Structure Size " << thePixelStructure.size() << endl;
276 }

References PixelEndcapName::bladeName(), TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), PixelEndcapName::diskName(), l1tstage2_dqm_sourceclient-live_cfg::fedId, L1TStage2BMTF_cff::fedIds, edm::EventSetup::get(), get, PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, FEDNumbering::MAXSiPixelFEDID, FEDNumbering::MINSiPixelFEDID, hgcalPlots::ncols, PixelEndcapName::pannelName(), PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, theFEDStructure, and thePixelStructure.

Referenced by dqmBeginRun().

◆ dqmBeginRun()

void SiPixelRawDataErrorSource::dqmBeginRun ( const edm::Run r,
edm::EventSetup const &  iSetup 
)
overridevirtual

Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.

Definition at line 80 of file SiPixelRawDataErrorSource.cc.

80  {
81  LogInfo("PixelDQM") << " SiPixelRawDataErrorSource::beginRun - Initialisation ... " << std::endl;
82  LogInfo("PixelDQM") << "Mod/Lad/Blade " << modOn << "/" << ladOn << "/" << bladeOn << std::endl;
83 
84  if (firstRun) {
85  eventNo = 0;
86 
87  firstRun = false;
88  }
89 
90  // Build map
91  buildStructure(iSetup);
92 }

References bladeOn, buildStructure(), eventNo, firstRun, ladOn, and modOn.

Member Data Documentation

◆ bladeOn

bool SiPixelRawDataErrorSource::bladeOn
private

Definition at line 77 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ byLumiErrors

MonitorElement* SiPixelRawDataErrorSource::byLumiErrors
private

Definition at line 83 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), and bookMEs().

◆ conf_

edm::ParameterSet SiPixelRawDataErrorSource::conf_
private

Definition at line 67 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs(), and SiPixelRawDataErrorSource().

◆ errorRate

MonitorElement* SiPixelRawDataErrorSource::errorRate
private

Definition at line 84 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), and bookMEs().

◆ eventNo

int SiPixelRawDataErrorSource::eventNo
private

Definition at line 79 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ fedcounter

MonitorElement* SiPixelRawDataErrorSource::fedcounter
private

Definition at line 85 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), and bookMEs().

◆ firstRun

bool SiPixelRawDataErrorSource::firstRun
private

Definition at line 82 of file SiPixelRawDataErrorSource.h.

Referenced by dqmBeginRun(), and SiPixelRawDataErrorSource().

◆ inputSourceToken_

edm::EDGetTokenT<FEDRawDataCollection> SiPixelRawDataErrorSource::inputSourceToken_
private

Definition at line 69 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), and SiPixelRawDataErrorSource().

◆ isPIB

bool SiPixelRawDataErrorSource::isPIB
private

Definition at line 72 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs(), and buildStructure().

◆ isUpgrade

bool SiPixelRawDataErrorSource::isUpgrade
private

Definition at line 78 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs(), and buildStructure().

◆ ladOn

bool SiPixelRawDataErrorSource::ladOn
private

Definition at line 76 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ meErrorType_

MonitorElement* SiPixelRawDataErrorSource::meErrorType_[40]
private

Definition at line 87 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meEvtNbr_

MonitorElement* SiPixelRawDataErrorSource::meEvtNbr_[40]
private

Definition at line 92 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meEvtSize_

MonitorElement* SiPixelRawDataErrorSource::meEvtSize_[40]
private

Definition at line 93 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meFedChLErr_

MonitorElement* SiPixelRawDataErrorSource::meFedChLErr_[40]
private

Definition at line 96 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meFedChNErr_

MonitorElement* SiPixelRawDataErrorSource::meFedChNErr_[40]
private

Definition at line 95 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meFedETypeNErr_

MonitorElement* SiPixelRawDataErrorSource::meFedETypeNErr_[40]
private

Definition at line 97 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meFullType_

MonitorElement* SiPixelRawDataErrorSource::meFullType_[40]
private

Definition at line 89 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meMapFEDs_

std::map<std::string, MonitorElement **> SiPixelRawDataErrorSource::meMapFEDs_
private

Definition at line 99 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), and bookMEs().

◆ meNErrors_

MonitorElement* SiPixelRawDataErrorSource::meNErrors_[40]
private

Definition at line 88 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meTBMMessage_

MonitorElement* SiPixelRawDataErrorSource::meTBMMessage_[40]
private

Definition at line 90 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ meTBMType_

MonitorElement* SiPixelRawDataErrorSource::meTBMType_[40]
private

Definition at line 91 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs().

◆ modOn

bool SiPixelRawDataErrorSource::modOn
private

Definition at line 75 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

◆ reducedSet

bool SiPixelRawDataErrorSource::reducedSet
private

Definition at line 74 of file SiPixelRawDataErrorSource.h.

◆ saveFile

bool SiPixelRawDataErrorSource::saveFile
private

Definition at line 71 of file SiPixelRawDataErrorSource.h.

◆ slowDown

bool SiPixelRawDataErrorSource::slowDown
private

Definition at line 73 of file SiPixelRawDataErrorSource.h.

Referenced by analyze().

◆ src_

edm::EDGetTokenT<edm::DetSetVector<SiPixelRawDataError> > SiPixelRawDataErrorSource::src_
private

Definition at line 68 of file SiPixelRawDataErrorSource.h.

Referenced by analyze().

◆ theFEDStructure

std::map<uint32_t, SiPixelRawDataErrorModule *> SiPixelRawDataErrorSource::theFEDStructure
private

Definition at line 81 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), bookMEs(), and buildStructure().

◆ thePixelStructure

std::map<uint32_t, SiPixelRawDataErrorModule *> SiPixelRawDataErrorSource::thePixelStructure
private

Definition at line 80 of file SiPixelRawDataErrorSource.h.

Referenced by analyze(), bookMEs(), and buildStructure().

◆ topFolderName_

std::string SiPixelRawDataErrorSource::topFolderName_
private

Definition at line 70 of file SiPixelRawDataErrorSource.h.

Referenced by bookMEs(), and SiPixelRawDataErrorSource().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
edm::DetSetVector
Definition: DetSetVector.h:61
hgcalPlots.ncols
ncols
Definition: hgcalPlots.py:105
SiPixelRawDataErrorSource::meFedETypeNErr_
MonitorElement * meFedETypeNErr_[40]
Definition: SiPixelRawDataErrorSource.h:97
SiPixelRawDataErrorSource::meFedChLErr_
MonitorElement * meFedChLErr_[40]
Definition: SiPixelRawDataErrorSource.h:96
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
mps_fire.i
i
Definition: mps_fire.py:428
SiPixelRawDataErrorSource::firstRun
bool firstRun
Definition: SiPixelRawDataErrorSource.h:82
input
static const std::string input
Definition: EdmProvDump.cc:48
SiPixelRawDataErrorSource::meErrorType_
MonitorElement * meErrorType_[40]
Definition: SiPixelRawDataErrorSource.h:87
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
GeomDet
Definition: GeomDet.h:27
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
SiPixelRawDataErrorSource::buildStructure
virtual void buildStructure(edm::EventSetup const &)
Definition: SiPixelRawDataErrorSource.cc:185
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelRawDataErrorSource::meTBMMessage_
MonitorElement * meTBMMessage_[40]
Definition: SiPixelRawDataErrorSource.h:90
SiPixelRawDataErrorSource::eventNo
int eventNo
Definition: SiPixelRawDataErrorSource.h:79
SiPixelRawDataErrorSource::thePixelStructure
std::map< uint32_t, SiPixelRawDataErrorModule * > thePixelStructure
Definition: SiPixelRawDataErrorSource.h:80
SiPixelRawDataErrorSource::topFolderName_
std::string topFolderName_
Definition: SiPixelRawDataErrorSource.h:70
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
PixelEndcapName::halfCylinder
HalfCylinder halfCylinder() const
Definition: PixelEndcapName.h:42
SiPixelRawDataErrorSource::fedcounter
MonitorElement * fedcounter
Definition: SiPixelRawDataErrorSource.h:85
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
PixelEndcapName::pannelName
int pannelName() const
pannel id
Definition: PixelEndcapName.h:51
edm::Handle
Definition: AssociativeIterator.h:50
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
PixelEndcapName::bladeName
int bladeName() const
blade id
Definition: PixelEndcapName.h:48
FEDRawData::data
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
SiPixelRawDataErrorSource::theFEDStructure
std::map< uint32_t, SiPixelRawDataErrorModule * > theFEDStructure
Definition: SiPixelRawDataErrorSource.h:81
SiPixelRawDataErrorSource::conf_
edm::ParameterSet conf_
Definition: SiPixelRawDataErrorSource.h:67
TrackerGeometry::detsPXB
const DetContainer & detsPXB() const
Definition: TrackerGeometry.cc:171
DetId
Definition: DetId.h:17
SiPixelRawDataErrorSource::slowDown
bool slowDown
Definition: SiPixelRawDataErrorSource.h:73
PixelEndcapName
Definition: PixelEndcapName.h:16
SiPixelRawDataErrorSource::modOn
bool modOn
Definition: SiPixelRawDataErrorSource.h:75
FEDNumbering::MAXSiPixelFEDID
Definition: FEDNumbering.h:28
SiPixelRawDataErrorSource::meTBMType_
MonitorElement * meTBMType_[40]
Definition: SiPixelRawDataErrorSource.h:91
SiPixelRawDataErrorSource::bookMEs
virtual void bookMEs(DQMStore::IBooker &)
Definition: SiPixelRawDataErrorSource.cc:280
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
SiPixelRawDataErrorSource::reducedSet
bool reducedSet
Definition: SiPixelRawDataErrorSource.h:74
edm::ESHandle< TrackerGeometry >
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
TrackerGeometry::detsPXF
const DetContainer & detsPXF() const
Definition: TrackerGeometry.cc:173
SiPixelRawDataErrorSource::saveFile
bool saveFile
Definition: SiPixelRawDataErrorSource.h:71
SiPixelRawDataErrorSource::byLumiErrors
MonitorElement * byLumiErrors
Definition: SiPixelRawDataErrorSource.h:83
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRawDataErrorSource::errorRate
MonitorElement * errorRate
Definition: SiPixelRawDataErrorSource.h:84
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
SiPixelHistogramId
Definition: SiPixelHistogramId.h:25
TrackRefitter_38T_cff.src
src
Definition: TrackRefitter_38T_cff.py:24
SiPixelRawDataErrorSource::ladOn
bool ladOn
Definition: SiPixelRawDataErrorSource.h:76
PixelGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: PixelGeomDetUnit.cc:17
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
dqm::implementation::IBooker::UseLumiScope
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
Definition: DQMStore.h:463
SiPixelRawDataErrorSource::bladeOn
bool bladeOn
Definition: SiPixelRawDataErrorSource.h:77
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:88
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
get
#define get
FEDRawData::size
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
SiPixelRawDataErrorSource::meEvtSize_
MonitorElement * meEvtSize_[40]
Definition: SiPixelRawDataErrorSource.h:93
FEDNumbering::MINSiPixelFEDID
Definition: FEDNumbering.h:27
SiPixelRawDataErrorSource::meNErrors_
MonitorElement * meNErrors_[40]
Definition: SiPixelRawDataErrorSource.h:88
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
SiPixelRawDataErrorSource::meFullType_
MonitorElement * meFullType_[40]
Definition: SiPixelRawDataErrorSource.h:89
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
PixelEndcapName::HalfCylinder
HalfCylinder
Definition: PixelEndcapName.h:18
PixelEndcapName::diskName
int diskName() const
disk id
Definition: PixelEndcapName.h:45
SiPixelRawDataErrorModule
Definition: SiPixelRawDataErrorModule.h:29
SiPixelRawDataErrorSource::meEvtNbr_
MonitorElement * meEvtNbr_[40]
Definition: SiPixelRawDataErrorSource.h:92
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
SiPixelRawDataErrorSource::src_
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
Definition: SiPixelRawDataErrorSource.h:68
Exception
Definition: hltDiff.cc:246
SiPixelFolderOrganizer
Definition: SiPixelFolderOrganizer.h:26
SiPixelRawDataErrorSource::isPIB
bool isPIB
Definition: SiPixelRawDataErrorSource.h:72
L1TStage2BMTF_cff.fedIds
fedIds
Definition: L1TStage2BMTF_cff.py:10
SiPixelRawDataErrorSource::inputSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
Definition: SiPixelRawDataErrorSource.h:69
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
PixelEndcapName::plaquetteName
int plaquetteName() const
plaquetteId (in pannel)
Definition: PixelEndcapName.h:54
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
SiPixelRawDataErrorSource::isUpgrade
bool isUpgrade
Definition: SiPixelRawDataErrorSource.h:78
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:153
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
edm::InputTag
Definition: InputTag.h:15
SiPixelRawDataErrorSource::meFedChNErr_
MonitorElement * meFedChNErr_[40]
Definition: SiPixelRawDataErrorSource.h:95
SiPixelRawDataErrorSource::meMapFEDs_
std::map< std::string, MonitorElement ** > meMapFEDs_
Definition: SiPixelRawDataErrorSource.h:99
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98