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
// FWCore
10
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
11
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/EventSetup.h
"
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
FWCore/ServiceRegistry/interface/Service.h
"
20
21
// DQM
22
#include "
DQMServices/Core/interface/DQMStore.h
"
23
24
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
25
26
class
SiPixelDaqInfo
:
public
DQMEDHarvester
{
27
public
:
28
explicit
SiPixelDaqInfo
(
const
edm::ParameterSet
&);
29
~SiPixelDaqInfo
()
override
;
30
31
private
:
32
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
33
DQMStore::IGetter
&,
34
const
edm::LuminosityBlock
&,
35
const
edm::EventSetup
&)
override
;
36
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
37
38
MonitorElement
*
Fraction_
;
39
MonitorElement
*
FractionBarrel_
;
40
MonitorElement
*
FractionEndcap_
;
41
42
std::pair<int, int>
FEDRange_
;
43
44
int
NumberOfFeds_
;
45
46
int
NEvents_
;
47
int
nFEDsBarrel_
;
48
int
nFEDsEndcap_
;
49
std::string
daqSource_
;
50
int
FEDs_
[40];
51
52
bool
firstLumi
;
53
54
// define Token(-s)
55
edm::EDGetTokenT<FEDRawDataCollection>
daqSourceToken_
;
56
};
57
58
#endif
DQMEDHarvester.h
SiPixelDaqInfo::nFEDsBarrel_
int nFEDsBarrel_
Definition:
SiPixelDaqInfo.h:47
ESHandle.h
SiPixelDaqInfo::daqSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > daqSourceToken_
Definition:
SiPixelDaqInfo.h:55
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
edm::EDGetTokenT< FEDRawDataCollection >
LuminosityBlock.h
SiPixelDaqInfo::firstLumi
bool firstLumi
Definition:
SiPixelDaqInfo.h:52
SiPixelDaqInfo::daqSource_
std::string daqSource_
Definition:
SiPixelDaqInfo.h:49
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
EDAnalyzer.h
SiPixelDaqInfo::FEDRange_
std::pair< int, int > FEDRange_
Definition:
SiPixelDaqInfo.h:42
MakerMacros.h
SiPixelDaqInfo::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition:
SiPixelDaqInfo.cc:30
Service.h
SiPixelDaqInfo::Fraction_
MonitorElement * Fraction_
Definition:
SiPixelDaqInfo.h:38
SiPixelDaqInfo::nFEDsEndcap_
int nFEDsEndcap_
Definition:
SiPixelDaqInfo.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelDaqInfo::SiPixelDaqInfo
SiPixelDaqInfo(const edm::ParameterSet &)
Definition:
SiPixelDaqInfo.cc:11
SiPixelDaqInfo::NEvents_
int NEvents_
Definition:
SiPixelDaqInfo.h:46
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
FEDRawDataCollection.h
edm::EventSetup
Definition:
EventSetup.h:57
SiPixelDaqInfo
Definition:
SiPixelDaqInfo.h:26
SiPixelDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
SiPixelDaqInfo.h:44
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
SiPixelDaqInfo::FractionBarrel_
MonitorElement * FractionBarrel_
Definition:
SiPixelDaqInfo.h:39
Frameworkfwd.h
dqm::implementation::IGetter
Definition:
DQMStore.h:484
SiPixelDaqInfo::FractionEndcap_
MonitorElement * FractionEndcap_
Definition:
SiPixelDaqInfo.h:40
SiPixelDaqInfo::~SiPixelDaqInfo
~SiPixelDaqInfo() override
Definition:
SiPixelDaqInfo.cc:28
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
SiPixelDaqInfo::FEDs_
int FEDs_[40]
Definition:
SiPixelDaqInfo.h:50
SiPixelDaqInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
SiPixelDaqInfo.cc:105
Generated for CMSSW Reference Manual by
1.8.16