CMS 3D CMS Logo

SiPixelEDAClient.h
Go to the documentation of this file.
1 #ifndef SiPixelEDAClient_H
2 #define SiPixelEDAClient_H
3 
10 
11 // Stuff for cabling map to allow end run computations
14 
16 
17 #include <fstream>
18 #include <iostream>
19 #include <map>
20 #include <string>
21 #include <vector>
22 
23 class SiPixelWebInterface;
25 class SiPixelDataQuality;
27 
29 public:
31  ~SiPixelEDAClient() override;
32 
33 protected:
34  void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override;
36  DQMStore::IGetter &iGetter,
37  edm::LuminosityBlock const &lumiSeg,
38  edm::EventSetup const &c) override;
39  void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override;
40 
41 private:
42  unsigned long long m_cacheID_;
44  int nEvents_;
48 
49  SiPixelWebInterface *sipixelWebInterface_;
53 
56  unsigned int staticUpdateFrequency_;
61  bool hiRes_;
62  double noiseRate_;
65  int nFEDs_;
66  bool Tier0Flag_;
67  bool firstLumi;
69  bool isUpgrade_;
71 
72  std::ostringstream html_out_;
73 
76 
78 };
79 
80 #endif
DQMEDHarvester.h
SiPixelEDAClient::sipixelWebInterface_
SiPixelWebInterface * sipixelWebInterface_
Definition: SiPixelEDAClient.h:49
SiPixelInformationExtractor
Definition: SiPixelInformationExtractor.h:33
SiPixelEDAClient::actionOnLumiSec_
bool actionOnLumiSec_
Definition: SiPixelEDAClient.h:57
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
SiPixelEDAClient::cablingMapToken_
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_
Definition: SiPixelEDAClient.h:77
SiPixelEDAClient::m_cacheID_
unsigned long long m_cacheID_
Definition: SiPixelEDAClient.h:42
edm::EDGetTokenT< FEDRawDataCollection >
LuminosityBlock.h
SiPixelEDAClient::sipixelDataQuality_
SiPixelDataQuality * sipixelDataQuality_
Definition: SiPixelEDAClient.h:51
SiPixelEDAClient
Definition: SiPixelEDAClient.h:28
SiPixelEDAClient::html_out_
std::ostringstream html_out_
Definition: SiPixelEDAClient.h:72
SiPixelEDAClient::tkMapFrequency_
int tkMapFrequency_
Definition: SiPixelEDAClient.h:54
SiPixelEDAClient::noiseRate_
double noiseRate_
Definition: SiPixelEDAClient.h:62
SiPixelFedCablingMap.h
DQMStore.h
SiPixelEDAClient::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
Definition: SiPixelEDAClient.cc:156
SiPixelEDAClient::doHitEfficiency_
bool doHitEfficiency_
Definition: SiPixelEDAClient.h:68
SiPixelEDAClient::Tier0Flag_
bool Tier0Flag_
Definition: SiPixelEDAClient.h:66
SiPixelEDAClient::~SiPixelEDAClient
~SiPixelEDAClient() override
Definition: SiPixelEDAClient.cc:106
SiPixelEDAClient::sipixelInformationExtractor_
SiPixelInformationExtractor * sipixelInformationExtractor_
Definition: SiPixelEDAClient.h:50
SiPixelEDAClient::firstLumi
bool firstLumi
Definition: SiPixelEDAClient.h:67
SiPixelEDAClient::hiRes_
bool hiRes_
Definition: SiPixelEDAClient.h:61
Run.h
SiPixelEDAClient::evtOffsetForInit_
int evtOffsetForInit_
Definition: SiPixelEDAClient.h:59
SiPixelEDAClient::nEvents_
int nEvents_
Definition: SiPixelEDAClient.h:44
SiPixelEDAClient::nEvents_lastLS_
int nEvents_lastLS_
Definition: SiPixelEDAClient.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelEDAClient::sipixelActionExecutor_
SiPixelActionExecutor * sipixelActionExecutor_
Definition: SiPixelEDAClient.h:52
SiPixelEDAClient::isUpgrade_
bool isUpgrade_
Definition: SiPixelEDAClient.h:69
SiPixelEDAClient::inputSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
Definition: SiPixelEDAClient.h:74
edm::ParameterSet
Definition: ParameterSet.h:47
SiPixelEDAClient::nErrorsEndcap_lastLS_
int nErrorsEndcap_lastLS_
Definition: SiPixelEDAClient.h:47
SiPixelFedCablingMapRcd.h
SiPixelEDAClient::inputSource_
std::string inputSource_
Definition: SiPixelEDAClient.h:70
SiPixelEDAClient::noiseRateDenominator_
int noiseRateDenominator_
Definition: SiPixelEDAClient.h:63
FEDRawDataCollection.h
SiPixelEDAClient::summaryXMLfile_
std::string summaryXMLfile_
Definition: SiPixelEDAClient.h:60
SiPixelDataQuality
Definition: SiPixelDataQuality.h:30
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd >
SiPixelFedCablingMap
Definition: SiPixelFedCablingMap.h:19
SiPixelEDAClient::theCablingMap
SiPixelFedCablingMap theCablingMap
Definition: SiPixelEDAClient.h:75
DQMEDHarvester
Definition: DQMEDHarvester.py:1
SiPixelEDAClient::nFEDs_
int nFEDs_
Definition: SiPixelEDAClient.h:65
writedatasetfile.run
run
Definition: writedatasetfile.py:27
SiPixelEDAClient::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiPixelEDAClient.cc:130
SiPixelActionExecutor
Definition: SiPixelActionExecutor.h:44
Frameworkfwd.h
SiPixelEDAClient::staticUpdateFrequency_
unsigned int staticUpdateFrequency_
Definition: SiPixelEDAClient.h:56
dqm::implementation::IGetter
Definition: DQMStore.h:484
SiPixelEDAClient::offlineXMLfile_
bool offlineXMLfile_
Definition: SiPixelEDAClient.h:64
SiPixelEDAClient::summaryFrequency_
int summaryFrequency_
Definition: SiPixelEDAClient.h:55
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelEDAClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
Definition: SiPixelEDAClient.cc:251
ParameterSet.h
SiPixelEDAClient::nLumiSecs_
int nLumiSecs_
Definition: SiPixelEDAClient.h:43
SiPixelEDAClient::SiPixelEDAClient
SiPixelEDAClient(const edm::ParameterSet &ps)
Definition: SiPixelEDAClient.cc:52
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
SiPixelEDAClient::actionOnRunEnd_
bool actionOnRunEnd_
Definition: SiPixelEDAClient.h:58
SiPixelEDAClient::nErrorsBarrel_lastLS_
int nErrorsBarrel_lastLS_
Definition: SiPixelEDAClient.h:46