Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQM
SiPixelHistoricInfoClient
interface
SiPixelHistoricInfoEDAClient.h
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
2
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
3
#include "
FWCore/Framework/interface/Event.h
"
4
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
5
#include "
FWCore/Framework/interface/Run.h
"
6
#include "
FWCore/Framework/interface/MakerMacros.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/ServiceRegistry/interface/Service.h
"
9
10
#include "
DQMServices/Core/interface/MonitorElement.h
"
11
#include "
DQMServices/Core/interface/DQMStore.h
"
12
#include "
DQM/SiPixelCommon/interface/SiPixelHistogramId.h
"
13
14
#include "
CondFormats/SiPixelObjects/interface/SiPixelPerformanceSummary.h
"
15
16
// #include "DQM/SiPixelHistoricInfoClient/interface/SiPixelHistoricInfoWebInterface.h"
17
18
19
class
SiPixelHistoricInfoEDAClient
:
public
edm::EDAnalyzer
{
20
public
:
21
explicit
SiPixelHistoricInfoEDAClient
(
const
edm::ParameterSet
&);
22
~SiPixelHistoricInfoEDAClient
();
23
24
private
:
25
virtual
void
beginJob
();
26
virtual
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&);
27
virtual
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
&,
const
edm::EventSetup
&);
28
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
29
virtual
void
endLuminosityBlock
(
const
edm::LuminosityBlock
&,
const
edm::EventSetup
&);
30
virtual
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&);
31
virtual
void
endJob
();
32
33
void
retrieveMEs
();
34
void
fillPerformanceSummary
()
const
;
35
void
writeDB
()
const
;
36
void
saveFile
(std::string
filename
)
const
{
dbe_
->
save
(filename); }
37
38
private
:
39
bool
printDebug_
;
40
bool
writeHisto_
;
41
std::string
outputDir_
;
42
43
edm::ParameterSet
parameterSet_
;
44
DQMStore
*
dbe_
;
45
46
bool
firstEventInRun
;
47
int
nEventsInRun
;
48
49
SiPixelHistogramId
histogramManager
;
50
std::map< uint32_t, std::vector<MonitorElement*> >
mapOfdetIDtoMEs
;
51
SiPixelPerformanceSummary
*
performanceSummary
;
52
53
// SiPixelHistoricInfoWebInterface* webInterface_;
54
// bool defaultWebPageCreated_;
55
};
56
SiPixelHistoricInfoEDAClient::fillPerformanceSummary
void fillPerformanceSummary() const
Definition:
SiPixelHistoricInfoEDAClient.cc:163
SiPixelHistoricInfoEDAClient::endLuminosityBlock
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
Definition:
SiPixelHistoricInfoEDAClient.cc:61
SiPixelHistoricInfoEDAClient::histogramManager
SiPixelHistogramId histogramManager
Definition:
SiPixelHistoricInfoEDAClient.h:49
SiPixelHistoricInfoEDAClient::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
SiPixelHistoricInfoEDAClient.cc:51
SiPixelHistoricInfoEDAClient::saveFile
void saveFile(std::string filename) const
Definition:
SiPixelHistoricInfoEDAClient.h:36
SiPixelHistoricInfoEDAClient::~SiPixelHistoricInfoEDAClient
~SiPixelHistoricInfoEDAClient()
Definition:
SiPixelHistoricInfoEDAClient.cc:30
SiPixelHistoricInfoEDAClient::SiPixelHistoricInfoEDAClient
SiPixelHistoricInfoEDAClient(const edm::ParameterSet &)
Definition:
SiPixelHistoricInfoEDAClient.cc:18
SiPixelPerformanceSummary.h
SiPixelHistoricInfoEDAClient::performanceSummary
SiPixelPerformanceSummary * performanceSummary
Definition:
SiPixelHistoricInfoEDAClient.h:51
SiPixelHistogramId.h
Event.h
DQMStore::save
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition:
DQMStore.cc:2113
edm::LuminosityBlock
Definition:
LuminosityBlock.h:37
MakerMacros.h
SiPixelHistoricInfoEDAClient::nEventsInRun
int nEventsInRun
Definition:
SiPixelHistoricInfoEDAClient.h:47
SiPixelHistoricInfoEDAClient::mapOfdetIDtoMEs
std::map< uint32_t, std::vector< MonitorElement * > > mapOfdetIDtoMEs
Definition:
SiPixelHistoricInfoEDAClient.h:50
SiPixelHistoricInfoEDAClient::printDebug_
bool printDebug_
Definition:
SiPixelHistoricInfoEDAClient.h:39
SiPixelHistoricInfoEDAClient::outputDir_
std::string outputDir_
Definition:
SiPixelHistoricInfoEDAClient.h:41
SiPixelHistoricInfoEDAClient::retrieveMEs
void retrieveMEs()
Definition:
SiPixelHistoricInfoEDAClient.cc:89
Frameworkfwd.h
ParameterSet.h
DQMStore
Definition:
DQMStore.h:67
SiPixelHistogramId
Definition:
SiPixelHistogramId.h:25
SiPixelHistoricInfoEDAClient::beginJob
virtual void beginJob()
Definition:
SiPixelHistoricInfoEDAClient.cc:33
SiPixelHistoricInfoEDAClient::dbe_
DQMStore * dbe_
Definition:
SiPixelHistoricInfoEDAClient.h:44
SiPixelHistoricInfoEDAClient::writeHisto_
bool writeHisto_
Definition:
SiPixelHistoricInfoEDAClient.h:40
DQMStore.h
SiPixelHistoricInfoEDAClient::beginLuminosityBlock
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
Definition:
SiPixelHistoricInfoEDAClient.cc:45
SiPixelHistoricInfoEDAClient::firstEventInRun
bool firstEventInRun
Definition:
SiPixelHistoricInfoEDAClient.h:46
SiPixelHistoricInfoEDAClient::endJob
virtual void endJob()
Definition:
SiPixelHistoricInfoEDAClient.cc:80
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
SiPixelHistoricInfoEDAClient::endRun
virtual void endRun(const edm::Run &, const edm::EventSetup &)
Definition:
SiPixelHistoricInfoEDAClient.cc:65
Run.h
SiPixelPerformanceSummary
Definition:
SiPixelPerformanceSummary.h:15
SiPixelHistoricInfoEDAClient::parameterSet_
edm::ParameterSet parameterSet_
Definition:
SiPixelHistoricInfoEDAClient.h:43
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
SiPixelHistoricInfoEDAClient::beginRun
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition:
SiPixelHistoricInfoEDAClient.cc:36
SiPixelHistoricInfoEDAClient
Definition:
SiPixelHistoricInfoEDAClient.h:19
MonitorElement.h
LuminosityBlock.h
lut2db_cfg.filename
tuple filename
Definition:
lut2db_cfg.py:20
SiPixelHistoricInfoEDAClient::writeDB
void writeDB() const
Definition:
SiPixelHistoricInfoEDAClient.cc:292
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
edm::Run
Definition:
Run.h:33
Generated for CMSSW Reference Manual by
1.8.5