CMS 3D CMS Logo

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

#include <SiPixelEDAClient.h>

Inheritance diagram for SiPixelEDAClient:
DQMEDHarvester edm::one::EDProducer< T > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 SiPixelEDAClient (const edm::ParameterSet &ps)
 
 ~SiPixelEDAClient () override
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &) override
 
virtual void dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &)
 
 DQMEDHarvester (edm::ParameterSet const &iConfig)
 
 DQMEDHarvester ()
 
virtual void dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final
 
void endProcessBlockProduce (edm::ProcessBlock &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &es) final
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< T >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
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
 
const EDProduceroperator= (const EDProducer &)=delete
 
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
 
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)
 
 ~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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override
 
void dqmEndJob (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
 
void dqmEndLuminosityBlock (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
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...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Private Attributes

bool actionOnLumiSec_
 
bool actionOnRunEnd_
 
edm::ESGetToken
< SiPixelFedCablingMap,
SiPixelFedCablingMapRcd
cablingMapToken_
 
bool doHitEfficiency_
 
int evtOffsetForInit_
 
bool firstLumi
 
bool hiRes_
 
std::ostringstream html_out_
 
std::string inputSource_
 
edm::EDGetTokenT
< FEDRawDataCollection
inputSourceToken_
 
bool isUpgrade_
 
unsigned long long m_cacheID_
 
int nErrorsBarrel_lastLS_
 
int nErrorsEndcap_lastLS_
 
int nEvents_
 
int nEvents_lastLS_
 
int nFEDs_
 
int nLumiSecs_
 
double noiseRate_
 
int noiseRateDenominator_
 
bool offlineXMLfile_
 
SiPixelActionExecutorsipixelActionExecutor_
 
SiPixelDataQualitysipixelDataQuality_
 
SiPixelInformationExtractorsipixelInformationExtractor_
 
SiPixelWebInterface * sipixelWebInterface_
 
unsigned int staticUpdateFrequency_
 
int summaryFrequency_
 
std::string summaryXMLfile_
 
SiPixelFedCablingMap theCablingMap
 
bool Tier0Flag_
 
int tkMapFrequency_
 

Additional Inherited Members

- Public Types inherited from DQMEDHarvester
typedef dqm::harvesting::DQMStore DQMStore
 
typedef
dqm::harvesting::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
 
- 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 Attributes inherited from DQMEDHarvester
DQMStoredqmstore_
 
edm::GetterOfProducts< DQMTokenjobmegetter_
 
edm::EDPutTokenT< DQMTokenjobToken_
 
edm::GetterOfProducts< DQMTokenlumimegetter_
 
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::GetterOfProducts< DQMTokenrunmegetter_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 28 of file SiPixelEDAClient.h.

Constructor & Destructor Documentation

SiPixelEDAClient::SiPixelEDAClient ( const edm::ParameterSet ps)

Definition at line 52 of file SiPixelEDAClient.cc.

References visDQMUpload::buf, BUF_SIZE, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, groupFilesInBlocks::fin, contentValuesFiles::fullPath, edm::ParameterSet::getUntrackedParameter(), recoMuon::in, and AlCaHLTBitMon_QueryRunRegistry::string.

52  {
53  // cout<<"Entering SiPixelEDAClient::SiPixelEDAClient: "<<endl;
54 
55  edm::LogInfo("SiPixelEDAClient") << " Creating SiPixelEDAClient "
56  << "\n";
57 
58  summaryFrequency_ = ps.getUntrackedParameter<int>("SummaryCreationFrequency", 20);
59  tkMapFrequency_ = ps.getUntrackedParameter<int>("TkMapCreationFrequency", 50);
60  staticUpdateFrequency_ = ps.getUntrackedParameter<int>("StaticUpdateFrequency", 10);
61  actionOnLumiSec_ = ps.getUntrackedParameter<bool>("ActionOnLumiSection", false); // client
62  actionOnRunEnd_ = ps.getUntrackedParameter<bool>("ActionOnRunEnd", true); // client
63  evtOffsetForInit_ = ps.getUntrackedParameter<int>("EventOffsetForInit", 10); // client
64  offlineXMLfile_ = ps.getUntrackedParameter<bool>("UseOfflineXMLFile", false); // client
65  hiRes_ = ps.getUntrackedParameter<bool>("HighResolutionOccupancy",
66  false); // client
67  noiseRate_ = ps.getUntrackedParameter<double>("NoiseRateCutValue", 0.001); // client
68  noiseRateDenominator_ = ps.getUntrackedParameter<int>("NEventsForNoiseCalculation", 100000); // client
69  Tier0Flag_ = ps.getUntrackedParameter<bool>("Tier0Flag", false); // client
70  doHitEfficiency_ = ps.getUntrackedParameter<bool>("DoHitEfficiency", true); // client
71  inputSource_ = ps.getUntrackedParameter<string>("inputSource", "source");
72  isUpgrade_ = ps.getUntrackedParameter<bool>("isUpgrade", false); // client
73 
74  if (!Tier0Flag_) {
75  string localPath = string("DQM/SiPixelMonitorClient/test/loader.html");
76  std::ifstream fin(edm::FileInPath(localPath).fullPath().c_str(), ios::in);
77  char buf[BUF_SIZE];
78 
79  if (!fin) {
80  cerr << "Input File: loader.html"
81  << " could not be opened!" << endl;
82  return;
83  }
84 
85  while (fin.getline(buf, BUF_SIZE, '\n')) { // pops off the newline character
86  html_out_ << buf;
87  }
88  fin.close();
89  }
90 
91  firstLumi = true;
92 
93  // instantiate the three work horses of the client:
97 
98  inputSourceToken_ = consumes<FEDRawDataCollection>(ps.getUntrackedParameter<string>("inputSource", "source"));
99  cablingMapToken_ = esConsumes<SiPixelFedCablingMap, SiPixelFedCablingMapRcd, edm::Transition::EndLuminosityBlock>();
100  // cout<<"...leaving SiPixelEDAClient::SiPixelEDAClient. "<<endl;
101 }
T getUntrackedParameter(std::string const &, T const &) const
unsigned int staticUpdateFrequency_
SiPixelInformationExtractor * sipixelInformationExtractor_
std::string inputSource_
SiPixelActionExecutor * sipixelActionExecutor_
#define BUF_SIZE
std::ostringstream html_out_
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_
Log< level::Info, false > LogInfo
SiPixelDataQuality * sipixelDataQuality_
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
SiPixelEDAClient::~SiPixelEDAClient ( )
override

Definition at line 106 of file SiPixelEDAClient.cc.

106  {
107  // cout<<"Entering SiPixelEDAClient::~SiPixelEDAClient: "<<endl;
108 
109  edm::LogInfo("SiPixelEDAClient") << " Deleting SiPixelEDAClient "
110  << "\n";
111 
115  }
117  delete sipixelActionExecutor_;
118  sipixelActionExecutor_ = nullptr;
119  }
120  if (sipixelDataQuality_) {
121  delete sipixelDataQuality_;
122  sipixelDataQuality_ = nullptr;
123  }
124 
125  // cout<<"...leaving SiPixelEDAClient::~SiPixelEDAClient. "<<endl;
126 }
SiPixelInformationExtractor * sipixelInformationExtractor_
SiPixelActionExecutor * sipixelActionExecutor_
Log< level::Info, false > LogInfo
SiPixelDataQuality * sipixelDataQuality_

Member Function Documentation

void SiPixelEDAClient::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprotected

cout << "-----------NEW RUN---------------" << endl;

Definition at line 130 of file SiPixelEDAClient.cc.

130  {
131  edm::LogInfo("SiPixelEDAClient") << "[SiPixelEDAClient]: Begining of Run";
132  // cout<<"Entering SiPixelEDAClient::beginRun: "<<endl;
133 
135 
136  if (firstLumi) {
137  summaryFrequency_ = -1;
138  tkMapFrequency_ = -1;
139  actionOnRunEnd_ = true;
140  evtOffsetForInit_ = -1;
141 
142  nLumiSecs_ = 0;
143  nEvents_ = 0;
144  if (Tier0Flag_)
145  nFEDs_ = 40;
146  else
147  nFEDs_ = 0;
148  }
149 
150  // cout<<"...leaving SiPixelEDAClient::beginRun. "<<endl;
151 }
Log< level::Info, false > LogInfo
void SiPixelEDAClient::dqmEndJob ( DQMStore::IBooker iBooker,
DQMStore::IGetter iGetter 
)
overrideprotectedvirtual

cout << "[SiPixelEDAClient]: endjob called!" << endl;

Implements DQMEDHarvester.

Definition at line 251 of file SiPixelEDAClient.cc.

References dqm::implementation::NavigatorBase::cd(), and init.

251  {
252  // cout<<"In SiPixelEDAClient::endJob "<<endl;
253  edm::LogInfo("SiPixelEDAClient") << "[SiPixelEDAClient]: endjob called!";
255  sipixelActionExecutor_->createSummary(iBooker, iGetter, isUpgrade_);
256 
257  if (actionOnRunEnd_) {
258  // sipixelActionExecutor_->createSummary(iBooker, iGetter, isUpgrade_);
259 
260  if (doHitEfficiency_) {
263  }
264 
265  sipixelActionExecutor_->createOccupancy(iBooker, iGetter);
266 
267  if (Tier0Flag_)
268  sipixelActionExecutor_->normaliseAvDigiOcc(iBooker, iGetter);
269 
270  iBooker.cd();
271  iGetter.cd();
272  bool init = true;
274  init = true;
275  iBooker.cd();
276  iGetter.cd();
277 
279  init = true;
280  if (noiseRate_ >= 0.)
282  iBooker, iGetter, init, noiseRate_, noiseRateDenominator_, &theCablingMap);
283  }
284 }
void createEfficiency(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool isUpgrade)
int init
Definition: HydjetWrapper.h:64
SiPixelInformationExtractor * sipixelInformationExtractor_
SiPixelActionExecutor * sipixelActionExecutor_
SiPixelFedCablingMap theCablingMap
void normaliseAvDigiOcc(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
void findNoisyPixels(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, float noiseRate, int noiseRateDenominator, const SiPixelFedCablingMap *theCablingMap)
void createSummary(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool isUpgrade)
void computeGlobalQualityFlag(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, int nFEDs, bool Tier0Flag)
Log< level::Info, false > LogInfo
SiPixelDataQuality * sipixelDataQuality_
void fillGlobalQualityPlot(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, const SiPixelFedCablingMap *theCablingMap, int nFEDs, bool Tier0Flag, int lumisec)
void fillEfficiencySummary(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
void createOccupancy(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
void SiPixelEDAClient::dqmEndLuminosityBlock ( DQMStore::IBooker iBooker,
DQMStore::IGetter iGetter,
edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  c 
)
overrideprotectedvirtual

std::cout << "CREATING SUMMARY" << std::endl;

std::cout << "NEW LUMISECTION n " << nLumiSecs_ << std::endl;

Reimplemented from DQMEDHarvester.

Definition at line 156 of file SiPixelEDAClient.cc.

References dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getBinContent(), edm::EventSetup::getData(), dqm::impl::MonitorElement::getNbinsX(), mps_fire::i, edm::LuminosityBlockBase::id(), init, edm::LuminosityBlockBase::luminosityBlock(), edm::LuminosityBlockID::luminosityBlock(), hlt_dqm_clientPB-live_cfg::me, dqm::impl::MonitorElement::Reset(), and dqm::implementation::NavigatorBase::setCurrentFolder().

159  {
160  // cout<<"Entering SiPixelEDAClient::endLuminosityBlock: "<<endl;
161 
162  edm::LogInfo("SiPixelEDAClient") << "[SiPixelEDAClient]: Begin of LS transition";
163 
164  // Moved from beginLumi
165  nEvents_lastLS_ = 0;
168  MonitorElement *me = iGetter.get("Pixel/AdditionalPixelErrors/byLumiErrors");
169  if (me) {
170  nEvents_lastLS_ = int(me->getBinContent(0));
171  nErrorsBarrel_lastLS_ = int(me->getBinContent(1));
172  nErrorsEndcap_lastLS_ = int(me->getBinContent(2));
173  me->Reset();
174  }
175 
177  sipixelActionExecutor_->createSummary(iBooker, iGetter, isUpgrade_);
178 
179  if (firstLumi) {
180  iBooker.setCurrentFolder("Pixel/");
181  iGetter.setCurrentFolder("Pixel/");
182  // Creating Summary Histos:
183  // std::cout << "CREATING SUMMARY" << std::endl;
184  // sipixelActionExecutor_->createSummary(iBooker,iGetter, isUpgrade_);
185  // Booking Deviation Histos:
186  if (!Tier0Flag_)
188  // Booking Efficiency Histos:
189  if (doHitEfficiency_)
191  // Creating occupancy plots:
193  // Booking noisy pixel ME's:
194  if (noiseRate_ > 0.)
196  // Booking summary report ME's:
198 
199  if (!Tier0Flag_) {
200  MonitorElement *mefed = iGetter.get("Pixel/EventInfo/DAQContents/fedcounter");
201  if (mefed) {
202  for (int i = 0; i < mefed->getNbinsX(); ++i)
203  nFEDs_ += mefed->getBinContent(i + 1);
204  }
205  }
206  // copy is intentional to allow using the SiPixelFedCablingMap in dqmEndJob() where accessing EventSetup products is not allowed
207  theCablingMap = eSetup.getData(cablingMapToken_);
208 
209  firstLumi = false;
210  }
211 
212  edm::LogInfo("SiPixelEDAClient") << "[SiPixelEDAClient]: End of LS transition, performing the DQM client "
213  "operation";
214  //
215  nLumiSecs_ = lumiSeg.id().luminosityBlock();
216 
218  // nLumiSecs_++;
219 
220  edm::LogInfo("SiPixelEDAClient") << "====================================================== " << endl
221  << " ===> Iteration # " << nLumiSecs_ << " " << lumiSeg.luminosityBlock() << endl
222  << "====================================================== " << endl;
223 
224  if (Tier0Flag_)
226 
227  bool init = true;
228  if (actionOnLumiSec_ && nLumiSecs_ % 1 == 0) {
229  if (doHitEfficiency_)
231  sipixelActionExecutor_->createOccupancy(iBooker, iGetter);
232  iBooker.cd();
233  iGetter.cd();
235  iGetter, init, nFEDs_, Tier0Flag_, nEvents_lastLS_, nErrorsBarrel_lastLS_, nErrorsEndcap_lastLS_);
236  init = true;
237  iBooker.cd();
238  iGetter.cd();
240  init = true;
241  if (noiseRate_ >= 0.)
243  iBooker, iGetter, init, noiseRate_, noiseRateDenominator_, &theCablingMap);
244  }
245 
246  // cout<<"...leaving SiPixelEDAClient::endLuminosityBlock. "<<endl;
247 }
void normaliseAvDigiOccVsLumi(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, int lumisec)
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
void createEfficiency(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool isUpgrade)
int init
Definition: HydjetWrapper.h:64
void bookOccupancyPlots(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool hiRes, bool isbarrel)
SiPixelInformationExtractor * sipixelInformationExtractor_
SiPixelActionExecutor * sipixelActionExecutor_
SiPixelFedCablingMap theCablingMap
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
void findNoisyPixels(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, float noiseRate, int noiseRateDenominator, const SiPixelFedCablingMap *theCablingMap)
virtual int getNbinsX() const
get # of bins in X-axis
void bookDeviations(DQMStore::IBooker &iBooker, bool isUpgrade)
void bookNoisyPixels(DQMStore::IBooker &iBooker, float noiseRate, bool Tier0Flag)
void createSummary(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool isUpgrade)
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:673
virtual double getBinContent(int binx) const
get content of bin (1-D)
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_
Log< level::Info, false > LogInfo
SiPixelDataQuality * sipixelDataQuality_
void computeGlobalQualityFlagByLumi(DQMStore::IGetter &iGetter, bool init, int nFEDs, bool Tier0Flag, int nEvents_lastLS_, int nErrorsBarrel_lastLS_, int nErrorsEndcap_lastLS_)
void fillGlobalQualityPlot(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, const SiPixelFedCablingMap *theCablingMap, int nFEDs, bool Tier0Flag, int lumisec)
void createOccupancy(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
void bookEfficiency(DQMStore::IBooker &iBooker, bool isUpgrade)
void bookGlobalQualityFlag(DQMStore::IBooker &iBooker, bool Tier0Flag, int nFEDs)

Member Data Documentation

bool SiPixelEDAClient::actionOnLumiSec_
private

Definition at line 57 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::actionOnRunEnd_
private

Definition at line 58 of file SiPixelEDAClient.h.

edm::ESGetToken<SiPixelFedCablingMap, SiPixelFedCablingMapRcd> SiPixelEDAClient::cablingMapToken_
private

Definition at line 77 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::doHitEfficiency_
private

Definition at line 68 of file SiPixelEDAClient.h.

int SiPixelEDAClient::evtOffsetForInit_
private

Definition at line 59 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::firstLumi
private

Definition at line 67 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::hiRes_
private

Definition at line 61 of file SiPixelEDAClient.h.

std::ostringstream SiPixelEDAClient::html_out_
private

Definition at line 72 of file SiPixelEDAClient.h.

std::string SiPixelEDAClient::inputSource_
private

Definition at line 70 of file SiPixelEDAClient.h.

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

Definition at line 74 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::isUpgrade_
private

Definition at line 69 of file SiPixelEDAClient.h.

unsigned long long SiPixelEDAClient::m_cacheID_
private

Definition at line 42 of file SiPixelEDAClient.h.

int SiPixelEDAClient::nErrorsBarrel_lastLS_
private

Definition at line 46 of file SiPixelEDAClient.h.

int SiPixelEDAClient::nErrorsEndcap_lastLS_
private

Definition at line 47 of file SiPixelEDAClient.h.

int SiPixelEDAClient::nEvents_
private

Definition at line 44 of file SiPixelEDAClient.h.

int SiPixelEDAClient::nEvents_lastLS_
private

Definition at line 45 of file SiPixelEDAClient.h.

int SiPixelEDAClient::nFEDs_
private

Definition at line 65 of file SiPixelEDAClient.h.

int SiPixelEDAClient::nLumiSecs_
private

Definition at line 43 of file SiPixelEDAClient.h.

double SiPixelEDAClient::noiseRate_
private

Definition at line 62 of file SiPixelEDAClient.h.

int SiPixelEDAClient::noiseRateDenominator_
private

Definition at line 63 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::offlineXMLfile_
private

Definition at line 64 of file SiPixelEDAClient.h.

SiPixelActionExecutor* SiPixelEDAClient::sipixelActionExecutor_
private

Definition at line 52 of file SiPixelEDAClient.h.

SiPixelDataQuality* SiPixelEDAClient::sipixelDataQuality_
private

Definition at line 51 of file SiPixelEDAClient.h.

SiPixelInformationExtractor* SiPixelEDAClient::sipixelInformationExtractor_
private

Definition at line 50 of file SiPixelEDAClient.h.

SiPixelWebInterface* SiPixelEDAClient::sipixelWebInterface_
private

Definition at line 49 of file SiPixelEDAClient.h.

unsigned int SiPixelEDAClient::staticUpdateFrequency_
private

Definition at line 56 of file SiPixelEDAClient.h.

int SiPixelEDAClient::summaryFrequency_
private

Definition at line 55 of file SiPixelEDAClient.h.

std::string SiPixelEDAClient::summaryXMLfile_
private

Definition at line 60 of file SiPixelEDAClient.h.

SiPixelFedCablingMap SiPixelEDAClient::theCablingMap
private

Definition at line 75 of file SiPixelEDAClient.h.

bool SiPixelEDAClient::Tier0Flag_
private

Definition at line 66 of file SiPixelEDAClient.h.

int SiPixelEDAClient::tkMapFrequency_
private

Definition at line 54 of file SiPixelEDAClient.h.