CMS 3D CMS Logo

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

#include <SiPixelDigiSource.h>

Inheritance diagram for SiPixelDigiSource:
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< PixelDigi >::const_iterator DigiIterator
 
- 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 &, const edm::EventSetup &iSetup)
 
virtual void buildStructure (edm::EventSetup const &)
 
virtual void CountZeroROCsInSubstructure (bool, bool &, SiPixelDigiModule *)
 
void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &, edm::EventSetup const &) override
 
void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 SiPixelDigiSource (const edm::ParameterSet &conf)
 
 ~SiPixelDigiSource () 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)
 

Public Attributes

std::string topFolderName_
 

Private Attributes

MonitorElementaverageDigiOccupancy
 
MonitorElementavgBarrelFedOccvsLumi
 
MonitorElementavgEndcapFedOccvsLumi
 
MonitorElementavgfedDigiOccvsLumi
 
MonitorElementbigEventRate
 
int bigEventSize
 
bool bladeOn
 
edm::ParameterSet conf_
 
bool diskOn
 
bool DoZeroRocsBMI1
 
bool DoZeroRocsBMI2
 
bool DoZeroRocsBMI3
 
bool DoZeroRocsBMO1
 
bool DoZeroRocsBMO2
 
bool DoZeroRocsBMO3
 
bool DoZeroRocsBPI1
 
bool DoZeroRocsBPI2
 
bool DoZeroRocsBPI3
 
bool DoZeroRocsBPO1
 
bool DoZeroRocsBPO2
 
bool DoZeroRocsBPO3
 
bool DoZeroRocsFMI1
 
bool DoZeroRocsFMI2
 
bool DoZeroRocsFMO1
 
bool DoZeroRocsFMO2
 
bool DoZeroRocsFPI1
 
bool DoZeroRocsFPI2
 
bool DoZeroRocsFPO1
 
bool DoZeroRocsFPO2
 
bool firstRun
 
bool hiRes
 
unsigned int I_detId [1856]
 
int I_fedId [1856]
 
int I_linkId1 [1856]
 
int I_linkId2 [1856]
 
std::string I_name [1856]
 
bool isPIB
 
bool isUpgrade
 
bool ladOn
 
bool layOn
 
MonitorElementloOccROCsBarrel
 
MonitorElementloOccROCsEndcap
 
MonitorElementmeNDigisCHANBarrel_
 
MonitorElementmeNDigisCHANBarrelCh10_
 
MonitorElementmeNDigisCHANBarrelCh11_
 
MonitorElementmeNDigisCHANBarrelCh12_
 
MonitorElementmeNDigisCHANBarrelCh13_
 
MonitorElementmeNDigisCHANBarrelCh14_
 
MonitorElementmeNDigisCHANBarrelCh15_
 
MonitorElementmeNDigisCHANBarrelCh16_
 
MonitorElementmeNDigisCHANBarrelCh17_
 
MonitorElementmeNDigisCHANBarrelCh18_
 
MonitorElementmeNDigisCHANBarrelCh19_
 
MonitorElementmeNDigisCHANBarrelCh1_
 
MonitorElementmeNDigisCHANBarrelCh20_
 
MonitorElementmeNDigisCHANBarrelCh21_
 
MonitorElementmeNDigisCHANBarrelCh22_
 
MonitorElementmeNDigisCHANBarrelCh23_
 
MonitorElementmeNDigisCHANBarrelCh24_
 
MonitorElementmeNDigisCHANBarrelCh25_
 
MonitorElementmeNDigisCHANBarrelCh26_
 
MonitorElementmeNDigisCHANBarrelCh27_
 
MonitorElementmeNDigisCHANBarrelCh28_
 
MonitorElementmeNDigisCHANBarrelCh29_
 
MonitorElementmeNDigisCHANBarrelCh2_
 
MonitorElementmeNDigisCHANBarrelCh30_
 
MonitorElementmeNDigisCHANBarrelCh31_
 
MonitorElementmeNDigisCHANBarrelCh32_
 
MonitorElementmeNDigisCHANBarrelCh33_
 
MonitorElementmeNDigisCHANBarrelCh34_
 
MonitorElementmeNDigisCHANBarrelCh35_
 
MonitorElementmeNDigisCHANBarrelCh36_
 
MonitorElementmeNDigisCHANBarrelCh3_
 
MonitorElementmeNDigisCHANBarrelCh4_
 
MonitorElementmeNDigisCHANBarrelCh5_
 
MonitorElementmeNDigisCHANBarrelCh6_
 
MonitorElementmeNDigisCHANBarrelCh7_
 
MonitorElementmeNDigisCHANBarrelCh8_
 
MonitorElementmeNDigisCHANBarrelCh9_
 
std::vector< MonitorElement * > meNDigisCHANBarrelLs_
 
MonitorElementmeNDigisCHANEndcap_
 
std::vector< MonitorElement * > meNDigisCHANEndcapDms_
 
std::vector< MonitorElement * > meNDigisCHANEndcapDps_
 
MonitorElementmeNDigisCOMBBarrel_
 
MonitorElementmeNDigisCOMBEndcap_
 
bool modOn
 
int nBigEvents
 
int nBPIXDigis
 
int nDigisA
 
int nDigisB
 
int nDigisPerChan [1152]
 
int nDigisPerDisk [6]
 
int nDigisPerFed [40]
 
int nDM1P1M1
 
int nDM1P1M2
 
int nDM1P1M3
 
int nDM1P1M4
 
int nDM1P2M1
 
int nDM1P2M2
 
int nDM1P2M3
 
int nDM2P1M1
 
int nDM2P1M2
 
int nDM2P1M3
 
int nDM2P1M4
 
int nDM2P2M1
 
int nDM2P2M2
 
int nDM2P2M3
 
int nDM3P1M1
 
int nDM3P2M1
 
int nDP1P1M1
 
int nDP1P1M2
 
int nDP1P1M3
 
int nDP1P1M4
 
int nDP1P2M1
 
int nDP1P2M2
 
int nDP1P2M3
 
int nDP2P1M1
 
int nDP2P1M2
 
int nDP2P1M3
 
int nDP2P1M4
 
int nDP2P2M1
 
int nDP2P2M2
 
int nDP2P2M3
 
int nDP3P1M1
 
int nDP3P2M1
 
int nFPIXDigis
 
int nL1M1
 
int nL1M2
 
int nL1M3
 
int nL1M4
 
int nL2M1
 
int nL2M2
 
int nL2M3
 
int nL2M4
 
int nL3M1
 
int nL3M2
 
int nL3M3
 
int nL3M4
 
int nL4M1
 
int nL4M2
 
int nL4M3
 
int nL4M4
 
int NloEffROCs [2]
 
MonitorElementnoOccROCsBarrel
 
MonitorElementnoOccROCsEndcap
 
int noOfDisks
 
int noOfLayers
 
int numberOfDigis [336]
 
int NzeroROCs [2]
 
bool phiOn
 
MonitorElementpixEventRate
 
MonitorElementpixEvtsPerBX
 
bool reducedSet
 
bool ringOn
 
bool ROCMapToReset
 
bool saveFile
 
bool slowDown
 
edm::InputTag src_
 
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > srcToken_
 
std::map< uint32_t, SiPixelDigiModule * > thePixelStructure
 
bool twoDimModOn
 
bool twoDimOn
 
bool twoDimOnlyLayDisk
 

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 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: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 46 of file SiPixelDigiSource.h.

Member Typedef Documentation

◆ DigiIterator

Definition at line 51 of file SiPixelDigiSource.h.

Constructor & Destructor Documentation

◆ SiPixelDigiSource()

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

Definition at line 49 of file SiPixelDigiSource.cc.

50  : conf_(iConfig),
52  saveFile(conf_.getUntrackedParameter<bool>("saveFile", false)),
53  isPIB(conf_.getUntrackedParameter<bool>("isPIB", false)),
54  slowDown(conf_.getUntrackedParameter<bool>("slowDown", false)),
55  modOn(conf_.getUntrackedParameter<bool>("modOn", true)),
56  twoDimOn(conf_.getUntrackedParameter<bool>("twoDimOn", true)),
57  twoDimModOn(conf_.getUntrackedParameter<bool>("twoDimModOn", true)),
58  twoDimOnlyLayDisk(conf_.getUntrackedParameter<bool>("twoDimOnlyLayDisk", false)),
59  hiRes(conf_.getUntrackedParameter<bool>("hiRes", false)),
60  reducedSet(conf_.getUntrackedParameter<bool>("reducedSet", false)),
61  ladOn(conf_.getUntrackedParameter<bool>("ladOn", false)),
62  layOn(conf_.getUntrackedParameter<bool>("layOn", false)),
63  phiOn(conf_.getUntrackedParameter<bool>("phiOn", false)),
64  ringOn(conf_.getUntrackedParameter<bool>("ringOn", false)),
65  bladeOn(conf_.getUntrackedParameter<bool>("bladeOn", false)),
66  diskOn(conf_.getUntrackedParameter<bool>("diskOn", false)),
67  bigEventSize(conf_.getUntrackedParameter<int>("bigEventSize", 1000)),
68  isUpgrade(conf_.getUntrackedParameter<bool>("isUpgrade", false)),
69  noOfLayers(0),
70  noOfDisks(0) {
71  //set Token(-s)
72  srcToken_ = consumes<edm::DetSetVector<PixelDigi> >(conf_.getParameter<edm::InputTag>("src"));
73 
74  topFolderName_ = conf_.getParameter<std::string>("TopFolderName");
75 
76  firstRun = true;
77  // find a FED# for the current detId:
78  ifstream infile(edm::FileInPath("DQM/SiPixelMonitorClient/test/detId.dat").fullPath().c_str(), ios::in);
79  int nModsInFile = 0;
80  assert(!infile.fail());
81  int nTOTmodules;
82  if (isUpgrade) {
83  nTOTmodules = 1856;
84  } else {
85  nTOTmodules = 1440;
86  }
87  while (!infile.eof() && nModsInFile < nTOTmodules) {
88  infile >> I_name[nModsInFile] >> I_detId[nModsInFile] >> I_fedId[nModsInFile] >> I_linkId1[nModsInFile] >>
89  I_linkId2[nModsInFile];
90  nModsInFile++;
91  }
92  infile.close();
93 
94  LogInfo("PixelDQM") << "SiPixelDigiSource::SiPixelDigiSource: Got DQM BackEnd interface" << endl;
95 }

References cms::cuda::assert(), conf_, firstRun, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), I_detId, I_fedId, I_linkId1, I_linkId2, I_name, recoMuon::in, timingPdfMaker::infile, isUpgrade, srcToken_, AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.

◆ ~SiPixelDigiSource()

SiPixelDigiSource::~SiPixelDigiSource ( )
override

Definition at line 97 of file SiPixelDigiSource.cc.

97  {
98  // do anything here that needs to be done at desctruction time
99  // (e.g. close files, deallocate resources etc.)
100  LogInfo("PixelDQM") << "SiPixelDigiSource::~SiPixelDigiSource: Destructor" << endl;
101 }

Member Function Documentation

◆ analyze()

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

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

Definition at line 318 of file SiPixelDigiSource.cc.

318  {
319  edm::ESHandle<TrackerTopology> tTopoHandle;
320  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
321  const TrackerTopology* pTT = tTopoHandle.product();
322 
323  // get input data
325  iEvent.getByToken(srcToken_, input);
326  if (!input.isValid())
327  return;
328 
329  int bx = iEvent.bunchCrossing();
330 
331  int lumiSection = (int)iEvent.luminosityBlock();
332  int nEventDigis = 0;
333  int nActiveModules = 0;
334 
335  std::map<uint32_t, SiPixelDigiModule*>::iterator struct_iter;
336  for (int i = 0; i != 192; i++)
337  numberOfDigis[i] = 0;
338  for (int i = 0; i != 1152; i++)
339  nDigisPerChan[i] = 0;
340  for (int i = 0; i != 4; i++)
341  nDigisPerDisk[i] = 0;
342 
343  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
344  int numberOfDigisMod = (*struct_iter)
345  .second->fill(*input,
346  iSetup,
351  modOn,
352  ladOn,
353  layOn,
354  phiOn,
355  bladeOn,
356  diskOn,
357  ringOn,
358  twoDimOn,
359  reducedSet,
360  twoDimModOn,
362  nDigisA,
363  nDigisB,
364  isUpgrade);
365 
366  bool barrel = DetId((*struct_iter).first).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
367  bool endcap = DetId((*struct_iter).first).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
368 
369  if (numberOfDigisMod > 0) {
370  nEventDigis = nEventDigis + numberOfDigisMod;
371  nActiveModules++;
372  int nBPiXmodules;
373  int nTOTmodules;
374  if (isUpgrade) {
375  nBPiXmodules = 1184;
376  nTOTmodules = 1856;
377  } else {
378  nBPiXmodules = 768;
379  nTOTmodules = 1440;
380  }
381  if (barrel) { // Barrel
382  int layer = PixelBarrelName(DetId((*struct_iter).first), pTT, isUpgrade).layerName();
383  PixelBarrelName::Shell shell = PixelBarrelName(DetId((*struct_iter).first), pTT, isUpgrade).shell();
384 
385  //Count Zero Occ Rocs in Barrel in the first event after each 10 Ls
387  if (DoZeroRocsBMO1 && layer == 1)
388  CountZeroROCsInSubstructure(barrel, DoZeroRocsBMO1, (*struct_iter).second);
389  if (DoZeroRocsBMO2 && layer == 2)
390  CountZeroROCsInSubstructure(barrel, DoZeroRocsBMO2, (*struct_iter).second);
391  if (DoZeroRocsBMO3 && layer == 3)
392  CountZeroROCsInSubstructure(barrel, DoZeroRocsBMO3, (*struct_iter).second);
394  if (DoZeroRocsBMI1 && layer == 1)
395  CountZeroROCsInSubstructure(barrel, DoZeroRocsBMI1, (*struct_iter).second);
396  if (DoZeroRocsBMI2 && layer == 2)
397  CountZeroROCsInSubstructure(barrel, DoZeroRocsBMI2, (*struct_iter).second);
398  if (DoZeroRocsBMI3 && layer == 3)
399  CountZeroROCsInSubstructure(barrel, DoZeroRocsBMI3, (*struct_iter).second);
401  if (DoZeroRocsBPO1 && layer == 1)
402  CountZeroROCsInSubstructure(barrel, DoZeroRocsBPO1, (*struct_iter).second);
403  if (DoZeroRocsBPO2 && layer == 2)
404  CountZeroROCsInSubstructure(barrel, DoZeroRocsBPO2, (*struct_iter).second);
405  if (DoZeroRocsBPO3 && layer == 3)
406  CountZeroROCsInSubstructure(barrel, DoZeroRocsBPO3, (*struct_iter).second);
408  if (DoZeroRocsBPI1 && layer == 1)
409  CountZeroROCsInSubstructure(barrel, DoZeroRocsBPI1, (*struct_iter).second);
410  if (DoZeroRocsBPI2 && layer == 2)
411  CountZeroROCsInSubstructure(barrel, DoZeroRocsBPI2, (*struct_iter).second);
412  if (DoZeroRocsBPI3 && layer == 3)
413  CountZeroROCsInSubstructure(barrel, DoZeroRocsBPI3, (*struct_iter).second);
414  }
415 
416  nBPIXDigis = nBPIXDigis + numberOfDigisMod;
417  for (int i = 0; i != nBPiXmodules; ++i) {
418  if ((*struct_iter).first == I_detId[i]) {
419  nDigisPerFed[I_fedId[i]] = nDigisPerFed[I_fedId[i]] + numberOfDigisMod;
420  int index1 = 0;
421  int index2 = 0;
422  if (I_linkId1[i] > 0)
423  index1 = I_fedId[i] * 36 + (I_linkId1[i] - 1);
424  if (I_linkId2[i] > 0)
425  index2 = I_fedId[i] * 36 + (I_linkId2[i] - 1);
426  if (nDigisA > 0 && I_linkId1[i] > 0)
427  nDigisPerChan[index1] = nDigisPerChan[index1] + nDigisA;
428  if (nDigisB > 0 && I_linkId2[i] > 0)
429  nDigisPerChan[index2] = nDigisPerChan[index2] + nDigisB;
430  i = (nBPiXmodules - 1);
431  }
432  }
433  } else if (endcap && !isUpgrade) { // Endcap
434  nFPIXDigis = nFPIXDigis + numberOfDigisMod;
436  PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).halfCylinder();
437  int disk = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).diskName();
438  int blade = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).bladeName();
439  int panel = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).pannelName();
440  int module = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).plaquetteName();
441  int iter = 0;
442  int i = 0;
443 
444  //count Zero Occupancy ROCs in Endcap in the first event after each 10 Ls
446  if (DoZeroRocsFMO1 && disk == 1)
447  CountZeroROCsInSubstructure(barrel, DoZeroRocsFMO1, (*struct_iter).second);
448  if (DoZeroRocsFMO2 && disk == 2)
449  CountZeroROCsInSubstructure(barrel, DoZeroRocsFMO2, (*struct_iter).second);
450  } else if (ROCMapToReset && side == PixelEndcapName::mI && twoDimOnlyLayDisk) {
451  if (DoZeroRocsFMI1 && disk == 1)
452  CountZeroROCsInSubstructure(barrel, DoZeroRocsFMI1, (*struct_iter).second);
453  if (DoZeroRocsFMI2 && disk == 2)
454  CountZeroROCsInSubstructure(barrel, DoZeroRocsFMI2, (*struct_iter).second);
455  } else if (ROCMapToReset && side == PixelEndcapName::pO && twoDimOnlyLayDisk) {
456  if (DoZeroRocsFPO1 && disk == 1)
457  CountZeroROCsInSubstructure(barrel, DoZeroRocsFPO1, (*struct_iter).second);
458  if (DoZeroRocsFPO2 && disk == 2)
459  CountZeroROCsInSubstructure(barrel, DoZeroRocsFPO2, (*struct_iter).second);
460  } else if (ROCMapToReset && side == PixelEndcapName::pI && twoDimOnlyLayDisk) {
461  if (DoZeroRocsFPI1 && disk == 1)
462  CountZeroROCsInSubstructure(barrel, DoZeroRocsFPI1, (*struct_iter).second);
463  if (DoZeroRocsFPI2 && disk == 2)
464  CountZeroROCsInSubstructure(barrel, DoZeroRocsFPI2, (*struct_iter).second);
465  }
466 
467  if (side == PixelEndcapName::mI) {
468  if (disk == 1) {
469  i = 0;
470  if (panel == 1) {
471  if (module == 1)
472  nDM1P1M1 += numberOfDigisMod;
473  else if (module == 2)
474  nDM1P1M2 += numberOfDigisMod;
475  else if (module == 3)
476  nDM1P1M3 += numberOfDigisMod;
477  else if (module == 4)
478  nDM1P1M4 += numberOfDigisMod;
479  } else if (panel == 2) {
480  if (module == 1)
481  nDM1P2M1 += numberOfDigisMod;
482  else if (module == 2)
483  nDM1P2M2 += numberOfDigisMod;
484  else if (module == 3)
485  nDM1P2M3 += numberOfDigisMod;
486  }
487  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
488  iter = i + 2 * (blade - 1) + (panel - 1);
489  } else if (disk == 2) {
490  i = 24;
491  if (panel == 1) {
492  if (module == 1)
493  nDM2P1M1 += numberOfDigisMod;
494  else if (module == 2)
495  nDM2P1M2 += numberOfDigisMod;
496  else if (module == 3)
497  nDM2P1M3 += numberOfDigisMod;
498  else if (module == 4)
499  nDM2P1M4 += numberOfDigisMod;
500  } else if (panel == 2) {
501  if (module == 1)
502  nDM2P2M1 += numberOfDigisMod;
503  else if (module == 2)
504  nDM2P2M2 += numberOfDigisMod;
505  else if (module == 3)
506  nDM2P2M3 += numberOfDigisMod;
507  }
508  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
509  iter = i + 2 * (blade - 1) + (panel - 1);
510  }
511  } else if (side == PixelEndcapName::mO) {
512  if (disk == 1) {
513  i = 48;
514  if (panel == 1) {
515  if (module == 1)
516  nDM1P1M1 += numberOfDigisMod;
517  else if (module == 2)
518  nDM1P1M2 += numberOfDigisMod;
519  else if (module == 3)
520  nDM1P1M3 += numberOfDigisMod;
521  else if (module == 4)
522  nDM1P1M4 += numberOfDigisMod;
523  } else if (panel == 2) {
524  if (module == 1)
525  nDM1P2M1 += numberOfDigisMod;
526  else if (module == 2)
527  nDM1P2M2 += numberOfDigisMod;
528  else if (module == 3)
529  nDM1P2M3 += numberOfDigisMod;
530  }
531  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
532  iter = i + 2 * (blade - 1) + (panel - 1);
533  } else if (disk == 2) {
534  i = 72;
535  if (panel == 1) {
536  if (module == 1)
537  nDM2P1M1 += numberOfDigisMod;
538  else if (module == 2)
539  nDM2P1M2 += numberOfDigisMod;
540  else if (module == 3)
541  nDM2P1M3 += numberOfDigisMod;
542  else if (module == 4)
543  nDM2P1M4 += numberOfDigisMod;
544  } else if (panel == 2) {
545  if (module == 1)
546  nDM2P2M1 += numberOfDigisMod;
547  else if (module == 2)
548  nDM2P2M2 += numberOfDigisMod;
549  else if (module == 3)
550  nDM2P2M3 += numberOfDigisMod;
551  }
552  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
553  iter = i + 2 * (blade - 1) + (panel - 1);
554  }
555  } else if (side == PixelEndcapName::pI) {
556  if (disk == 1) {
557  i = 96;
558  if (panel == 1) {
559  if (module == 1)
560  nDP1P1M1 += numberOfDigisMod;
561  else if (module == 2)
562  nDP1P1M2 += numberOfDigisMod;
563  else if (module == 3)
564  nDP1P1M3 += numberOfDigisMod;
565  else if (module == 4)
566  nDP1P1M4 += numberOfDigisMod;
567  } else if (panel == 2) {
568  if (module == 1)
569  nDP1P2M1 += numberOfDigisMod;
570  else if (module == 2)
571  nDP1P2M2 += numberOfDigisMod;
572  else if (module == 3)
573  nDP1P2M3 += numberOfDigisMod;
574  }
575  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
576  iter = i + 2 * (blade - 1) + (panel - 1);
577  } else if (disk == 2) {
578  i = 120;
579  if (panel == 1) {
580  if (module == 1)
581  nDP2P1M1 += numberOfDigisMod;
582  else if (module == 2)
583  nDP2P1M2 += numberOfDigisMod;
584  else if (module == 3)
585  nDP2P1M3 += numberOfDigisMod;
586  else if (module == 4)
587  nDP2P1M4 += numberOfDigisMod;
588  } else if (panel == 2) {
589  if (module == 1)
590  nDP2P2M1 += numberOfDigisMod;
591  else if (module == 2)
592  nDP2P2M2 += numberOfDigisMod;
593  else if (module == 3)
594  nDP2P2M3 += numberOfDigisMod;
595  }
596  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
597  iter = i + 2 * (blade - 1) + (panel - 1);
598  }
599  } else if (side == PixelEndcapName::pO) {
600  if (disk == 1) {
601  i = 144;
602  if (panel == 1) {
603  if (module == 1)
604  nDP1P1M1 += numberOfDigisMod;
605  else if (module == 2)
606  nDP1P1M2 += numberOfDigisMod;
607  else if (module == 3)
608  nDP1P1M3 += numberOfDigisMod;
609  else if (module == 4)
610  nDP1P1M4 += numberOfDigisMod;
611  } else if (panel == 2) {
612  if (module == 1)
613  nDP1P2M1 += numberOfDigisMod;
614  else if (module == 2)
615  nDP1P2M2 += numberOfDigisMod;
616  else if (module == 3)
617  nDP1P2M3 += numberOfDigisMod;
618  }
619  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
620  iter = i + 2 * (blade - 1) + (panel - 1);
621  } else if (disk == 2) {
622  i = 168;
623  if (panel == 1) {
624  if (module == 1)
625  nDP2P1M1 += numberOfDigisMod;
626  else if (module == 2)
627  nDP2P1M2 += numberOfDigisMod;
628  else if (module == 3)
629  nDP2P1M3 += numberOfDigisMod;
630  else if (module == 4)
631  nDP2P1M4 += numberOfDigisMod;
632  } else if (panel == 2) {
633  if (module == 1)
634  nDP2P2M1 += numberOfDigisMod;
635  else if (module == 2)
636  nDP2P2M2 += numberOfDigisMod;
637  else if (module == 3)
638  nDP2P2M3 += numberOfDigisMod;
639  }
640  if (blade < 13 && blade > 0 && (panel == 1 || panel == 2))
641  iter = i + 2 * (blade - 1) + (panel - 1);
642  }
643  }
644  numberOfDigis[iter] = numberOfDigis[iter] + numberOfDigisMod;
645 
646  for (int i = nBPiXmodules; i != nTOTmodules; i++) {
647  if ((*struct_iter).first == I_detId[i]) {
648  nDigisPerFed[I_fedId[i]] = nDigisPerFed[I_fedId[i]] + numberOfDigisMod;
649  i = nTOTmodules - 1;
650  }
651  }
652  } //endif Barrel/(Endcap && !isUpgrade)
653  else if (endcap && isUpgrade) {
654  nFPIXDigis = nFPIXDigis + numberOfDigisMod;
656  PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).halfCylinder();
657  int disk = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).diskName();
658  int blade = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).bladeName();
659  int panel = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).pannelName();
660  int module = PixelEndcapName(DetId((*struct_iter).first), pTT, isUpgrade).plaquetteName();
661 
662  int iter = 0;
663  int i = 0;
664  if (side == PixelEndcapName::mI) {
665  if (disk == 1) {
666  i = 0;
667  if (panel == 1) {
668  if (module == 1)
669  nDM1P1M1 += numberOfDigisMod;
670  } else if (panel == 2) {
671  if (module == 1)
672  nDM1P2M1 += numberOfDigisMod;
673  }
674  if (blade < 12 && blade > 0 && (panel == 1 || panel == 2))
675  iter = i + 2 * (blade - 1) + (panel - 1);
676  } else if (disk == 2) {
677  i = 22;
678  if (panel == 1) {
679  if (module == 1)
680  nDM2P1M1 += numberOfDigisMod;
681  } else if (panel == 2) {
682  if (module == 1)
683  nDM2P2M1 += numberOfDigisMod;
684  }
685  if (blade < 12 && blade > 0 && (panel == 1 || panel == 2))
686  iter = i + 2 * (blade - 1) + (panel - 1);
687  } else if (disk == 3) {
688  i = 44;
689  if (panel == 1) {
690  if (module == 1)
691  nDM3P1M1 += numberOfDigisMod;
692  } else if (panel == 2) {
693  if (module == 1)
694  nDM3P2M1 += numberOfDigisMod;
695  }
696  if (blade < 12 && blade > 0 && (panel == 1 || panel == 2))
697  iter = i + 2 * (blade - 1) + (panel - 1);
698  }
699  } else if (side == PixelEndcapName::mO) {
700  if (disk == 1) {
701  i = 66;
702  if (panel == 1) {
703  if (module == 1)
704  nDM1P1M1 += numberOfDigisMod;
705  } else if (panel == 2) {
706  if (module == 1)
707  nDM1P2M1 += numberOfDigisMod;
708  }
709  if (blade < 18 && blade > 0 && (panel == 1 || panel == 2))
710  iter = i + 2 * (blade - 1) + (panel - 1);
711  } else if (disk == 2) {
712  i = 100;
713  if (panel == 1) {
714  if (module == 1)
715  nDM2P1M1 += numberOfDigisMod;
716  } else if (panel == 2) {
717  if (module == 1)
718  nDM2P2M1 += numberOfDigisMod;
719  }
720  if (blade < 18 && blade > 0 && (panel == 1 || panel == 2))
721  iter = i + 2 * (blade - 1) + (panel - 1);
722  } else if (disk == 3) {
723  i = 134;
724  if (panel == 1) {
725  if (module == 1)
726  nDM3P1M1 += numberOfDigisMod;
727  } else if (panel == 2) {
728  if (module == 1)
729  nDM3P2M1 += numberOfDigisMod;
730  }
731  if (blade < 18 && blade > 0 && (panel == 1 || panel == 2))
732  iter = i + 2 * (blade - 1) + (panel - 1);
733  }
734  } else if (side == PixelEndcapName::pI) {
735  if (disk == 1) {
736  i = 168;
737  if (panel == 1) {
738  if (module == 1)
739  nDP1P1M1 += numberOfDigisMod;
740  } else if (panel == 2) {
741  if (module == 1)
742  nDP1P2M1 += numberOfDigisMod;
743  }
744  if (blade < 12 && blade > 0 && (panel == 1 || panel == 2))
745  iter = i + 2 * (blade - 1) + (panel - 1);
746  } else if (disk == 2) {
747  i = 190;
748  if (panel == 1) {
749  if (module == 1)
750  nDP2P1M1 += numberOfDigisMod;
751  } else if (panel == 2) {
752  if (module == 1)
753  nDP2P2M1 += numberOfDigisMod;
754  }
755  if (blade < 12 && blade > 0 && (panel == 1 || panel == 2))
756  iter = i + 2 * (blade - 1) + (panel - 1);
757  } else if (disk == 3) {
758  i = 212;
759  if (panel == 1) {
760  if (module == 1)
761  nDP3P1M1 += numberOfDigisMod;
762  } else if (panel == 2) {
763  if (module == 1)
764  nDP3P2M1 += numberOfDigisMod;
765  }
766  if (blade < 12 && blade > 0 && (panel == 1 || panel == 2))
767  iter = i + 2 * (blade - 1) + (panel - 1);
768  }
769  } else if (side == PixelEndcapName::pO) {
770  if (disk == 1) {
771  i = 234;
772  if (panel == 1) {
773  if (module == 1)
774  nDP1P1M1 += numberOfDigisMod;
775  } else if (panel == 2) {
776  if (module == 1)
777  nDP1P2M1 += numberOfDigisMod;
778  }
779  if (blade < 18 && blade > 0 && (panel == 1 || panel == 2))
780  iter = i + 2 * (blade - 1) + (panel - 1);
781  } else if (disk == 2) {
782  i = 268;
783  if (panel == 1) {
784  if (module == 1)
785  nDP2P1M1 += numberOfDigisMod;
786  } else if (panel == 2) {
787  if (module == 1)
788  nDP2P2M1 += numberOfDigisMod;
789  }
790  if (blade < 18 && blade > 0 && (panel == 1 || panel == 2))
791  iter = i + 2 * (blade - 1) + (panel - 1);
792  } else if (disk == 3) {
793  i = 302;
794  if (panel == 1) {
795  if (module == 1)
796  nDP3P1M1 += numberOfDigisMod;
797  } else if (panel == 2) {
798  if (module == 1)
799  nDP3P2M1 += numberOfDigisMod;
800  }
801  if (blade < 18 && blade > 0 && (panel == 1 || panel == 2))
802  iter = i + 2 * (blade - 1) + (panel - 1);
803  }
804  }
805  numberOfDigis[iter] = numberOfDigis[iter] + numberOfDigisMod;
806  for (int i = nBPiXmodules; i != nTOTmodules; i++) {
807  if ((*struct_iter).first == I_detId[i]) {
808  nDigisPerFed[I_fedId[i]] = nDigisPerFed[I_fedId[i]] + numberOfDigisMod;
809  i = nTOTmodules - 1;
810  }
811  }
812  } //endif(Endcap && isUpgrade)
813  } // endif any digis in this module
814  } // endfor loop over all modules
815 
816  if (lumiSection % 10 == 0 && ROCMapToReset) {
817  for (int i = 0; i < 2; ++i)
819  if (noOccROCsBarrel)
820  noOccROCsBarrel->setBinContent(lumiSection / 10, NzeroROCs[0]);
821  if (loOccROCsBarrel)
822  loOccROCsBarrel->setBinContent(lumiSection / 10, NloEffROCs[0]);
823  if (noOccROCsEndcap)
824  noOccROCsEndcap->setBinContent(lumiSection / 10, NzeroROCs[1]);
825  if (loOccROCsEndcap)
826  loOccROCsEndcap->setBinContent(lumiSection / 10, NloEffROCs[1]);
827  ROCMapToReset =
828  false; // in this way the ROC maps are reset for one event only (the first event in LS multiple of 10
829  }
830 
831  if (noOfDisks == 2) { // if (!isUpgrade)
832  if (meNDigisCHANEndcap_) {
833  for (int j = 0; j != 192; j++)
834  if (numberOfDigis[j] > 0)
836  }
837  if (meNDigisCHANEndcapDms_.at(0)) {
838  for (int j = 0; j != 72; j++)
839  if ((j < 24 || j > 47) && numberOfDigis[j] > 0)
840  meNDigisCHANEndcapDms_.at(0)->Fill((float)numberOfDigis[j]);
841  }
842  if (meNDigisCHANEndcapDms_.at(1)) {
843  for (int j = 24; j != 96; j++)
844  if ((j < 48 || j > 71) && numberOfDigis[j] > 0)
845  meNDigisCHANEndcapDms_.at(1)->Fill((float)numberOfDigis[j]);
846  }
847  if (meNDigisCHANEndcapDps_.at(0)) {
848  for (int j = 96; j != 168; j++)
849  if ((j < 120 || j > 143) && numberOfDigis[j] > 0)
850  meNDigisCHANEndcapDps_.at(0)->Fill((float)numberOfDigis[j]);
851  }
852  if (meNDigisCHANEndcapDps_.at(1)) {
853  for (int j = 120; j != 192; j++)
854  if ((j < 144 || j > 167) && numberOfDigis[j] > 0)
855  meNDigisCHANEndcapDps_.at(1)->Fill((float)numberOfDigis[j]);
856  }
857  } else if (noOfDisks == 3) { // else if (isUpgrade)
858  if (meNDigisCHANEndcap_) {
859  for (int j = 0; j != 336; j++)
860  if (numberOfDigis[j] > 0)
862  }
863  if (meNDigisCHANEndcapDms_.at(0)) {
864  for (int j = 0; j != 100; j++)
865  if ((j < 22 || j > 65) && numberOfDigis[j] > 0)
866  meNDigisCHANEndcapDms_.at(0)->Fill((float)numberOfDigis[j]);
867  }
868  if (meNDigisCHANEndcapDms_.at(1)) {
869  for (int j = 22; j != 134; j++)
870  if ((j < 44 || j > 99) && numberOfDigis[j] > 0)
871  meNDigisCHANEndcapDms_.at(1)->Fill((float)numberOfDigis[j]);
872  }
873  if (meNDigisCHANEndcapDms_.at(2)) {
874  for (int j = 44; j != 168; j++)
875  if ((j < 66 || j > 133) && numberOfDigis[j] > 0)
876  meNDigisCHANEndcapDms_.at(2)->Fill((float)numberOfDigis[j]);
877  }
878  if (meNDigisCHANEndcapDps_.at(0)) {
879  for (int j = 168; j != 268; j++)
880  if ((j < 190 || j > 233) && numberOfDigis[j] > 0)
881  meNDigisCHANEndcapDps_.at(0)->Fill((float)numberOfDigis[j]);
882  }
883  if (meNDigisCHANEndcapDps_.at(1)) {
884  for (int j = 190; j != 302; j++)
885  if ((j < 212 || j > 267) && numberOfDigis[j] > 0)
886  meNDigisCHANEndcapDps_.at(1)->Fill((float)numberOfDigis[j]);
887  }
888  if (meNDigisCHANEndcapDps_.at(2)) {
889  for (int j = 212; j != 336; j++)
890  if ((j < 234 || j > 301) && numberOfDigis[j] > 0)
891  meNDigisCHANEndcapDps_.at(2)->Fill((float)numberOfDigis[j]);
892  }
893  }
894 
896  for (int i = 0; i != 32; i++)
897  if (nDigisPerChan[i * 36 + 0] > 0)
898  meNDigisCHANBarrelCh1_->Fill((float)nDigisPerChan[i * 36 + 0]);
899  }
901  for (int i = 0; i != 32; i++)
902  if (nDigisPerChan[i * 36 + 1] > 0)
903  meNDigisCHANBarrelCh2_->Fill((float)nDigisPerChan[i * 36 + 1]);
904  }
906  for (int i = 0; i != 32; i++)
907  if (nDigisPerChan[i * 36 + 2] > 0)
908  meNDigisCHANBarrelCh3_->Fill((float)nDigisPerChan[i * 36 + 2]);
909  }
911  for (int i = 0; i != 32; i++)
912  if (nDigisPerChan[i * 36 + 3] > 0)
913  meNDigisCHANBarrelCh4_->Fill((float)nDigisPerChan[i * 36 + 3]);
914  }
916  for (int i = 0; i != 32; i++)
917  if (nDigisPerChan[i * 36 + 4] > 0)
918  meNDigisCHANBarrelCh5_->Fill((float)nDigisPerChan[i * 36 + 4]);
919  }
921  for (int i = 0; i != 32; i++)
922  if (nDigisPerChan[i * 36 + 5] > 0)
923  meNDigisCHANBarrelCh6_->Fill((float)nDigisPerChan[i * 36 + 5]);
924  }
926  for (int i = 0; i != 32; i++)
927  if (nDigisPerChan[i * 36 + 6] > 0)
928  meNDigisCHANBarrelCh7_->Fill((float)nDigisPerChan[i * 36 + 6]);
929  }
931  for (int i = 0; i != 32; i++)
932  if (nDigisPerChan[i * 36 + 7] > 0)
933  meNDigisCHANBarrelCh8_->Fill((float)nDigisPerChan[i * 36 + 7]);
934  }
936  for (int i = 0; i != 32; i++)
937  if (nDigisPerChan[i * 36 + 8] > 0)
938  meNDigisCHANBarrelCh9_->Fill((float)nDigisPerChan[i * 36 + 8]);
939  }
941  for (int i = 0; i != 32; i++)
942  if (nDigisPerChan[i * 36 + 9] > 0)
943  meNDigisCHANBarrelCh10_->Fill((float)nDigisPerChan[i * 36 + 9]);
944  }
946  for (int i = 0; i != 32; i++)
947  if (nDigisPerChan[i * 36 + 10] > 0)
948  meNDigisCHANBarrelCh11_->Fill((float)nDigisPerChan[i * 36 + 10]);
949  }
951  for (int i = 0; i != 32; i++)
952  if (nDigisPerChan[i * 36 + 11] > 0)
953  meNDigisCHANBarrelCh12_->Fill((float)nDigisPerChan[i * 36 + 11]);
954  }
956  for (int i = 0; i != 32; i++)
957  if (nDigisPerChan[i * 36 + 12] > 0)
958  meNDigisCHANBarrelCh13_->Fill((float)nDigisPerChan[i * 36 + 12]);
959  }
961  for (int i = 0; i != 32; i++)
962  if (nDigisPerChan[i * 36 + 13] > 0)
963  meNDigisCHANBarrelCh14_->Fill((float)nDigisPerChan[i * 36 + 13]);
964  }
966  for (int i = 0; i != 32; i++)
967  if (nDigisPerChan[i * 36 + 14] > 0)
968  meNDigisCHANBarrelCh15_->Fill((float)nDigisPerChan[i * 36 + 14]);
969  }
971  for (int i = 0; i != 32; i++)
972  if (nDigisPerChan[i * 36 + 15] > 0)
973  meNDigisCHANBarrelCh16_->Fill((float)nDigisPerChan[i * 36 + 15]);
974  }
976  for (int i = 0; i != 32; i++)
977  if (nDigisPerChan[i * 36 + 16] > 0)
978  meNDigisCHANBarrelCh17_->Fill((float)nDigisPerChan[i * 36 + 16]);
979  }
981  for (int i = 0; i != 32; i++)
982  if (nDigisPerChan[i * 36 + 17] > 0)
983  meNDigisCHANBarrelCh18_->Fill((float)nDigisPerChan[i * 36 + 17]);
984  }
986  for (int i = 0; i != 32; i++)
987  if (nDigisPerChan[i * 36 + 18] > 0)
988  meNDigisCHANBarrelCh19_->Fill((float)nDigisPerChan[i * 36 + 18]);
989  }
991  for (int i = 0; i != 32; i++)
992  if (nDigisPerChan[i * 36 + 19] > 0)
993  meNDigisCHANBarrelCh20_->Fill((float)nDigisPerChan[i * 36 + 19]);
994  }
996  for (int i = 0; i != 32; i++)
997  if (nDigisPerChan[i * 36 + 20] > 0)
998  meNDigisCHANBarrelCh21_->Fill((float)nDigisPerChan[i * 36 + 20]);
999  }
1001  for (int i = 0; i != 32; i++)
1002  if (nDigisPerChan[i * 36 + 21] > 0)
1003  meNDigisCHANBarrelCh22_->Fill((float)nDigisPerChan[i * 36 + 21]);
1004  }
1006  for (int i = 0; i != 32; i++)
1007  if (nDigisPerChan[i * 36 + 22] > 0)
1008  meNDigisCHANBarrelCh23_->Fill((float)nDigisPerChan[i * 36 + 22]);
1009  }
1011  for (int i = 0; i != 32; i++)
1012  if (nDigisPerChan[i * 36 + 23] > 0)
1013  meNDigisCHANBarrelCh24_->Fill((float)nDigisPerChan[i * 36 + 23]);
1014  }
1016  for (int i = 0; i != 32; i++)
1017  if (nDigisPerChan[i * 36 + 24] > 0)
1018  meNDigisCHANBarrelCh25_->Fill((float)nDigisPerChan[i * 36 + 24]);
1019  }
1021  for (int i = 0; i != 32; i++)
1022  if (nDigisPerChan[i * 36 + 25] > 0)
1023  meNDigisCHANBarrelCh26_->Fill((float)nDigisPerChan[i * 36 + 25]);
1024  }
1026  for (int i = 0; i != 32; i++)
1027  if (nDigisPerChan[i * 36 + 26] > 0)
1028  meNDigisCHANBarrelCh27_->Fill((float)nDigisPerChan[i * 36 + 26]);
1029  }
1031  for (int i = 0; i != 32; i++)
1032  if (nDigisPerChan[i * 36 + 27] > 0)
1033  meNDigisCHANBarrelCh28_->Fill((float)nDigisPerChan[i * 36 + 27]);
1034  }
1036  for (int i = 0; i != 32; i++)
1037  if (nDigisPerChan[i * 36 + 28] > 0)
1038  meNDigisCHANBarrelCh29_->Fill((float)nDigisPerChan[i * 36 + 28]);
1039  }
1041  for (int i = 0; i != 32; i++)
1042  if (nDigisPerChan[i * 36 + 29] > 0)
1043  meNDigisCHANBarrelCh30_->Fill((float)nDigisPerChan[i * 36 + 29]);
1044  }
1046  for (int i = 0; i != 32; i++)
1047  if (nDigisPerChan[i * 36 + 30] > 0)
1048  meNDigisCHANBarrelCh31_->Fill((float)nDigisPerChan[i * 36 + 30]);
1049  }
1051  for (int i = 0; i != 32; i++)
1052  if (nDigisPerChan[i * 36 + 31] > 0)
1053  meNDigisCHANBarrelCh32_->Fill((float)nDigisPerChan[i * 36 + 31]);
1054  }
1056  for (int i = 0; i != 32; i++)
1057  if (nDigisPerChan[i * 36 + 32] > 0)
1058  meNDigisCHANBarrelCh33_->Fill((float)nDigisPerChan[i * 36 + 32]);
1059  }
1061  for (int i = 0; i != 32; i++)
1062  if (nDigisPerChan[i * 36 + 33] > 0)
1063  meNDigisCHANBarrelCh34_->Fill((float)nDigisPerChan[i * 36 + 33]);
1064  }
1066  for (int i = 0; i != 32; i++)
1067  if (nDigisPerChan[i * 36 + 34] > 0)
1068  meNDigisCHANBarrelCh35_->Fill((float)nDigisPerChan[i * 36 + 34]);
1069  }
1071  for (int i = 0; i != 32; i++)
1072  if (nDigisPerChan[i * 36 + 35] > 0)
1073  meNDigisCHANBarrelCh36_->Fill((float)nDigisPerChan[i * 36 + 35]);
1074  }
1075 
1076  // Rate of events with >N digis:
1077  if (nEventDigis > bigEventSize) {
1078  if (bigEventRate)
1079  bigEventRate->Fill(lumiSection, 1. / 23.);
1080  }
1081 
1082  // Rate of pixel events and total number of pixel events per BX:
1083  if (nActiveModules >= 4) {
1084  if (pixEvtsPerBX)
1085  pixEvtsPerBX->Fill(float(bx));
1086  if (pixEventRate)
1087  pixEventRate->Fill(lumiSection, 1. / 23.);
1088  }
1089 
1090  if (slowDown)
1091  usleep(10000);
1092 }

References Reference_intrackfit_cff::barrel, bigEventRate, bigEventSize, PixelEndcapName::bladeName(), bladeOn, l1GtPatternGenerator_cfi::bx, CountZeroROCsInSubstructure(), PixelEndcapName::diskName(), diskOn, DoZeroRocsBMI1, DoZeroRocsBMI2, DoZeroRocsBMI3, DoZeroRocsBMO1, DoZeroRocsBMO2, DoZeroRocsBMO3, DoZeroRocsBPI1, DoZeroRocsBPI2, DoZeroRocsBPI3, DoZeroRocsBPO1, DoZeroRocsBPO2, DoZeroRocsBPO3, DoZeroRocsFMI1, DoZeroRocsFMI2, DoZeroRocsFMO1, DoZeroRocsFMO2, DoZeroRocsFPI1, DoZeroRocsFPI2, DoZeroRocsFPO1, DoZeroRocsFPO2, makeMuonMisalignmentScenario::endcap, dqm::impl::MonitorElement::Fill(), edm::EventSetup::get(), get, PixelEndcapName::halfCylinder(), mps_fire::i, I_detId, I_fedId, I_linkId1, I_linkId2, iEvent, input, createfilelist::int, isUpgrade, dqmiolumiharvest::j, ladOn, PixelBarrelName::layerName(), layOn, loOccROCsBarrel, loOccROCsEndcap, meNDigisCHANBarrel_, meNDigisCHANBarrelCh10_, meNDigisCHANBarrelCh11_, meNDigisCHANBarrelCh12_, meNDigisCHANBarrelCh13_, meNDigisCHANBarrelCh14_, meNDigisCHANBarrelCh15_, meNDigisCHANBarrelCh16_, meNDigisCHANBarrelCh17_, meNDigisCHANBarrelCh18_, meNDigisCHANBarrelCh19_, meNDigisCHANBarrelCh1_, meNDigisCHANBarrelCh20_, meNDigisCHANBarrelCh21_, meNDigisCHANBarrelCh22_, meNDigisCHANBarrelCh23_, meNDigisCHANBarrelCh24_, meNDigisCHANBarrelCh25_, meNDigisCHANBarrelCh26_, meNDigisCHANBarrelCh27_, meNDigisCHANBarrelCh28_, meNDigisCHANBarrelCh29_, meNDigisCHANBarrelCh2_, meNDigisCHANBarrelCh30_, meNDigisCHANBarrelCh31_, meNDigisCHANBarrelCh32_, meNDigisCHANBarrelCh33_, meNDigisCHANBarrelCh34_, meNDigisCHANBarrelCh35_, meNDigisCHANBarrelCh36_, meNDigisCHANBarrelCh3_, meNDigisCHANBarrelCh4_, meNDigisCHANBarrelCh5_, meNDigisCHANBarrelCh6_, meNDigisCHANBarrelCh7_, meNDigisCHANBarrelCh8_, meNDigisCHANBarrelCh9_, meNDigisCHANBarrelLs_, meNDigisCHANEndcap_, meNDigisCHANEndcapDms_, meNDigisCHANEndcapDps_, meNDigisCOMBBarrel_, meNDigisCOMBEndcap_, PixelEndcapName::mI, PixelBarrelName::mI, PixelBarrelName::mO, PixelEndcapName::mO, modOn, nBPIXDigis, nDigisA, nDigisB, nDigisPerChan, nDigisPerDisk, nDigisPerFed, nDM1P1M1, nDM1P1M2, nDM1P1M3, nDM1P1M4, nDM1P2M1, nDM1P2M2, nDM1P2M3, nDM2P1M1, nDM2P1M2, nDM2P1M3, nDM2P1M4, nDM2P2M1, nDM2P2M2, nDM2P2M3, nDM3P1M1, nDM3P2M1, nDP1P1M1, nDP1P1M2, nDP1P1M3, nDP1P1M4, nDP1P2M1, nDP1P2M2, nDP1P2M3, nDP2P1M1, nDP2P1M2, nDP2P1M3, nDP2P1M4, nDP2P2M1, nDP2P2M2, nDP2P2M3, nDP3P1M1, nDP3P2M1, nFPIXDigis, NloEffROCs, noOccROCsBarrel, noOccROCsEndcap, noOfDisks, numberOfDigis, NzeroROCs, PixelEndcapName::pannelName(), phiOn, PixelEndcapName::pI, PixelBarrelName::pI, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pixEventRate, pixEvtsPerBX, PixelEndcapName::plaquetteName(), PixelBarrelName::pO, PixelEndcapName::pO, edm::ESHandle< T >::product(), reducedSet, ringOn, ROCMapToReset, dqm::impl::MonitorElement::setBinContent(), PixelBarrelName::shell(), slowDown, srcToken_, DetId::subdetId(), thePixelStructure, twoDimModOn, twoDimOn, and twoDimOnlyLayDisk.

◆ bookHistograms()

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

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

Definition at line 311 of file SiPixelDigiSource.cc.

311  {
312  bookMEs(iBooker, iSetup);
313 }

References bookMEs().

◆ bookMEs()

void SiPixelDigiSource::bookMEs ( DQMStore::IBooker iBooker,
const edm::EventSetup iSetup 
)
virtual

Create folder tree and book histograms

Definition at line 1205 of file SiPixelDigiSource.cc.

1205  {
1206  // Get DQM interface
1208  char title[80];
1209  sprintf(title, "Rate of events with >%i digis;LumiSection;Rate [Hz]", bigEventSize);
1210  bigEventRate = iBooker.book1D("bigEventRate", title, 5000, 0., 5000.);
1211  char title1[80];
1212  sprintf(title1, "Pixel events vs. BX;BX;# events");
1213  pixEvtsPerBX = iBooker.book1D("pixEvtsPerBX", title1, 3565, 0., 3565.);
1214  char title2[80];
1215  sprintf(title2, "Rate of Pixel events;LumiSection;Rate [Hz]");
1216  pixEventRate = iBooker.book1D("pixEventRate", title2, 5000, 0., 5000.);
1217  char title3[80];
1218  sprintf(title3, "Number of Zero-Occupancy Barrel ROCs;LumiSection;N_{ZERO-OCCUPANCY} Barrel ROCs");
1219  noOccROCsBarrel = iBooker.book1D("noOccROCsBarrel", title3, 500, 0., 5000.);
1220  char title4[80];
1221  sprintf(title4, "Number of Low-Efficiency Barrel ROCs;LumiSection;N_{LO EFF} Barrel ROCs");
1222  loOccROCsBarrel = iBooker.book1D("loOccROCsBarrel", title4, 500, 0., 5000.);
1223  char title5[80];
1224  sprintf(title5, "Number of Zero-Occupancy Endcap ROCs;LumiSection;N_{ZERO-OCCUPANCY} Endcap ROCs");
1225  noOccROCsEndcap = iBooker.book1D("noOccROCsEndcap", title5, 500, 0., 5000.);
1226  char title6[80];
1227  sprintf(title6, "Number of Low-Efficiency Endcap ROCs;LumiSection;N_{LO EFF} Endcap ROCs");
1228  loOccROCsEndcap = iBooker.book1D("loOccROCsEndcap", title6, 500, 0., 5000.);
1229  char title7[80];
1230  sprintf(title7, "Average digi occupancy per FED;FED;NDigis/<NDigis>");
1231  char title8[80];
1232  sprintf(title8, "FED Digi Occupancy (NDigis/<NDigis>) vs LumiSections;Lumi Section;FED");
1233  if (modOn) {
1234  {
1235  auto scope = DQMStore::IBooker::UseLumiScope(iBooker);
1236  averageDigiOccupancy = iBooker.bookProfile("averageDigiOccupancy", title7, 40, -0.5, 39.5, 0., 3.);
1237  }
1238  avgfedDigiOccvsLumi = iBooker.book2D("avgfedDigiOccvsLumi", title8, 640, 0., 3200., 40, -0.5, 39.5);
1239  avgBarrelFedOccvsLumi = iBooker.book1D(
1240  "avgBarrelFedOccvsLumi",
1241  "Average Barrel FED digi occupancy (<NDigis>) vs LumiSections;Lumi Section;Average digi occupancy per FED",
1242  320,
1243  0.,
1244  3200.);
1245  avgEndcapFedOccvsLumi = iBooker.book1D(
1246  "avgEndcapFedOccvsLumi",
1247  "Average Endcap FED digi occupancy (<NDigis>) vs LumiSections;Lumi Section;Average digi occupancy per FED",
1248  320,
1249  0.,
1250  3200.);
1251  }
1252  if (!modOn) {
1253  averageDigiOccupancy = iBooker.book1D(
1254  "averageDigiOccupancy", title7, 40, -0.5, 39.5); //Book as TH1 for offline to ensure thread-safe behaviour
1255  avgfedDigiOccvsLumi = iBooker.book2D("avgfedDigiOccvsLumi", title8, 3200, 0., 3200., 40, -0.5, 39.5);
1256  }
1257  std::map<uint32_t, SiPixelDigiModule*>::iterator struct_iter;
1258 
1259  SiPixelFolderOrganizer theSiPixelFolder(false);
1260 
1261  for (struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++) {
1263  if (modOn) {
1264  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 0, isUpgrade)) {
1265  (*struct_iter).second->book(conf_, iSetup, iBooker, 0, twoDimOn, hiRes, reducedSet, twoDimModOn, isUpgrade);
1266  } else {
1267  if (!isPIB)
1268  throw cms::Exception("LogicError") << "[SiPixelDigiSource::bookMEs] Creation of DQM folder failed";
1269  }
1270  }
1271  if (ladOn) {
1272  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 1, isUpgrade)) {
1273  (*struct_iter).second->book(conf_, iSetup, iBooker, 1, twoDimOn, hiRes, reducedSet, isUpgrade);
1274  } else {
1275  LogDebug("PixelDQM") << "PROBLEM WITH LADDER-FOLDER\n";
1276  }
1277  }
1278  if (layOn || twoDimOnlyLayDisk) {
1279  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 2, isUpgrade)) {
1280  (*struct_iter)
1281  .second->book(conf_, iSetup, iBooker, 2, twoDimOn, hiRes, reducedSet, twoDimOnlyLayDisk, isUpgrade);
1282  } else {
1283  LogDebug("PixelDQM") << "PROBLEM WITH LAYER-FOLDER\n";
1284  }
1285  }
1286 
1287  if (phiOn) {
1288  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 3, isUpgrade)) {
1289  (*struct_iter).second->book(conf_, iSetup, iBooker, 3, twoDimOn, hiRes, reducedSet, isUpgrade);
1290  } else {
1291  LogDebug("PixelDQM") << "PROBLEM WITH PHI-FOLDER\n";
1292  }
1293  }
1294  if (bladeOn) {
1295  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 4, isUpgrade)) {
1296  (*struct_iter).second->book(conf_, iSetup, iBooker, 4, twoDimOn, hiRes, reducedSet, isUpgrade);
1297  } else {
1298  LogDebug("PixelDQM") << "PROBLEM WITH BLADE-FOLDER\n";
1299  }
1300  }
1301  if (diskOn || twoDimOnlyLayDisk) {
1302  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 5, isUpgrade)) {
1303  (*struct_iter)
1304  .second->book(conf_, iSetup, iBooker, 5, twoDimOn, hiRes, reducedSet, twoDimOnlyLayDisk, isUpgrade);
1305  } else {
1306  LogDebug("PixelDQM") << "PROBLEM WITH DISK-FOLDER\n";
1307  }
1308  }
1309  if (ringOn) {
1310  if (theSiPixelFolder.setModuleFolder(iBooker, (*struct_iter).first, 6, isUpgrade)) {
1311  (*struct_iter).second->book(conf_, iSetup, iBooker, 6, twoDimOn, hiRes, reducedSet, isUpgrade);
1312  } else {
1313  LogDebug("PixelDQM") << "PROBLEM WITH RING-FOLDER\n";
1314  }
1315  }
1316  }
1317  iBooker.cd(topFolderName_ + "/Barrel");
1318  meNDigisCOMBBarrel_ = iBooker.book1D("ALLMODS_ndigisCOMB_Barrel", "Number of Digis", 200, 0., 400.);
1319  meNDigisCOMBBarrel_->setAxisTitle("Number of digis per module per event", 1);
1320  meNDigisCHANBarrel_ = iBooker.book1D("ALLMODS_ndigisCHAN_Barrel", "Number of Digis", 100, 0., 1000.);
1321  meNDigisCHANBarrel_->setAxisTitle("Number of digis per FED channel per event", 1);
1322  std::stringstream ss1, ss2;
1323  for (int i = 1; i <= noOfLayers; i++) {
1324  ss1.str(std::string());
1325  ss1 << "ALLMODS_ndigisCHAN_BarrelL" << i;
1326  ss2.str(std::string());
1327  ss2 << "Number of Digis L" << i;
1328  meNDigisCHANBarrelLs_.push_back(iBooker.book1D(ss1.str(), ss2.str(), 100, 0., 1000.));
1329  meNDigisCHANBarrelLs_.at(i - 1)->setAxisTitle("Number of digis per FED channel per event", 1);
1330  }
1331  meNDigisCHANBarrelCh1_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh1", "Number of Digis Ch1", 100, 0., 1000.);
1332  meNDigisCHANBarrelCh1_->setAxisTitle("Number of digis per FED channel per event", 1);
1333  meNDigisCHANBarrelCh2_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh2", "Number of Digis Ch2", 100, 0., 1000.);
1334  meNDigisCHANBarrelCh2_->setAxisTitle("Number of digis per FED channel per event", 1);
1335  meNDigisCHANBarrelCh3_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh3", "Number of Digis Ch3", 100, 0., 1000.);
1336  meNDigisCHANBarrelCh3_->setAxisTitle("Number of digis per FED channel per event", 1);
1337  meNDigisCHANBarrelCh4_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh4", "Number of Digis Ch4", 100, 0., 1000.);
1338  meNDigisCHANBarrelCh4_->setAxisTitle("Number of digis per FED channel per event", 1);
1339  meNDigisCHANBarrelCh5_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh5", "Number of Digis Ch5", 100, 0., 1000.);
1340  meNDigisCHANBarrelCh5_->setAxisTitle("Number of digis per FED channel per event", 1);
1341  meNDigisCHANBarrelCh6_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh6", "Number of Digis Ch6", 100, 0., 1000.);
1342  meNDigisCHANBarrelCh6_->setAxisTitle("Number of digis per FED channel per event", 1);
1343  meNDigisCHANBarrelCh7_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh7", "Number of Digis Ch7", 100, 0., 1000.);
1344  meNDigisCHANBarrelCh7_->setAxisTitle("Number of digis per FED channel per event", 1);
1345  meNDigisCHANBarrelCh8_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh8", "Number of Digis Ch8", 100, 0., 1000.);
1346  meNDigisCHANBarrelCh8_->setAxisTitle("Number of digis per FED channel per event", 1);
1347  meNDigisCHANBarrelCh9_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh9", "Number of Digis Ch9", 100, 0., 1000.);
1348  meNDigisCHANBarrelCh9_->setAxisTitle("Number of digis per FED channel per event", 1);
1349  meNDigisCHANBarrelCh10_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh10", "Number of Digis Ch10", 100, 0., 1000.);
1350  meNDigisCHANBarrelCh10_->setAxisTitle("Number of digis per FED channel per event", 1);
1351  meNDigisCHANBarrelCh11_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh11", "Number of Digis Ch11", 100, 0., 1000.);
1352  meNDigisCHANBarrelCh11_->setAxisTitle("Number of digis per FED channel per event", 1);
1353  meNDigisCHANBarrelCh12_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh12", "Number of Digis Ch12", 100, 0., 1000.);
1354  meNDigisCHANBarrelCh12_->setAxisTitle("Number of digis per FED channel per event", 1);
1355  meNDigisCHANBarrelCh13_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh13", "Number of Digis Ch13", 100, 0., 1000.);
1356  meNDigisCHANBarrelCh13_->setAxisTitle("Number of digis per FED channel per event", 1);
1357  meNDigisCHANBarrelCh14_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh14", "Number of Digis Ch14", 100, 0., 1000.);
1358  meNDigisCHANBarrelCh14_->setAxisTitle("Number of digis per FED channel per event", 1);
1359  meNDigisCHANBarrelCh15_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh15", "Number of Digis Ch15", 100, 0., 1000.);
1360  meNDigisCHANBarrelCh15_->setAxisTitle("Number of digis per FED channel per event", 1);
1361  meNDigisCHANBarrelCh16_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh16", "Number of Digis Ch16", 100, 0., 1000.);
1362  meNDigisCHANBarrelCh16_->setAxisTitle("Number of digis per FED channel per event", 1);
1363  meNDigisCHANBarrelCh17_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh17", "Number of Digis Ch17", 100, 0., 1000.);
1364  meNDigisCHANBarrelCh17_->setAxisTitle("Number of digis per FED channel per event", 1);
1365  meNDigisCHANBarrelCh18_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh18", "Number of Digis Ch18", 100, 0., 1000.);
1366  meNDigisCHANBarrelCh18_->setAxisTitle("Number of digis per FED channel per event", 1);
1367  meNDigisCHANBarrelCh19_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh19", "Number of Digis Ch19", 100, 0., 1000.);
1368  meNDigisCHANBarrelCh19_->setAxisTitle("Number of digis per FED channel per event", 1);
1369  meNDigisCHANBarrelCh20_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh20", "Number of Digis Ch20", 100, 0., 1000.);
1370  meNDigisCHANBarrelCh20_->setAxisTitle("Number of digis per FED channel per event", 1);
1371  meNDigisCHANBarrelCh21_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh21", "Number of Digis Ch21", 100, 0., 1000.);
1372  meNDigisCHANBarrelCh21_->setAxisTitle("Number of digis per FED channel per event", 1);
1373  meNDigisCHANBarrelCh22_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh22", "Number of Digis Ch22", 100, 0., 1000.);
1374  meNDigisCHANBarrelCh22_->setAxisTitle("Number of digis per FED channel per event", 1);
1375  meNDigisCHANBarrelCh23_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh23", "Number of Digis Ch23", 100, 0., 1000.);
1376  meNDigisCHANBarrelCh23_->setAxisTitle("Number of digis per FED channel per event", 1);
1377  meNDigisCHANBarrelCh24_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh24", "Number of Digis Ch24", 100, 0., 1000.);
1378  meNDigisCHANBarrelCh24_->setAxisTitle("Number of digis per FED channel per event", 1);
1379  meNDigisCHANBarrelCh25_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh25", "Number of Digis Ch25", 100, 0., 1000.);
1380  meNDigisCHANBarrelCh25_->setAxisTitle("Number of digis per FED channel per event", 1);
1381  meNDigisCHANBarrelCh26_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh26", "Number of Digis Ch26", 100, 0., 1000.);
1382  meNDigisCHANBarrelCh26_->setAxisTitle("Number of digis per FED channel per event", 1);
1383  meNDigisCHANBarrelCh27_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh27", "Number of Digis Ch27", 100, 0., 1000.);
1384  meNDigisCHANBarrelCh27_->setAxisTitle("Number of digis per FED channel per event", 1);
1385  meNDigisCHANBarrelCh28_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh28", "Number of Digis Ch28", 100, 0., 1000.);
1386  meNDigisCHANBarrelCh28_->setAxisTitle("Number of digis per FED channel per event", 1);
1387  meNDigisCHANBarrelCh29_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh29", "Number of Digis Ch29", 100, 0., 1000.);
1388  meNDigisCHANBarrelCh29_->setAxisTitle("Number of digis per FED channel per event", 1);
1389  meNDigisCHANBarrelCh30_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh30", "Number of Digis Ch30", 100, 0., 1000.);
1390  meNDigisCHANBarrelCh30_->setAxisTitle("Number of digis per FED channel per event", 1);
1391  meNDigisCHANBarrelCh31_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh31", "Number of Digis Ch31", 100, 0., 1000.);
1392  meNDigisCHANBarrelCh31_->setAxisTitle("Number of digis per FED channel per event", 1);
1393  meNDigisCHANBarrelCh32_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh32", "Number of Digis Ch32", 100, 0., 1000.);
1394  meNDigisCHANBarrelCh32_->setAxisTitle("Number of digis per FED channel per event", 1);
1395  meNDigisCHANBarrelCh33_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh33", "Number of Digis Ch33", 100, 0., 1000.);
1396  meNDigisCHANBarrelCh33_->setAxisTitle("Number of digis per FED channel per event", 1);
1397  meNDigisCHANBarrelCh34_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh34", "Number of Digis Ch34", 100, 0., 1000.);
1398  meNDigisCHANBarrelCh34_->setAxisTitle("Number of digis per FED channel per event", 1);
1399  meNDigisCHANBarrelCh35_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh35", "Number of Digis Ch35", 100, 0., 1000.);
1400  meNDigisCHANBarrelCh35_->setAxisTitle("Number of digis per FED channel per event", 1);
1401  meNDigisCHANBarrelCh36_ = iBooker.book1D("ALLMODS_ndigisCHAN_BarrelCh36", "Number of Digis Ch36", 100, 0., 1000.);
1402  meNDigisCHANBarrelCh36_->setAxisTitle("Number of digis per FED channel per event", 1);
1403  iBooker.cd(topFolderName_ + "/Endcap");
1404  meNDigisCOMBEndcap_ = iBooker.book1D("ALLMODS_ndigisCOMB_Endcap", "Number of Digis", 200, 0., 400.);
1405  meNDigisCOMBEndcap_->setAxisTitle("Number of digis per module per event", 1);
1406  meNDigisCHANEndcap_ = iBooker.book1D("ALLMODS_ndigisCHAN_Endcap", "Number of Digis", 100, 0., 1000.);
1407  meNDigisCHANEndcap_->setAxisTitle("Number of digis per FED channel per event", 1);
1408  for (int i = 1; i <= noOfDisks; i++) {
1409  ss1.str(std::string());
1410  ss1 << "ALLMODS_ndigisCHAN_EndcapDp" << i;
1411  ss2.str(std::string());
1412  ss2 << "Number of Digis Disk p" << i;
1413  meNDigisCHANEndcapDps_.push_back(iBooker.book1D(ss1.str(), ss2.str(), 100, 0., 1000.));
1414  meNDigisCHANEndcapDps_.at(i - 1)->setAxisTitle("Number of digis per FED channel per event", 1);
1415  }
1416  for (int i = 1; i <= noOfDisks; i++) {
1417  ss1.str(std::string());
1418  ss1 << "ALLMODS_ndigisCHAN_EndcapDm" << i;
1419  ss2.str(std::string());
1420  ss2 << "Number of Digis Disk m" << i;
1421  meNDigisCHANEndcapDms_.push_back(iBooker.book1D(ss1.str(), ss2.str(), 100, 0., 1000.));
1422  meNDigisCHANEndcapDms_.at(i - 1)->setAxisTitle("Number of digis per FED channel per event", 1);
1423  }
1424  iBooker.cd(topFolderName_);
1425 }

References averageDigiOccupancy, avgBarrelFedOccvsLumi, avgEndcapFedOccvsLumi, avgfedDigiOccvsLumi, bigEventRate, bigEventSize, bladeOn, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::NavigatorBase::cd(), conf_, diskOn, Exception, hiRes, mps_fire::i, isPIB, isUpgrade, ladOn, layOn, LogDebug, loOccROCsBarrel, loOccROCsEndcap, meNDigisCHANBarrel_, meNDigisCHANBarrelCh10_, meNDigisCHANBarrelCh11_, meNDigisCHANBarrelCh12_, meNDigisCHANBarrelCh13_, meNDigisCHANBarrelCh14_, meNDigisCHANBarrelCh15_, meNDigisCHANBarrelCh16_, meNDigisCHANBarrelCh17_, meNDigisCHANBarrelCh18_, meNDigisCHANBarrelCh19_, meNDigisCHANBarrelCh1_, meNDigisCHANBarrelCh20_, meNDigisCHANBarrelCh21_, meNDigisCHANBarrelCh22_, meNDigisCHANBarrelCh23_, meNDigisCHANBarrelCh24_, meNDigisCHANBarrelCh25_, meNDigisCHANBarrelCh26_, meNDigisCHANBarrelCh27_, meNDigisCHANBarrelCh28_, meNDigisCHANBarrelCh29_, meNDigisCHANBarrelCh2_, meNDigisCHANBarrelCh30_, meNDigisCHANBarrelCh31_, meNDigisCHANBarrelCh32_, meNDigisCHANBarrelCh33_, meNDigisCHANBarrelCh34_, meNDigisCHANBarrelCh35_, meNDigisCHANBarrelCh36_, meNDigisCHANBarrelCh3_, meNDigisCHANBarrelCh4_, meNDigisCHANBarrelCh5_, meNDigisCHANBarrelCh6_, meNDigisCHANBarrelCh7_, meNDigisCHANBarrelCh8_, meNDigisCHANBarrelCh9_, meNDigisCHANBarrelLs_, meNDigisCHANEndcap_, meNDigisCHANEndcapDms_, meNDigisCHANEndcapDps_, meNDigisCOMBBarrel_, meNDigisCOMBEndcap_, modOn, noOccROCsBarrel, noOccROCsEndcap, noOfDisks, noOfLayers, phiOn, pixEventRate, pixEvtsPerBX, reducedSet, ringOn, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), SiPixelFolderOrganizer::setModuleFolder(), AlCaHLTBitMon_QueryRunRegistry::string, thePixelStructure, runGCPTkAlMap::title, topFolderName_, twoDimModOn, twoDimOn, and twoDimOnlyLayDisk.

Referenced by bookHistograms().

◆ buildStructure()

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

Definition at line 1097 of file SiPixelDigiSource.cc.

1097  {
1098  edm::ESHandle<TrackerTopology> tTopoHandle;
1099  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
1100  const TrackerTopology* pTT = tTopoHandle.product();
1101 
1102  LogInfo("PixelDQM") << " SiPixelDigiSource::buildStructure";
1104  iSetup.get<TrackerDigiGeometryRecord>().get(pDD);
1105 
1106  LogVerbatim("PixelDQM") << " *** Geometry node for TrackerGeom is " << &(*pDD) << std::endl;
1107  LogVerbatim("PixelDQM") << " *** I have " << pDD->dets().size() << " detectors" << std::endl;
1108  LogVerbatim("PixelDQM") << " *** I have " << pDD->detTypes().size() << " types" << std::endl;
1109 
1110  for (TrackerGeometry::DetContainer::const_iterator it = pDD->dets().begin(); it != pDD->dets().end(); it++) {
1111  if (dynamic_cast<PixelGeomDetUnit const*>((*it)) != nullptr) {
1112  DetId detId = (*it)->geographicalId();
1113  const GeomDetUnit* geoUnit = pDD->idToDetUnit(detId);
1114  const PixelGeomDetUnit* pixDet = dynamic_cast<const PixelGeomDetUnit*>(geoUnit);
1115  int nrows = (pixDet->specificTopology()).nrows();
1116  int ncols = (pixDet->specificTopology()).ncolumns();
1117 
1118  if (detId.subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel)) {
1119  if (isPIB)
1120  continue;
1121  LogDebug("PixelDQM") << " ---> Adding Barrel Module " << detId.rawId() << endl;
1122  uint32_t id = detId();
1123  int layer = PixelBarrelName(DetId(id), pTT, isUpgrade).layerName();
1124  if (layer > noOfLayers)
1125  noOfLayers = layer;
1126  SiPixelDigiModule* theModule = new SiPixelDigiModule(id, ncols, nrows);
1127  thePixelStructure.insert(pair<uint32_t, SiPixelDigiModule*>(id, theModule));
1128 
1129  } else if ((detId.subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap)) && (!isUpgrade)) {
1130  LogDebug("PixelDQM") << " ---> Adding Endcap Module " << detId.rawId() << endl;
1131  uint32_t id = detId();
1132  SiPixelDigiModule* theModule = new SiPixelDigiModule(id, ncols, nrows);
1133 
1135  int disk = PixelEndcapName(DetId(id), pTT, isUpgrade).diskName();
1136  if (disk > noOfDisks)
1137  noOfDisks = disk;
1138  int blade = PixelEndcapName(DetId(id), pTT, isUpgrade).bladeName();
1139  int panel = PixelEndcapName(DetId(id), pTT, isUpgrade).pannelName();
1140  int module = PixelEndcapName(DetId(id), pTT, isUpgrade).plaquetteName();
1141 
1142  char sside[80];
1143  sprintf(sside, "HalfCylinder_%i", side);
1144  char sdisk[80];
1145  sprintf(sdisk, "Disk_%i", disk);
1146  char sblade[80];
1147  sprintf(sblade, "Blade_%02i", blade);
1148  char spanel[80];
1149  sprintf(spanel, "Panel_%i", panel);
1150  char smodule[80];
1151  sprintf(smodule, "Module_%i", module);
1152  std::string side_str = sside;
1153  std::string disk_str = sdisk;
1154  bool mask = side_str.find("HalfCylinder_1") != string::npos ||
1155  side_str.find("HalfCylinder_2") != string::npos ||
1156  side_str.find("HalfCylinder_4") != string::npos || disk_str.find("Disk_2") != string::npos;
1157  // clutch to take all of FPIX, but no BPIX:
1158  mask = false;
1159  if (isPIB && mask)
1160  continue;
1161 
1162  thePixelStructure.insert(pair<uint32_t, SiPixelDigiModule*>(id, theModule));
1163  } else if ((detId.subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap)) && (isUpgrade)) {
1164  LogDebug("PixelDQM") << " ---> Adding Endcap Module " << detId.rawId() << endl;
1165  uint32_t id = detId();
1166  SiPixelDigiModule* theModule = new SiPixelDigiModule(id, ncols, nrows);
1167 
1169  int disk = PixelEndcapName(DetId(id), pTT, isUpgrade).diskName();
1170  if (disk > noOfDisks)
1171  noOfDisks = disk;
1172  int blade = PixelEndcapName(DetId(id), pTT, isUpgrade).bladeName();
1173  int panel = PixelEndcapName(DetId(id), pTT, isUpgrade).pannelName();
1174  int module = PixelEndcapName(DetId(id), pTT, isUpgrade).plaquetteName();
1175 
1176  char sside[80];
1177  sprintf(sside, "HalfCylinder_%i", side);
1178  char sdisk[80];
1179  sprintf(sdisk, "Disk_%i", disk);
1180  char sblade[80];
1181  sprintf(sblade, "Blade_%02i", blade);
1182  char spanel[80];
1183  sprintf(spanel, "Panel_%i", panel);
1184  char smodule[80];
1185  sprintf(smodule, "Module_%i", module);
1186  std::string side_str = sside;
1187  std::string disk_str = sdisk;
1188  bool mask = side_str.find("HalfCylinder_1") != string::npos ||
1189  side_str.find("HalfCylinder_2") != string::npos ||
1190  side_str.find("HalfCylinder_4") != string::npos || disk_str.find("Disk_2") != string::npos;
1191  // clutch to take all of FPIX, but no BPIX:
1192  mask = false;
1193  if (isPIB && mask)
1194  continue;
1195 
1196  thePixelStructure.insert(pair<uint32_t, SiPixelDigiModule*>(id, theModule));
1197  } //end_elseif(isUpgrade)
1198  }
1199  }
1200  LogInfo("PixelDQM") << " *** Pixel Structure Size " << thePixelStructure.size() << endl;
1201 }

References PixelEndcapName::bladeName(), TrackerGeometry::dets(), TrackerGeometry::detTypes(), PixelEndcapName::diskName(), edm::EventSetup::get(), get, PixelEndcapName::halfCylinder(), TrackerGeometry::idToDetUnit(), isPIB, isUpgrade, PixelBarrelName::layerName(), LogDebug, hgcalPlots::ncols, noOfDisks, noOfLayers, PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and thePixelStructure.

Referenced by dqmBeginRun().

◆ CountZeroROCsInSubstructure()

void SiPixelDigiSource::CountZeroROCsInSubstructure ( bool  barrel,
bool &  DoZeroRocs,
SiPixelDigiModule mod 
)
virtual

Definition at line 1427 of file SiPixelDigiSource.cc.

1427  {
1428  std::pair<int, int> tempPair = mod->getZeroLoEffROCs();
1429 
1430  if (barrel) {
1431  NzeroROCs[0] += tempPair.first;
1432  NloEffROCs[0] += tempPair.second;
1433  } else {
1434  NzeroROCs[1] += tempPair.first;
1435  NloEffROCs[1] += tempPair.second;
1436  }
1437 
1438  DoZeroRocs = false;
1439  mod->resetRocMap(); //once got the number of ZeroOccupancy Rocs, reset the ROC map of the corresponding Pixel substructure
1440 }

References Reference_intrackfit_cff::barrel, mod(), NloEffROCs, and NzeroROCs.

Referenced by analyze().

◆ dqmBeginLuminosityBlock()

void SiPixelDigiSource::dqmBeginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &   
)
overridevirtual

Reimplemented from DQMOneLumiEDAnalyzer<>.

Definition at line 103 of file SiPixelDigiSource.cc.

103  {
104  int thisls = lb.id().luminosityBlock();
105 
106  if (modOn && thisls % 10 == 0 && averageDigiOccupancy) {
107  nBPIXDigis = 0;
108  nFPIXDigis = 0;
109  for (int i = 0; i != 40; i++)
110  nDigisPerFed[i] = 0;
111  }
112  if (!modOn && averageDigiOccupancy) {
113  nBPIXDigis = 0;
114  nFPIXDigis = 0;
115  for (int i = 0; i != 40; i++)
116  nDigisPerFed[i] = 0;
117  }
118 
119  if (modOn && thisls % 10 == 0) {
120  ROCMapToReset = true; //the ROC map is reset each 10 lumisections
121 
122  for (int i = 0; i < 2; i++)
123  NzeroROCs[i] = 0;
124  for (int i = 0; i < 2; i++)
125  NloEffROCs[i] = 0; //resetting also Zero and low eff. ROC counters
126 
127  NzeroROCs[1] = -672;
128  NloEffROCs[1] =
129  -672; //this magic number derives by the way the endcap occupancy is filled, there are always 672 empty bins by construction
130 
131  //these bools are needed to count zero occupancy plots in the substructure only once each 10 LS
132  DoZeroRocsBMO1 = true;
133  DoZeroRocsBMO2 = true;
134  DoZeroRocsBMO3 = true;
135 
136  DoZeroRocsBMI1 = true;
137  DoZeroRocsBMI2 = true;
138  DoZeroRocsBMI3 = true;
139 
140  DoZeroRocsBPO1 = true;
141  DoZeroRocsBPO2 = true;
142  DoZeroRocsBPO3 = true;
143 
144  DoZeroRocsBPI1 = true;
145  DoZeroRocsBPI2 = true;
146  DoZeroRocsBPI3 = true;
147 
148  DoZeroRocsFPO1 = true;
149  DoZeroRocsFPO2 = true;
150 
151  DoZeroRocsFMO1 = true;
152  DoZeroRocsFMO2 = true;
153 
154  DoZeroRocsFPI1 = true;
155  DoZeroRocsFPI2 = true;
156 
157  DoZeroRocsFMI1 = true;
158  DoZeroRocsFMI2 = true;
159  }
160 }

References averageDigiOccupancy, DoZeroRocsBMI1, DoZeroRocsBMI2, DoZeroRocsBMI3, DoZeroRocsBMO1, DoZeroRocsBMO2, DoZeroRocsBMO3, DoZeroRocsBPI1, DoZeroRocsBPI2, DoZeroRocsBPI3, DoZeroRocsBPO1, DoZeroRocsBPO2, DoZeroRocsBPO3, DoZeroRocsFMI1, DoZeroRocsFMI2, DoZeroRocsFMO1, DoZeroRocsFMO2, DoZeroRocsFPI1, DoZeroRocsFPI2, DoZeroRocsFPO1, DoZeroRocsFPO2, mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), modOn, nBPIXDigis, nDigisPerFed, nFPIXDigis, NloEffROCs, NzeroROCs, and ROCMapToReset.

◆ dqmBeginRun()

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

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

Definition at line 206 of file SiPixelDigiSource.cc.

206  {
207  LogInfo("PixelDQM") << " SiPixelDigiSource::beginJob - Initialisation ... " << std::endl;
208  LogInfo("PixelDQM") << "Mod/Lad/Lay/Phi " << modOn << "/" << ladOn << "/" << layOn << "/" << phiOn << std::endl;
209  LogInfo("PixelDQM") << "Blade/Disk/Ring" << bladeOn << "/" << diskOn << "/" << ringOn << std::endl;
210  LogInfo("PixelDQM") << "2DIM IS " << twoDimOn << " and set to high resolution? " << hiRes << "\n";
211 
212  if (firstRun) {
213  nBigEvents = 0;
214  nBPIXDigis = 0;
215  nFPIXDigis = 0;
216  for (int i = 0; i != 40; i++)
217  nDigisPerFed[i] = 0;
218  for (int i = 0; i != 4; i++)
219  nDigisPerDisk[i] = 0;
220  nDP1P1M1 = 0;
221  nDP1P1M2 = 0;
222  nDP1P1M3 = 0;
223  nDP1P1M4 = 0;
224  nDP1P2M1 = 0;
225  nDP1P2M2 = 0;
226  nDP1P2M3 = 0;
227  nDP2P1M1 = 0;
228  nDP2P1M2 = 0;
229  nDP2P1M3 = 0;
230  nDP2P1M4 = 0;
231  nDP2P2M1 = 0;
232  nDP2P2M2 = 0;
233  nDP2P2M3 = 0;
234  nDP3P1M1 = 0;
235  nDP3P2M1 = 0;
236  nDM1P1M1 = 0;
237  nDM1P1M2 = 0;
238  nDM1P1M3 = 0;
239  nDM1P1M4 = 0;
240  nDM1P2M1 = 0;
241  nDM1P2M2 = 0;
242  nDM1P2M3 = 0;
243  nDM2P1M1 = 0;
244  nDM2P1M2 = 0;
245  nDM2P1M3 = 0;
246  nDM2P1M4 = 0;
247  nDM2P2M1 = 0;
248  nDM2P2M2 = 0;
249  nDM2P2M3 = 0;
250  nDM3P1M1 = 0;
251  nDM3P2M1 = 0;
252  nL1M1 = 0;
253  nL1M2 = 0;
254  nL1M3 = 0;
255  nL1M4 = 0;
256  nL2M1 = 0;
257  nL2M2 = 0;
258  nL2M3 = 0;
259  nL2M4 = 0;
260  nL3M1 = 0;
261  nL3M2 = 0;
262  nL3M3 = 0;
263  nL3M4 = 0;
264  nL4M1 = 0;
265  nL4M2 = 0;
266  nL4M3 = 0;
267  nL4M4 = 0;
268 
269  ROCMapToReset = false;
270 
271  DoZeroRocsBMO1 = false;
272  DoZeroRocsBMO2 = false;
273  DoZeroRocsBMO3 = false;
274 
275  DoZeroRocsBMI1 = false;
276  DoZeroRocsBMI2 = false;
277  DoZeroRocsBMI3 = false;
278 
279  DoZeroRocsBPO1 = false;
280  DoZeroRocsBPO2 = false;
281  DoZeroRocsBPO3 = false;
282 
283  DoZeroRocsBPI1 = false;
284  DoZeroRocsBPI2 = false;
285  DoZeroRocsBPI3 = false;
286 
287  DoZeroRocsFPO1 = false;
288  DoZeroRocsFPO2 = false;
289 
290  DoZeroRocsFMO1 = false;
291  DoZeroRocsFMO2 = false;
292 
293  DoZeroRocsFPI1 = false;
294  DoZeroRocsFPI2 = false;
295 
296  DoZeroRocsFMI1 = false;
297  DoZeroRocsFMI2 = false;
298 
299  for (int i = 0; i < 2; i++)
300  NzeroROCs[i] = 0;
301  for (int i = 0; i < 2; i++)
302  NloEffROCs[i] = 0;
303 
304  // Build map
305  buildStructure(iSetup);
306  // Book Monitoring Elements
307  firstRun = false;
308  }
309 }

References bladeOn, buildStructure(), diskOn, DoZeroRocsBMI1, DoZeroRocsBMI2, DoZeroRocsBMI3, DoZeroRocsBMO1, DoZeroRocsBMO2, DoZeroRocsBMO3, DoZeroRocsBPI1, DoZeroRocsBPI2, DoZeroRocsBPI3, DoZeroRocsBPO1, DoZeroRocsBPO2, DoZeroRocsBPO3, DoZeroRocsFMI1, DoZeroRocsFMI2, DoZeroRocsFMO1, DoZeroRocsFMO2, DoZeroRocsFPI1, DoZeroRocsFPI2, DoZeroRocsFPO1, DoZeroRocsFPO2, firstRun, hiRes, mps_fire::i, ladOn, layOn, modOn, nBigEvents, nBPIXDigis, nDigisPerDisk, nDigisPerFed, nDM1P1M1, nDM1P1M2, nDM1P1M3, nDM1P1M4, nDM1P2M1, nDM1P2M2, nDM1P2M3, nDM2P1M1, nDM2P1M2, nDM2P1M3, nDM2P1M4, nDM2P2M1, nDM2P2M2, nDM2P2M3, nDM3P1M1, nDM3P2M1, nDP1P1M1, nDP1P1M2, nDP1P1M3, nDP1P1M4, nDP1P2M1, nDP1P2M2, nDP1P2M3, nDP2P1M1, nDP2P1M2, nDP2P1M3, nDP2P1M4, nDP2P2M1, nDP2P2M2, nDP2P2M3, nDP3P1M1, nDP3P2M1, nFPIXDigis, nL1M1, nL1M2, nL1M3, nL1M4, nL2M1, nL2M2, nL2M3, nL2M4, nL3M1, nL3M2, nL3M3, nL3M4, nL4M1, nL4M2, nL4M3, nL4M4, NloEffROCs, NzeroROCs, phiOn, ringOn, ROCMapToReset, and twoDimOn.

◆ dqmEndLuminosityBlock()

void SiPixelDigiSource::dqmEndLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &   
)
overridevirtual

Reimplemented from DQMOneLumiEDAnalyzer<>.

Definition at line 162 of file SiPixelDigiSource.cc.

162  {
163  int thisls = lb.id().luminosityBlock();
164 
165  float averageBPIXFed = float(nBPIXDigis) / 32.;
166  float averageFPIXFed = float(nFPIXDigis) / 8.;
167 
168  if (averageDigiOccupancy) {
169  for (int i = 0; i != 40; i++) {
170  float averageOcc = 0.;
171  if (i < 32) {
172  if (averageBPIXFed > 0.)
173  averageOcc = nDigisPerFed[i] / averageBPIXFed;
174  } else {
175  if (averageFPIXFed > 0.)
176  averageOcc = nDigisPerFed[i] / averageFPIXFed;
177  }
178  if (!modOn) {
180  i,
181  nDigisPerFed[i]); //In offline we fill all digis and normalise at the end of the run for thread safe behaviour.
182  avgfedDigiOccvsLumi->setBinContent(thisls, i + 1, nDigisPerFed[i]); //Same plot vs lumi section
183  }
184  if (modOn) {
185  if (thisls % 10 == 0)
187  i,
188  averageOcc); // "modOn" basically mean Online DQM, in this case fill histos with actual value of digi fraction per fed for each ten lumisections
189  if (avgfedDigiOccvsLumi && thisls % 5 == 0)
191  int(thisls / 5),
192  i + 1,
193  averageOcc); //fill with the mean over 5 lumisections, previous code was filling this histo only with last event of each 10th lumisection
194  }
195  }
196 
197  if (modOn && thisls % 10 == 0) {
199  int(thisls / 10), averageBPIXFed); //<NDigis> vs lumisection for barrel, filled every 10 lumi sections
201  int(thisls / 10), averageFPIXFed); //<NDigis> vs lumisection for endcap, filled every 10 lumi sections
202  }
203  }
204 }

References averageDigiOccupancy, avgBarrelFedOccvsLumi, avgEndcapFedOccvsLumi, avgfedDigiOccvsLumi, dqm::impl::MonitorElement::Fill(), dqmMemoryStats::float, mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), modOn, nBPIXDigis, nDigisPerFed, nFPIXDigis, and dqm::impl::MonitorElement::setBinContent().

Member Data Documentation

◆ averageDigiOccupancy

MonitorElement* SiPixelDigiSource::averageDigiOccupancy
private

Definition at line 143 of file SiPixelDigiSource.h.

Referenced by bookMEs(), dqmBeginLuminosityBlock(), and dqmEndLuminosityBlock().

◆ avgBarrelFedOccvsLumi

MonitorElement* SiPixelDigiSource::avgBarrelFedOccvsLumi
private

Definition at line 144 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and dqmEndLuminosityBlock().

◆ avgEndcapFedOccvsLumi

MonitorElement* SiPixelDigiSource::avgEndcapFedOccvsLumi
private

Definition at line 145 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and dqmEndLuminosityBlock().

◆ avgfedDigiOccvsLumi

MonitorElement* SiPixelDigiSource::avgfedDigiOccvsLumi
private

Definition at line 146 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and dqmEndLuminosityBlock().

◆ bigEventRate

MonitorElement* SiPixelDigiSource::bigEventRate
private

Definition at line 136 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ bigEventSize

int SiPixelDigiSource::bigEventSize
private

Definition at line 225 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ bladeOn

bool SiPixelDigiSource::bladeOn
private

Definition at line 82 of file SiPixelDigiSource.h.

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

◆ conf_

edm::ParameterSet SiPixelDigiSource::conf_
private

Definition at line 68 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and SiPixelDigiSource().

◆ diskOn

bool SiPixelDigiSource::diskOn
private

Definition at line 82 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBMI1

bool SiPixelDigiSource::DoZeroRocsBMI1
private

Definition at line 201 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBMI2

bool SiPixelDigiSource::DoZeroRocsBMI2
private

Definition at line 202 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBMI3

bool SiPixelDigiSource::DoZeroRocsBMI3
private

Definition at line 203 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBMO1

bool SiPixelDigiSource::DoZeroRocsBMO1
private

Definition at line 197 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBMO2

bool SiPixelDigiSource::DoZeroRocsBMO2
private

Definition at line 198 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBMO3

bool SiPixelDigiSource::DoZeroRocsBMO3
private

Definition at line 199 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBPI1

bool SiPixelDigiSource::DoZeroRocsBPI1
private

Definition at line 209 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBPI2

bool SiPixelDigiSource::DoZeroRocsBPI2
private

Definition at line 210 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBPI3

bool SiPixelDigiSource::DoZeroRocsBPI3
private

Definition at line 211 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBPO1

bool SiPixelDigiSource::DoZeroRocsBPO1
private

Definition at line 205 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBPO2

bool SiPixelDigiSource::DoZeroRocsBPO2
private

Definition at line 206 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsBPO3

bool SiPixelDigiSource::DoZeroRocsBPO3
private

Definition at line 207 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFMI1

bool SiPixelDigiSource::DoZeroRocsFMI1
private

Definition at line 222 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFMI2

bool SiPixelDigiSource::DoZeroRocsFMI2
private

Definition at line 223 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFMO1

bool SiPixelDigiSource::DoZeroRocsFMO1
private

Definition at line 216 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFMO2

bool SiPixelDigiSource::DoZeroRocsFMO2
private

Definition at line 217 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFPI1

bool SiPixelDigiSource::DoZeroRocsFPI1
private

Definition at line 219 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFPI2

bool SiPixelDigiSource::DoZeroRocsFPI2
private

Definition at line 220 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFPO1

bool SiPixelDigiSource::DoZeroRocsFPO1
private

Definition at line 213 of file SiPixelDigiSource.h.

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

◆ DoZeroRocsFPO2

bool SiPixelDigiSource::DoZeroRocsFPO2
private

Definition at line 214 of file SiPixelDigiSource.h.

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

◆ firstRun

bool SiPixelDigiSource::firstRun
private

Definition at line 227 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun(), and SiPixelDigiSource().

◆ hiRes

bool SiPixelDigiSource::hiRes
private

Definition at line 77 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and dqmBeginRun().

◆ I_detId

unsigned int SiPixelDigiSource::I_detId[1856]
private

Definition at line 230 of file SiPixelDigiSource.h.

Referenced by analyze(), and SiPixelDigiSource().

◆ I_fedId

int SiPixelDigiSource::I_fedId[1856]
private

Definition at line 231 of file SiPixelDigiSource.h.

Referenced by analyze(), and SiPixelDigiSource().

◆ I_linkId1

int SiPixelDigiSource::I_linkId1[1856]
private

Definition at line 232 of file SiPixelDigiSource.h.

Referenced by analyze(), and SiPixelDigiSource().

◆ I_linkId2

int SiPixelDigiSource::I_linkId2[1856]
private

Definition at line 233 of file SiPixelDigiSource.h.

Referenced by analyze(), and SiPixelDigiSource().

◆ I_name

std::string SiPixelDigiSource::I_name[1856]
private

Definition at line 229 of file SiPixelDigiSource.h.

Referenced by SiPixelDigiSource().

◆ isPIB

bool SiPixelDigiSource::isPIB
private

Definition at line 71 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and buildStructure().

◆ isUpgrade

bool SiPixelDigiSource::isUpgrade
private

Definition at line 226 of file SiPixelDigiSource.h.

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

◆ ladOn

bool SiPixelDigiSource::ladOn
private

Definition at line 80 of file SiPixelDigiSource.h.

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

◆ layOn

bool SiPixelDigiSource::layOn
private

Definition at line 80 of file SiPixelDigiSource.h.

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

◆ loOccROCsBarrel

MonitorElement* SiPixelDigiSource::loOccROCsBarrel
private

Definition at line 140 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ loOccROCsEndcap

MonitorElement* SiPixelDigiSource::loOccROCsEndcap
private

Definition at line 142 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrel_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrel_
private

Definition at line 149 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh10_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh10_
private

Definition at line 160 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh11_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh11_
private

Definition at line 161 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh12_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh12_
private

Definition at line 162 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh13_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh13_
private

Definition at line 163 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh14_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh14_
private

Definition at line 164 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh15_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh15_
private

Definition at line 165 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh16_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh16_
private

Definition at line 166 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh17_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh17_
private

Definition at line 167 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh18_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh18_
private

Definition at line 168 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh19_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh19_
private

Definition at line 169 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh1_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh1_
private

Definition at line 151 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh20_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh20_
private

Definition at line 170 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh21_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh21_
private

Definition at line 171 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh22_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh22_
private

Definition at line 172 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh23_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh23_
private

Definition at line 173 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh24_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh24_
private

Definition at line 174 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh25_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh25_
private

Definition at line 175 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh26_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh26_
private

Definition at line 176 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh27_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh27_
private

Definition at line 177 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh28_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh28_
private

Definition at line 178 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh29_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh29_
private

Definition at line 179 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh2_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh2_
private

Definition at line 152 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh30_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh30_
private

Definition at line 180 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh31_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh31_
private

Definition at line 181 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh32_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh32_
private

Definition at line 182 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh33_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh33_
private

Definition at line 183 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh34_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh34_
private

Definition at line 184 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh35_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh35_
private

Definition at line 185 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh36_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh36_
private

Definition at line 186 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh3_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh3_
private

Definition at line 153 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh4_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh4_
private

Definition at line 154 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh5_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh5_
private

Definition at line 155 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh6_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh6_
private

Definition at line 156 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh7_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh7_
private

Definition at line 157 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh8_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh8_
private

Definition at line 158 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelCh9_

MonitorElement* SiPixelDigiSource::meNDigisCHANBarrelCh9_
private

Definition at line 159 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANBarrelLs_

std::vector<MonitorElement*> SiPixelDigiSource::meNDigisCHANBarrelLs_
private

Definition at line 150 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANEndcap_

MonitorElement* SiPixelDigiSource::meNDigisCHANEndcap_
private

Definition at line 187 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANEndcapDms_

std::vector<MonitorElement*> SiPixelDigiSource::meNDigisCHANEndcapDms_
private

Definition at line 189 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCHANEndcapDps_

std::vector<MonitorElement*> SiPixelDigiSource::meNDigisCHANEndcapDps_
private

Definition at line 188 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCOMBBarrel_

MonitorElement* SiPixelDigiSource::meNDigisCOMBBarrel_
private

Definition at line 147 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ meNDigisCOMBEndcap_

MonitorElement* SiPixelDigiSource::meNDigisCOMBEndcap_
private

Definition at line 148 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ modOn

bool SiPixelDigiSource::modOn
private

◆ nBigEvents

int SiPixelDigiSource::nBigEvents
private

Definition at line 133 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nBPIXDigis

int SiPixelDigiSource::nBPIXDigis
private

◆ nDigisA

int SiPixelDigiSource::nDigisA
private

Definition at line 238 of file SiPixelDigiSource.h.

Referenced by analyze().

◆ nDigisB

int SiPixelDigiSource::nDigisB
private

Definition at line 239 of file SiPixelDigiSource.h.

Referenced by analyze().

◆ nDigisPerChan

int SiPixelDigiSource::nDigisPerChan[1152]
private

Definition at line 235 of file SiPixelDigiSource.h.

Referenced by analyze().

◆ nDigisPerDisk

int SiPixelDigiSource::nDigisPerDisk[6]
private

Definition at line 236 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDigisPerFed

int SiPixelDigiSource::nDigisPerFed[40]
private

◆ nDM1P1M1

int SiPixelDigiSource::nDM1P1M1
private

Definition at line 101 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM1P1M2

int SiPixelDigiSource::nDM1P1M2
private

Definition at line 102 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM1P1M3

int SiPixelDigiSource::nDM1P1M3
private

Definition at line 103 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM1P1M4

int SiPixelDigiSource::nDM1P1M4
private

Definition at line 104 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM1P2M1

int SiPixelDigiSource::nDM1P2M1
private

Definition at line 105 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM1P2M2

int SiPixelDigiSource::nDM1P2M2
private

Definition at line 106 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM1P2M3

int SiPixelDigiSource::nDM1P2M3
private

Definition at line 107 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P1M1

int SiPixelDigiSource::nDM2P1M1
private

Definition at line 108 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P1M2

int SiPixelDigiSource::nDM2P1M2
private

Definition at line 109 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P1M3

int SiPixelDigiSource::nDM2P1M3
private

Definition at line 110 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P1M4

int SiPixelDigiSource::nDM2P1M4
private

Definition at line 111 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P2M1

int SiPixelDigiSource::nDM2P2M1
private

Definition at line 112 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P2M2

int SiPixelDigiSource::nDM2P2M2
private

Definition at line 113 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM2P2M3

int SiPixelDigiSource::nDM2P2M3
private

Definition at line 114 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM3P1M1

int SiPixelDigiSource::nDM3P1M1
private

Definition at line 115 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDM3P2M1

int SiPixelDigiSource::nDM3P2M1
private

Definition at line 116 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P1M1

int SiPixelDigiSource::nDP1P1M1
private

Definition at line 85 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P1M2

int SiPixelDigiSource::nDP1P1M2
private

Definition at line 86 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P1M3

int SiPixelDigiSource::nDP1P1M3
private

Definition at line 87 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P1M4

int SiPixelDigiSource::nDP1P1M4
private

Definition at line 88 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P2M1

int SiPixelDigiSource::nDP1P2M1
private

Definition at line 89 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P2M2

int SiPixelDigiSource::nDP1P2M2
private

Definition at line 90 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP1P2M3

int SiPixelDigiSource::nDP1P2M3
private

Definition at line 91 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P1M1

int SiPixelDigiSource::nDP2P1M1
private

Definition at line 92 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P1M2

int SiPixelDigiSource::nDP2P1M2
private

Definition at line 93 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P1M3

int SiPixelDigiSource::nDP2P1M3
private

Definition at line 94 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P1M4

int SiPixelDigiSource::nDP2P1M4
private

Definition at line 95 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P2M1

int SiPixelDigiSource::nDP2P2M1
private

Definition at line 96 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P2M2

int SiPixelDigiSource::nDP2P2M2
private

Definition at line 97 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP2P2M3

int SiPixelDigiSource::nDP2P2M3
private

Definition at line 98 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP3P1M1

int SiPixelDigiSource::nDP3P1M1
private

Definition at line 99 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nDP3P2M1

int SiPixelDigiSource::nDP3P2M1
private

Definition at line 100 of file SiPixelDigiSource.h.

Referenced by analyze(), and dqmBeginRun().

◆ nFPIXDigis

int SiPixelDigiSource::nFPIXDigis
private

◆ nL1M1

int SiPixelDigiSource::nL1M1
private

Definition at line 117 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL1M2

int SiPixelDigiSource::nL1M2
private

Definition at line 118 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL1M3

int SiPixelDigiSource::nL1M3
private

Definition at line 119 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL1M4

int SiPixelDigiSource::nL1M4
private

Definition at line 120 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL2M1

int SiPixelDigiSource::nL2M1
private

Definition at line 121 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL2M2

int SiPixelDigiSource::nL2M2
private

Definition at line 122 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL2M3

int SiPixelDigiSource::nL2M3
private

Definition at line 123 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL2M4

int SiPixelDigiSource::nL2M4
private

Definition at line 124 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL3M1

int SiPixelDigiSource::nL3M1
private

Definition at line 125 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL3M2

int SiPixelDigiSource::nL3M2
private

Definition at line 126 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL3M3

int SiPixelDigiSource::nL3M3
private

Definition at line 127 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL3M4

int SiPixelDigiSource::nL3M4
private

Definition at line 128 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL4M1

int SiPixelDigiSource::nL4M1
private

Definition at line 129 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL4M2

int SiPixelDigiSource::nL4M2
private

Definition at line 130 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL4M3

int SiPixelDigiSource::nL4M3
private

Definition at line 131 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ nL4M4

int SiPixelDigiSource::nL4M4
private

Definition at line 132 of file SiPixelDigiSource.h.

Referenced by dqmBeginRun().

◆ NloEffROCs

int SiPixelDigiSource::NloEffROCs[2]
private

◆ noOccROCsBarrel

MonitorElement* SiPixelDigiSource::noOccROCsBarrel
private

Definition at line 139 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ noOccROCsEndcap

MonitorElement* SiPixelDigiSource::noOccROCsEndcap
private

Definition at line 141 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ noOfDisks

int SiPixelDigiSource::noOfDisks
private

Definition at line 244 of file SiPixelDigiSource.h.

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

◆ noOfLayers

int SiPixelDigiSource::noOfLayers
private

Definition at line 243 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and buildStructure().

◆ numberOfDigis

int SiPixelDigiSource::numberOfDigis[336]
private

Definition at line 237 of file SiPixelDigiSource.h.

Referenced by analyze().

◆ NzeroROCs

int SiPixelDigiSource::NzeroROCs[2]
private

◆ phiOn

bool SiPixelDigiSource::phiOn
private

Definition at line 80 of file SiPixelDigiSource.h.

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

◆ pixEventRate

MonitorElement* SiPixelDigiSource::pixEventRate
private

Definition at line 138 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ pixEvtsPerBX

MonitorElement* SiPixelDigiSource::pixEvtsPerBX
private

Definition at line 137 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ reducedSet

bool SiPixelDigiSource::reducedSet
private

Definition at line 78 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ ringOn

bool SiPixelDigiSource::ringOn
private

Definition at line 82 of file SiPixelDigiSource.h.

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

◆ ROCMapToReset

bool SiPixelDigiSource::ROCMapToReset
private

Definition at line 194 of file SiPixelDigiSource.h.

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

◆ saveFile

bool SiPixelDigiSource::saveFile
private

Definition at line 70 of file SiPixelDigiSource.h.

◆ slowDown

bool SiPixelDigiSource::slowDown
private

Definition at line 72 of file SiPixelDigiSource.h.

Referenced by analyze().

◆ src_

edm::InputTag SiPixelDigiSource::src_
private

Definition at line 69 of file SiPixelDigiSource.h.

◆ srcToken_

edm::EDGetTokenT<edm::DetSetVector<PixelDigi> > SiPixelDigiSource::srcToken_
private

Definition at line 242 of file SiPixelDigiSource.h.

Referenced by analyze(), and SiPixelDigiSource().

◆ thePixelStructure

std::map<uint32_t, SiPixelDigiModule*> SiPixelDigiSource::thePixelStructure
private

Definition at line 83 of file SiPixelDigiSource.h.

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

◆ topFolderName_

std::string SiPixelDigiSource::topFolderName_

Definition at line 65 of file SiPixelDigiSource.h.

Referenced by bookMEs(), and SiPixelDigiSource().

◆ twoDimModOn

bool SiPixelDigiSource::twoDimModOn
private

Definition at line 75 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

◆ twoDimOn

bool SiPixelDigiSource::twoDimOn
private

Definition at line 74 of file SiPixelDigiSource.h.

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

◆ twoDimOnlyLayDisk

bool SiPixelDigiSource::twoDimOnlyLayDisk
private

Definition at line 76 of file SiPixelDigiSource.h.

Referenced by analyze(), and bookMEs().

SiPixelDigiSource::nDP1P1M3
int nDP1P1M3
Definition: SiPixelDigiSource.h:87
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
SiPixelDigiSource::meNDigisCHANBarrelCh4_
MonitorElement * meNDigisCHANBarrelCh4_
Definition: SiPixelDigiSource.h:154
SiPixelDigiSource::nL3M2
int nL3M2
Definition: SiPixelDigiSource.h:126
PixelEndcapName::mO
Definition: PixelEndcapName.h:18
SiPixelDigiSource::twoDimOn
bool twoDimOn
Definition: SiPixelDigiSource.h:74
hgcalPlots.ncols
ncols
Definition: hgcalPlots.py:105
SiPixelDigiSource::nDP1P1M2
int nDP1P1M2
Definition: SiPixelDigiSource.h:86
SiPixelDigiSource::DoZeroRocsBPI3
bool DoZeroRocsBPI3
Definition: SiPixelDigiSource.h:211
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
SiPixelDigiSource::noOfLayers
int noOfLayers
Definition: SiPixelDigiSource.h:243
mps_fire.i
i
Definition: mps_fire.py:428
PixelBarrelName::pO
Definition: PixelBarrelName.h:18
input
static const std::string input
Definition: EdmProvDump.cc:48
Reference_intrackfit_cff.barrel
list barrel
Definition: Reference_intrackfit_cff.py:37
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
SiPixelDigiSource::nDP1P2M2
int nDP1P2M2
Definition: SiPixelDigiSource.h:90
SiPixelDigiSource::noOccROCsEndcap
MonitorElement * noOccROCsEndcap
Definition: SiPixelDigiSource.h:141
SiPixelDigiSource::nDM1P2M1
int nDM1P2M1
Definition: SiPixelDigiSource.h:105
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
GeomDet
Definition: GeomDet.h:27
PixelBarrelName::pI
Definition: PixelBarrelName.h:18
SiPixelDigiSource::nDigisPerFed
int nDigisPerFed[40]
Definition: SiPixelDigiSource.h:234
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
SiPixelDigiSource::meNDigisCHANBarrelCh27_
MonitorElement * meNDigisCHANBarrelCh27_
Definition: SiPixelDigiSource.h:177
SiPixelDigiSource::nBigEvents
int nBigEvents
Definition: SiPixelDigiSource.h:133
SiPixelDigiSource::nL3M3
int nL3M3
Definition: SiPixelDigiSource.h:127
SiPixelDigiSource::bookMEs
virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup &iSetup)
Definition: SiPixelDigiSource.cc:1205
SiPixelDigiSource::nL1M4
int nL1M4
Definition: SiPixelDigiSource.h:120
SiPixelDigiSource::pixEventRate
MonitorElement * pixEventRate
Definition: SiPixelDigiSource.h:138
SiPixelDigiSource::loOccROCsBarrel
MonitorElement * loOccROCsBarrel
Definition: SiPixelDigiSource.h:140
SiPixelDigiSource::nDM3P2M1
int nDM3P2M1
Definition: SiPixelDigiSource.h:116
SiPixelDigiSource::noOccROCsBarrel
MonitorElement * noOccROCsBarrel
Definition: SiPixelDigiSource.h:139
SiPixelDigiSource::nDM2P1M1
int nDM2P1M1
Definition: SiPixelDigiSource.h:108
SiPixelDigiSource::pixEvtsPerBX
MonitorElement * pixEvtsPerBX
Definition: SiPixelDigiSource.h:137
SiPixelDigiSource::twoDimModOn
bool twoDimModOn
Definition: SiPixelDigiSource.h:75
contentValuesFiles.fullPath
fullPath
Definition: contentValuesFiles.py:64
SiPixelDigiSource::nDP1P1M4
int nDP1P1M4
Definition: SiPixelDigiSource.h:88
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelDigiSource::nL3M1
int nL3M1
Definition: SiPixelDigiSource.h:125
SiPixelDigiSource::meNDigisCHANBarrelCh18_
MonitorElement * meNDigisCHANBarrelCh18_
Definition: SiPixelDigiSource.h:168
mod
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
SiPixelDigiSource::DoZeroRocsFPI1
bool DoZeroRocsFPI1
Definition: SiPixelDigiSource.h:219
SiPixelDigiSource::meNDigisCHANBarrelLs_
std::vector< MonitorElement * > meNDigisCHANBarrelLs_
Definition: SiPixelDigiSource.h:150
SiPixelDigiSource::bladeOn
bool bladeOn
Definition: SiPixelDigiSource.h:82
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
PixelBarrelName
Definition: PixelBarrelName.h:16
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
SiPixelDigiSource::nDM1P1M3
int nDM1P1M3
Definition: SiPixelDigiSource.h:103
SiPixelDigiSource::meNDigisCHANBarrelCh15_
MonitorElement * meNDigisCHANBarrelCh15_
Definition: SiPixelDigiSource.h:165
SiPixelDigiSource::avgBarrelFedOccvsLumi
MonitorElement * avgBarrelFedOccvsLumi
Definition: SiPixelDigiSource.h:144
SiPixelDigiSource::meNDigisCHANBarrelCh14_
MonitorElement * meNDigisCHANBarrelCh14_
Definition: SiPixelDigiSource.h:164
SiPixelDigiSource::meNDigisCHANBarrelCh32_
MonitorElement * meNDigisCHANBarrelCh32_
Definition: SiPixelDigiSource.h:182
cms::cuda::assert
assert(be >=bs)
SiPixelDigiSource::ROCMapToReset
bool ROCMapToReset
Definition: SiPixelDigiSource.h:194
SiPixelDigiSource::nDP1P2M1
int nDP1P2M1
Definition: SiPixelDigiSource.h:89
SiPixelDigiSource::meNDigisCHANBarrelCh19_
MonitorElement * meNDigisCHANBarrelCh19_
Definition: SiPixelDigiSource.h:169
TrackerGeometry::detTypes
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
Definition: TrackerGeometry.h:60
PixelBarrelName::mI
Definition: PixelBarrelName.h:18
SiPixelDigiSource::meNDigisCHANEndcapDps_
std::vector< MonitorElement * > meNDigisCHANEndcapDps_
Definition: SiPixelDigiSource.h:188
PixelEndcapName::halfCylinder
HalfCylinder halfCylinder() const
Definition: PixelEndcapName.h:42
SiPixelDigiSource::isUpgrade
bool isUpgrade
Definition: SiPixelDigiSource.h:226
SiPixelDigiSource::meNDigisCOMBBarrel_
MonitorElement * meNDigisCOMBBarrel_
Definition: SiPixelDigiSource.h:147
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
SiPixelDigiSource::DoZeroRocsFPO1
bool DoZeroRocsFPO1
Definition: SiPixelDigiSource.h:213
SiPixelDigiSource::nDM1P1M1
int nDM1P1M1
Definition: SiPixelDigiSource.h:101
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
SiPixelDigiSource::meNDigisCHANBarrelCh13_
MonitorElement * meNDigisCHANBarrelCh13_
Definition: SiPixelDigiSource.h:163
SiPixelDigiSource::meNDigisCHANBarrelCh17_
MonitorElement * meNDigisCHANBarrelCh17_
Definition: SiPixelDigiSource.h:167
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
SiPixelDigiSource::nDM1P2M3
int nDM1P2M3
Definition: SiPixelDigiSource.h:107
SiPixelDigiSource::ladOn
bool ladOn
Definition: SiPixelDigiSource.h:80
SiPixelDigiSource::DoZeroRocsFMO2
bool DoZeroRocsFMO2
Definition: SiPixelDigiSource.h:217
PixelBarrelName::layerName
int layerName() const
layer id
Definition: PixelBarrelName.h:43
SiPixelDigiSource::meNDigisCHANBarrelCh16_
MonitorElement * meNDigisCHANBarrelCh16_
Definition: SiPixelDigiSource.h:166
PixelEndcapName::pannelName
int pannelName() const
pannel id
Definition: PixelEndcapName.h:51
edm::Handle
Definition: AssociativeIterator.h:50
PixelBarrelName::mO
Definition: PixelBarrelName.h:18
SiPixelDigiSource::DoZeroRocsBPO3
bool DoZeroRocsBPO3
Definition: SiPixelDigiSource.h:207
SiPixelDigiSource::DoZeroRocsBPO2
bool DoZeroRocsBPO2
Definition: SiPixelDigiSource.h:206
PixelEndcapName::bladeName
int bladeName() const
blade id
Definition: PixelEndcapName.h:48
SiPixelDigiSource::meNDigisCHANBarrel_
MonitorElement * meNDigisCHANBarrel_
Definition: SiPixelDigiSource.h:149
SiPixelDigiSource::meNDigisCHANBarrelCh3_
MonitorElement * meNDigisCHANBarrelCh3_
Definition: SiPixelDigiSource.h:153
SiPixelDigiSource::I_detId
unsigned int I_detId[1856]
Definition: SiPixelDigiSource.h:230
SiPixelDigiSource::nDP2P1M3
int nDP2P1M3
Definition: SiPixelDigiSource.h:94
SiPixelDigiModule
Definition: SiPixelDigiModule.h:44
TrackerGeometry::idToDetUnit
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Definition: TrackerGeometry.cc:183
SiPixelDigiSource::DoZeroRocsBMI2
bool DoZeroRocsBMI2
Definition: SiPixelDigiSource.h:202
SiPixelDigiSource::meNDigisCHANBarrelCh33_
MonitorElement * meNDigisCHANBarrelCh33_
Definition: SiPixelDigiSource.h:183
SiPixelDigiSource::diskOn
bool diskOn
Definition: SiPixelDigiSource.h:82
SiPixelDigiSource::meNDigisCHANBarrelCh23_
MonitorElement * meNDigisCHANBarrelCh23_
Definition: SiPixelDigiSource.h:173
SiPixelDigiSource::nL3M4
int nL3M4
Definition: SiPixelDigiSource.h:128
DetId
Definition: DetId.h:17
edm::FileInPath
Definition: FileInPath.h:64
SiPixelDigiSource::DoZeroRocsFPO2
bool DoZeroRocsFPO2
Definition: SiPixelDigiSource.h:214
SiPixelDigiSource::hiRes
bool hiRes
Definition: SiPixelDigiSource.h:77
SiPixelDigiSource::nDigisB
int nDigisB
Definition: SiPixelDigiSource.h:239
SiPixelDigiSource::firstRun
bool firstRun
Definition: SiPixelDigiSource.h:227
SiPixelDigiSource::meNDigisCHANEndcapDms_
std::vector< MonitorElement * > meNDigisCHANEndcapDms_
Definition: SiPixelDigiSource.h:189
PixelEndcapName
Definition: PixelEndcapName.h:16
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
SiPixelDigiSource::nDM1P2M2
int nDM1P2M2
Definition: SiPixelDigiSource.h:106
SiPixelDigiSource::nDP3P1M1
int nDP3P1M1
Definition: SiPixelDigiSource.h:99
SiPixelDigiSource::avgEndcapFedOccvsLumi
MonitorElement * avgEndcapFedOccvsLumi
Definition: SiPixelDigiSource.h:145
SiPixelDigiSource::nL2M3
int nL2M3
Definition: SiPixelDigiSource.h:123
SiPixelDigiSource::meNDigisCHANBarrelCh35_
MonitorElement * meNDigisCHANBarrelCh35_
Definition: SiPixelDigiSource.h:185
SiPixelDigiSource::nDM1P1M2
int nDM1P1M2
Definition: SiPixelDigiSource.h:102
SiPixelDigiSource::meNDigisCHANBarrelCh26_
MonitorElement * meNDigisCHANBarrelCh26_
Definition: SiPixelDigiSource.h:176
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
SiPixelDigiSource::meNDigisCHANBarrelCh34_
MonitorElement * meNDigisCHANBarrelCh34_
Definition: SiPixelDigiSource.h:184
SiPixelDigiSource::meNDigisCHANBarrelCh24_
MonitorElement * meNDigisCHANBarrelCh24_
Definition: SiPixelDigiSource.h:174
edm::ESHandle< TrackerTopology >
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:322
SiPixelDigiSource::meNDigisCHANBarrelCh28_
MonitorElement * meNDigisCHANBarrelCh28_
Definition: SiPixelDigiSource.h:178
SiPixelDigiSource::meNDigisCHANBarrelCh21_
MonitorElement * meNDigisCHANBarrelCh21_
Definition: SiPixelDigiSource.h:171
SiPixelDigiSource::nDM1P1M4
int nDM1P1M4
Definition: SiPixelDigiSource.h:104
SiPixelDigiSource::nBPIXDigis
int nBPIXDigis
Definition: SiPixelDigiSource.h:134
SiPixelDigiSource::nDP2P2M2
int nDP2P2M2
Definition: SiPixelDigiSource.h:97
SiPixelDigiSource::buildStructure
virtual void buildStructure(edm::EventSetup const &)
Definition: SiPixelDigiSource.cc:1097
SiPixelDigiSource::nDM2P2M2
int nDM2P2M2
Definition: SiPixelDigiSource.h:113
SiPixelDigiSource::nDP2P1M4
int nDP2P1M4
Definition: SiPixelDigiSource.h:95
SiPixelDigiSource::DoZeroRocsBMO3
bool DoZeroRocsBMO3
Definition: SiPixelDigiSource.h:199
SiPixelDigiSource::nDP2P2M3
int nDP2P2M3
Definition: SiPixelDigiSource.h:98
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
SiPixelDigiSource::nDigisPerDisk
int nDigisPerDisk[6]
Definition: SiPixelDigiSource.h:236
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PixelEndcapName::mI
Definition: PixelEndcapName.h:18
SiPixelDigiSource::meNDigisCHANBarrelCh20_
MonitorElement * meNDigisCHANBarrelCh20_
Definition: SiPixelDigiSource.h:170
SiPixelDigiSource::meNDigisCHANBarrelCh5_
MonitorElement * meNDigisCHANBarrelCh5_
Definition: SiPixelDigiSource.h:155
SiPixelDigiSource::bigEventRate
MonitorElement * bigEventRate
Definition: SiPixelDigiSource.h:136
SiPixelDigiSource::reducedSet
bool reducedSet
Definition: SiPixelDigiSource.h:78
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
SiPixelDigiSource::topFolderName_
std::string topFolderName_
Definition: SiPixelDigiSource.h:65
SiPixelDigiSource::meNDigisCHANBarrelCh30_
MonitorElement * meNDigisCHANBarrelCh30_
Definition: SiPixelDigiSource.h:180
SiPixelDigiSource::meNDigisCHANBarrelCh22_
MonitorElement * meNDigisCHANBarrelCh22_
Definition: SiPixelDigiSource.h:172
PixelBarrelName::shell
Shell shell() const
Definition: PixelBarrelName.h:40
SiPixelDigiSource::src_
edm::InputTag src_
Definition: SiPixelDigiSource.h:69
SiPixelDigiSource::nDM2P1M4
int nDM2P1M4
Definition: SiPixelDigiSource.h:111
PixelGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: PixelGeomDetUnit.cc:17
SiPixelDigiSource::DoZeroRocsFMI2
bool DoZeroRocsFMI2
Definition: SiPixelDigiSource.h:223
recoMuon::in
Definition: RecoMuonEnumerators.h:6
SiPixelDigiSource::nL4M2
int nL4M2
Definition: SiPixelDigiSource.h:130
SiPixelDigiSource::DoZeroRocsBMI1
bool DoZeroRocsBMI1
Definition: SiPixelDigiSource.h:201
SiPixelDigiSource::twoDimOnlyLayDisk
bool twoDimOnlyLayDisk
Definition: SiPixelDigiSource.h:76
SiPixelDigiSource::I_name
std::string I_name[1856]
Definition: SiPixelDigiSource.h:229
createfilelist.int
int
Definition: createfilelist.py:10
SiPixelDigiSource::nL4M1
int nL4M1
Definition: SiPixelDigiSource.h:129
iEvent
int iEvent
Definition: GenABIO.cc:224
SiPixelDigiSource::meNDigisCOMBEndcap_
MonitorElement * meNDigisCOMBEndcap_
Definition: SiPixelDigiSource.h:148
SiPixelDigiSource::DoZeroRocsBPO1
bool DoZeroRocsBPO1
Definition: SiPixelDigiSource.h:205
SiPixelDigiSource::nDP2P1M2
int nDP2P1M2
Definition: SiPixelDigiSource.h:93
SiPixelDigiSource::slowDown
bool slowDown
Definition: SiPixelDigiSource.h:72
SiPixelDigiSource::DoZeroRocsBPI2
bool DoZeroRocsBPI2
Definition: SiPixelDigiSource.h:210
SiPixelDigiSource::nL1M2
int nL1M2
Definition: SiPixelDigiSource.h:118
dqm::implementation::IBooker::UseLumiScope
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
Definition: DQMStore.h:463
PixelBarrelName::Shell
Shell
Definition: PixelBarrelName.h:18
SiPixelDigiSource::isPIB
bool isPIB
Definition: SiPixelDigiSource.h:71
TrackerGeometry::dets
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
Definition: TrackerGeometry.h:62
SiPixelDigiSource::nL2M4
int nL2M4
Definition: SiPixelDigiSource.h:124
SiPixelDigiSource::nDigisPerChan
int nDigisPerChan[1152]
Definition: SiPixelDigiSource.h:235
SiPixelDigiSource::nL1M3
int nL1M3
Definition: SiPixelDigiSource.h:119
SiPixelDigiSource::CountZeroROCsInSubstructure
virtual void CountZeroROCsInSubstructure(bool, bool &, SiPixelDigiModule *)
Definition: SiPixelDigiSource.cc:1427
get
#define get
SiPixelDigiSource::nDM2P1M3
int nDM2P1M3
Definition: SiPixelDigiSource.h:110
SiPixelDigiSource::ringOn
bool ringOn
Definition: SiPixelDigiSource.h:82
SiPixelDigiSource::nDM2P1M2
int nDM2P1M2
Definition: SiPixelDigiSource.h:109
SiPixelDigiSource::meNDigisCHANBarrelCh36_
MonitorElement * meNDigisCHANBarrelCh36_
Definition: SiPixelDigiSource.h:186
shell
Definition: shell.py:1
SiPixelDigiSource::nDigisA
int nDigisA
Definition: SiPixelDigiSource.h:238
PixelEndcapName::pO
Definition: PixelEndcapName.h:18
SiPixelDigiSource::I_fedId
int I_fedId[1856]
Definition: SiPixelDigiSource.h:231
SiPixelDigiSource::meNDigisCHANBarrelCh12_
MonitorElement * meNDigisCHANBarrelCh12_
Definition: SiPixelDigiSource.h:162
SiPixelDigiSource::DoZeroRocsBPI1
bool DoZeroRocsBPI1
Definition: SiPixelDigiSource.h:209
SiPixelDigiSource::meNDigisCHANBarrelCh31_
MonitorElement * meNDigisCHANBarrelCh31_
Definition: SiPixelDigiSource.h:181
SiPixelDigiSource::nDM2P2M1
int nDM2P2M1
Definition: SiPixelDigiSource.h:112
SiPixelDigiSource::NzeroROCs
int NzeroROCs[2]
Definition: SiPixelDigiSource.h:191
SiPixelDigiSource::conf_
edm::ParameterSet conf_
Definition: SiPixelDigiSource.h:68
SiPixelDigiSource::nL4M3
int nL4M3
Definition: SiPixelDigiSource.h:131
SiPixelDigiSource::nDP3P2M1
int nDP3P2M1
Definition: SiPixelDigiSource.h:100
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
SiPixelDigiSource::meNDigisCHANBarrelCh11_
MonitorElement * meNDigisCHANBarrelCh11_
Definition: SiPixelDigiSource.h:161
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
PixelEndcapName::HalfCylinder
HalfCylinder
Definition: PixelEndcapName.h:18
SiPixelDigiSource::loOccROCsEndcap
MonitorElement * loOccROCsEndcap
Definition: SiPixelDigiSource.h:142
SiPixelDigiSource::phiOn
bool phiOn
Definition: SiPixelDigiSource.h:80
PixelEndcapName::diskName
int diskName() const
disk id
Definition: PixelEndcapName.h:45
SiPixelDigiSource::srcToken_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > srcToken_
Definition: SiPixelDigiSource.h:242
SiPixelDigiSource::saveFile
bool saveFile
Definition: SiPixelDigiSource.h:70
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
SiPixelDigiSource::DoZeroRocsBMO1
bool DoZeroRocsBMO1
Definition: SiPixelDigiSource.h:197
SiPixelDigiSource::numberOfDigis
int numberOfDigis[336]
Definition: SiPixelDigiSource.h:237
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
SiPixelDigiSource::nL2M2
int nL2M2
Definition: SiPixelDigiSource.h:122
SiPixelDigiSource::meNDigisCHANBarrelCh25_
MonitorElement * meNDigisCHANBarrelCh25_
Definition: SiPixelDigiSource.h:175
Exception
Definition: hltDiff.cc:246
SiPixelDigiSource::nL4M4
int nL4M4
Definition: SiPixelDigiSource.h:132
SiPixelFolderOrganizer
Definition: SiPixelFolderOrganizer.h:26
SiPixelDigiSource::thePixelStructure
std::map< uint32_t, SiPixelDigiModule * > thePixelStructure
Definition: SiPixelDigiSource.h:83
SiPixelDigiSource::layOn
bool layOn
Definition: SiPixelDigiSource.h:80
SiPixelDigiSource::I_linkId1
int I_linkId1[1856]
Definition: SiPixelDigiSource.h:232
SiPixelDigiSource::modOn
bool modOn
Definition: SiPixelDigiSource.h:73
SiPixelDigiSource::nFPIXDigis
int nFPIXDigis
Definition: SiPixelDigiSource.h:135
SiPixelDigiSource::noOfDisks
int noOfDisks
Definition: SiPixelDigiSource.h:244
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
SiPixelDigiSource::bigEventSize
int bigEventSize
Definition: SiPixelDigiSource.h:225
timingPdfMaker.infile
infile
Definition: timingPdfMaker.py:350
SiPixelDigiSource::meNDigisCHANBarrelCh9_
MonitorElement * meNDigisCHANBarrelCh9_
Definition: SiPixelDigiSource.h:159
SiPixelDigiSource::nDP2P1M1
int nDP2P1M1
Definition: SiPixelDigiSource.h:92
SiPixelDigiSource::meNDigisCHANBarrelCh10_
MonitorElement * meNDigisCHANBarrelCh10_
Definition: SiPixelDigiSource.h:160
SiPixelDigiSource::nL2M1
int nL2M1
Definition: SiPixelDigiSource.h:121
SiPixelDigiSource::nDM2P2M3
int nDM2P2M3
Definition: SiPixelDigiSource.h:114
PixelEndcapName::plaquetteName
int plaquetteName() const
plaquetteId (in pannel)
Definition: PixelEndcapName.h:54
SiPixelDigiSource::nL1M1
int nL1M1
Definition: SiPixelDigiSource.h:117
SiPixelDigiSource::NloEffROCs
int NloEffROCs[2]
Definition: SiPixelDigiSource.h:192
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
SiPixelDigiSource::meNDigisCHANBarrelCh1_
MonitorElement * meNDigisCHANBarrelCh1_
Definition: SiPixelDigiSource.h:151
SiPixelDigiSource::meNDigisCHANEndcap_
MonitorElement * meNDigisCHANEndcap_
Definition: SiPixelDigiSource.h:187
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
SiPixelDigiSource::meNDigisCHANBarrelCh2_
MonitorElement * meNDigisCHANBarrelCh2_
Definition: SiPixelDigiSource.h:152
SiPixelDigiSource::nDM3P1M1
int nDM3P1M1
Definition: SiPixelDigiSource.h:115
SiPixelDigiSource::DoZeroRocsFPI2
bool DoZeroRocsFPI2
Definition: SiPixelDigiSource.h:220
PixelEndcapName::pI
Definition: PixelEndcapName.h:18
SiPixelDigiSource::meNDigisCHANBarrelCh29_
MonitorElement * meNDigisCHANBarrelCh29_
Definition: SiPixelDigiSource.h:179
SiPixelDigiSource::I_linkId2
int I_linkId2[1856]
Definition: SiPixelDigiSource.h:233
SiPixelDigiSource::meNDigisCHANBarrelCh7_
MonitorElement * meNDigisCHANBarrelCh7_
Definition: SiPixelDigiSource.h:157
SiPixelDigiSource::nDP1P1M1
int nDP1P1M1
Definition: SiPixelDigiSource.h:85
SiPixelDigiSource::DoZeroRocsFMI1
bool DoZeroRocsFMI1
Definition: SiPixelDigiSource.h:222
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
SiPixelDigiSource::DoZeroRocsFMO1
bool DoZeroRocsFMO1
Definition: SiPixelDigiSource.h:216
edm::InputTag
Definition: InputTag.h:15
SiPixelDigiSource::nDP1P2M3
int nDP1P2M3
Definition: SiPixelDigiSource.h:91
SiPixelDigiSource::DoZeroRocsBMO2
bool DoZeroRocsBMO2
Definition: SiPixelDigiSource.h:198
SiPixelDigiSource::meNDigisCHANBarrelCh6_
MonitorElement * meNDigisCHANBarrelCh6_
Definition: SiPixelDigiSource.h:156
SiPixelDigiSource::averageDigiOccupancy
MonitorElement * averageDigiOccupancy
Definition: SiPixelDigiSource.h:143
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
SiPixelDigiSource::DoZeroRocsBMI3
bool DoZeroRocsBMI3
Definition: SiPixelDigiSource.h:203
SiPixelDigiSource::avgfedDigiOccvsLumi
MonitorElement * avgfedDigiOccvsLumi
Definition: SiPixelDigiSource.h:146
SiPixelDigiSource::meNDigisCHANBarrelCh8_
MonitorElement * meNDigisCHANBarrelCh8_
Definition: SiPixelDigiSource.h:158
SiPixelDigiSource::nDP2P2M1
int nDP2P2M1
Definition: SiPixelDigiSource.h:96