DQM
SiPixelMonitorClient
interface
SiPixelDaqInfo.h
Go to the documentation of this file.
1
#ifndef DQM_SiPixelMonitorClient_SiPixelDaqInfo_H
2
#define DQM_SiPixelMonitorClient_SiPixelDaqInfo_H
3
4
// system include files
5
#include <fstream>
6
#include <iostream>
7
#include <memory>
8
9
// DQM
10
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
11
12
#include "
CondFormats/DataRecord/interface/RunSummaryRcd.h
"
13
#include "
CondFormats/RunInfo/interface/RunInfo.h
"
14
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
15
16
class
SiPixelDaqInfo
:
public
DQMEDHarvester
{
17
public
:
18
explicit
SiPixelDaqInfo
(
const
edm::ParameterSet
&);
19
~SiPixelDaqInfo
()
override
;
20
21
private
:
22
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
23
DQMStore::IGetter
&,
24
const
edm::LuminosityBlock
&,
25
const
edm::EventSetup
&)
override
;
26
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
27
28
MonitorElement
*
Fraction_
;
29
MonitorElement
*
FractionBarrel_
;
30
MonitorElement
*
FractionEndcap_
;
31
32
std::pair<int, int>
FEDRange_
;
33
34
int
NumberOfFeds_
;
35
36
int
NEvents_
;
37
int
nFEDsBarrel_
;
38
int
nFEDsEndcap_
;
39
std::string
daqSource_
;
40
int
FEDs_
[40];
41
42
bool
firstLumi
;
43
44
// define Token(-s)
45
edm::EDGetTokenT<FEDRawDataCollection>
daqSourceToken_
;
46
edm::ESGetToken<RunInfo, RunInfoRcd>
runInfoToken_
;
47
};
48
49
#endif
DQMEDHarvester.h
RunSummaryRcd.h
SiPixelDaqInfo::nFEDsBarrel_
int nFEDsBarrel_
Definition:
SiPixelDaqInfo.h:37
SiPixelDaqInfo::daqSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > daqSourceToken_
Definition:
SiPixelDaqInfo.h:45
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
edm::EDGetTokenT< FEDRawDataCollection >
SiPixelDaqInfo::firstLumi
bool firstLumi
Definition:
SiPixelDaqInfo.h:42
SiPixelDaqInfo::daqSource_
std::string daqSource_
Definition:
SiPixelDaqInfo.h:39
SiPixelDaqInfo::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition:
SiPixelDaqInfo.h:46
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
SiPixelDaqInfo::FEDRange_
std::pair< int, int > FEDRange_
Definition:
SiPixelDaqInfo.h:32
SiPixelDaqInfo::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition:
SiPixelDaqInfo.cc:29
SiPixelDaqInfo::Fraction_
MonitorElement * Fraction_
Definition:
SiPixelDaqInfo.h:28
SiPixelDaqInfo::nFEDsEndcap_
int nFEDsEndcap_
Definition:
SiPixelDaqInfo.h:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelDaqInfo::SiPixelDaqInfo
SiPixelDaqInfo(const edm::ParameterSet &)
Definition:
SiPixelDaqInfo.cc:9
SiPixelDaqInfo::NEvents_
int NEvents_
Definition:
SiPixelDaqInfo.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
FEDRawDataCollection.h
edm::EventSetup
Definition:
EventSetup.h:58
SiPixelDaqInfo
Definition:
SiPixelDaqInfo.h:16
edm::ESGetToken< RunInfo, RunInfoRcd >
SiPixelDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
SiPixelDaqInfo.h:34
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
RunInfo.h
SiPixelDaqInfo::FractionBarrel_
MonitorElement * FractionBarrel_
Definition:
SiPixelDaqInfo.h:29
dqm::implementation::IGetter
Definition:
DQMStore.h:484
SiPixelDaqInfo::FractionEndcap_
MonitorElement * FractionEndcap_
Definition:
SiPixelDaqInfo.h:30
SiPixelDaqInfo::~SiPixelDaqInfo
~SiPixelDaqInfo() override
Definition:
SiPixelDaqInfo.cc:27
dqm::implementation::IBooker
Definition:
DQMStore.h:43
SiPixelDaqInfo::FEDs_
int FEDs_[40]
Definition:
SiPixelDaqInfo.h:40
SiPixelDaqInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
SiPixelDaqInfo.cc:103
Generated for CMSSW Reference Manual by
1.8.16