Main Page
Namespaces
Classes
Package Documentation
DQM
BeamMonitor
plugins
BeamConditionsMonitor.h
Go to the documentation of this file.
1
#ifndef BeamConditionsMonitor_H
2
#define BeamConditionsMonitor_H
3
10
// C++
11
#include <string>
12
// CMS
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
DQMServices/Core/interface/DQMGlobalEDAnalyzer.h
"
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
#include "
DQMServices/Core/interface/ConcurrentMonitorElement.h
"
18
19
//
20
// class declaration
21
//
22
namespace
beamcond
{
23
struct
RunCache
{
24
// MonitorElements
25
ConcurrentMonitorElement
h_x0_lumi
;
26
ConcurrentMonitorElement
h_y0_lumi
;
27
};
28
};
29
30
class
BeamConditionsMonitor
:
public
DQMGlobalEDAnalyzer
<beamcond::RunCache, edm::LuminosityBlockCache<void>> {
31
public
:
32
BeamConditionsMonitor
(
const
edm::ParameterSet
& );
33
~
BeamConditionsMonitor
()
override
=
default
;
34
35
protected
:
36
37
// Book Histograms
38
void
bookHistograms
(
DQMStore::ConcurrentBooker
&
i
,
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
,
beamcond::RunCache
& )
const override
;
39
40
// Fake Analyze
41
void
dqmAnalyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
& c,
beamcond::RunCache
const
& )
const override
;
42
43
// DQM Client Diagnostic (come from edm::LuminosityBlockCache use)
44
std::shared_ptr<void> globalBeginLuminosityBlock(
const
edm::LuminosityBlock
& lumiSeg,
45
const
edm::EventSetup
& c)
const override
;
46
void
globalEndLuminosityBlock(
edm::LuminosityBlock
const
&,
edm::EventSetup
const
&)
const override
;
47
48
private
:
49
50
std::string
monitorName_
;
51
const
edm::InputTag
bsSrc_
;
// beam spot
52
53
};
54
55
#endif
mps_fire.i
i
Definition:
mps_fire.py:338
beamcond::RunCache
Definition:
BeamConditionsMonitor.h:23
BeamConditionsMonitor::monitorName_
std::string monitorName_
Definition:
BeamConditionsMonitor.h:50
ConcurrentMonitorElement
Definition:
ConcurrentMonitorElement.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Frameworkfwd.h
beamcond::RunCache::h_x0_lumi
ConcurrentMonitorElement h_x0_lumi
Definition:
BeamConditionsMonitor.h:25
ParameterSet.h
beamcond
Definition:
BeamConditionsMonitor.h:22
DQMGlobalEDAnalyzer.h
dqmAnalyze
example_global void dqmAnalyze(edm::Event const &,@example_global edm::EventSetup const &,@example_global Histograms___class__ const &) const override
edm::EventSetup
Definition:
EventSetup.h:57
BeamConditionsMonitor::bsSrc_
const edm::InputTag bsSrc_
Definition:
BeamConditionsMonitor.h:51
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
edm::InputTag
Definition:
InputTag.h:15
DQMGlobalEDAnalyzer
Definition:
DQMGlobalEDAnalyzer.h:11
beamcond::RunCache::h_y0_lumi
ConcurrentMonitorElement h_y0_lumi
Definition:
BeamConditionsMonitor.h:26
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::ConcurrentBooker
Definition:
DQMStore.h:141
edm::Event
Definition:
Event.h:71
ConcurrentMonitorElement.h
BeamConditionsMonitor
Definition:
BeamConditionsMonitor.h:30
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.11