DQM
BeamMonitor
plugins
TKStatus.h
Go to the documentation of this file.
1
2
#ifndef TKStatus_H
3
#define TKStatus_H
4
11
// C++
12
#include <string>
13
#include <array>
14
// CMS
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
DataFormats/Scalers/interface/DcsStatus.h
"
20
#include <fstream>
21
22
//
23
// class declaration
24
//
25
26
class
TKStatus
:
public
edm::one::EDAnalyzer
<> {
27
public
:
28
TKStatus
(
const
edm::ParameterSet
&);
29
30
protected
:
31
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
32
33
private
:
34
void
dumpTkDcsStatus
(
std::string
const
&,
edm::RunNumber_t
, std::array<bool, 6>
const
&);
35
36
std::string
dcsTkFileName_
;
37
edm::EDGetTokenT<DcsStatusCollection>
dcsStatus_
;
38
39
int
lastlumi_
= -1;
40
// ----------member data ---------------------------
41
};
42
43
#endif
44
45
// Local Variables:
46
// show-trailing-whitespace: t
47
// truncate-lines: t
48
// End:
edm::RunNumber_t
unsigned int RunNumber_t
Definition:
RunLumiEventNumber.h:14
EDAnalyzer.h
DcsStatus.h
edm::EDGetTokenT< DcsStatusCollection >
TKStatus::dcsStatus_
edm::EDGetTokenT< DcsStatusCollection > dcsStatus_
Definition:
TKStatus.h:37
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
TKStatus::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
TKStatus.cc:21
TKStatus::lastlumi_
int lastlumi_
Definition:
TKStatus.h:39
TKStatus::dcsTkFileName_
std::string dcsTkFileName_
Definition:
TKStatus.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
TKStatus::dumpTkDcsStatus
void dumpTkDcsStatus(std::string const &, edm::RunNumber_t, std::array< bool, 6 > const &)
Definition:
TKStatus.cc:53
TKStatus
Definition:
TKStatus.h:26
TKStatus::TKStatus
TKStatus(const edm::ParameterSet &)
Definition:
TKStatus.cc:10
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
Frameworkfwd.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16