Main Page
Namespaces
Classes
Package Documentation
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
#include "
DQMServices/Core/interface/MonitorElement.h
"
24
25
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
26
27
class
SiPixelDaqInfo
:
public
DQMEDHarvester
{
28
public
:
29
explicit
SiPixelDaqInfo
(
const
edm::ParameterSet
&);
30
~SiPixelDaqInfo
()
override
;
31
32
private
:
33
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
34
DQMStore::IGetter
&,
35
const
edm::LuminosityBlock
&,
36
const
edm::EventSetup
&)
override
;
37
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
38
39
MonitorElement
*
Fraction_
;
40
MonitorElement
*
FractionBarrel_
;
41
MonitorElement
*
FractionEndcap_
;
42
43
std::pair<int, int>
FEDRange_
;
44
45
int
NumberOfFeds_
;
46
47
int
NEvents_
;
48
int
nFEDsBarrel_
;
49
int
nFEDsEndcap_
;
50
std::string
daqSource_
;
51
int
FEDs_
[40];
52
53
bool
firstLumi
;
54
55
// define Token(-s)
56
edm::EDGetTokenT<FEDRawDataCollection>
daqSourceToken_
;
57
};
58
59
#endif
SiPixelDaqInfo::nFEDsBarrel_
int nFEDsBarrel_
Definition:
SiPixelDaqInfo.h:48
SiPixelDaqInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
SiPixelDaqInfo.cc:105
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
MakerMacros.h
EventSetup.h
SiPixelDaqInfo::daqSource_
std::string daqSource_
Definition:
SiPixelDaqInfo.h:50
SiPixelDaqInfo
Definition:
SiPixelDaqInfo.h:27
FEDRawDataCollection.h
SiPixelDaqInfo::FEDs_
int FEDs_[40]
Definition:
SiPixelDaqInfo.h:51
DQMEDHarvester.h
edm::EDGetTokenT< FEDRawDataCollection >
Frameworkfwd.h
SiPixelDaqInfo::firstLumi
bool firstLumi
Definition:
SiPixelDaqInfo.h:53
ParameterSet.h
SiPixelDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
SiPixelDaqInfo.h:45
SiPixelDaqInfo::nFEDsEndcap_
int nFEDsEndcap_
Definition:
SiPixelDaqInfo.h:49
DQMStore::IGetter
Definition:
DQMStore.h:186
DQMStore.h
SiPixelDaqInfo::Fraction_
MonitorElement * Fraction_
Definition:
SiPixelDaqInfo.h:39
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
SiPixelDaqInfo::SiPixelDaqInfo
SiPixelDaqInfo(const edm::ParameterSet &)
Definition:
SiPixelDaqInfo.cc:11
EDAnalyzer.h
MonitorElement
Definition:
MonitorElement.h:37
SiPixelDaqInfo::FractionBarrel_
MonitorElement * FractionBarrel_
Definition:
SiPixelDaqInfo.h:40
SiPixelDaqInfo::NEvents_
int NEvents_
Definition:
SiPixelDaqInfo.h:47
SiPixelDaqInfo::daqSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > daqSourceToken_
Definition:
SiPixelDaqInfo.h:56
MonitorElement.h
SiPixelDaqInfo::FractionEndcap_
MonitorElement * FractionEndcap_
Definition:
SiPixelDaqInfo.h:41
SiPixelDaqInfo::~SiPixelDaqInfo
~SiPixelDaqInfo() override
Definition:
SiPixelDaqInfo.cc:28
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
LuminosityBlock.h
SiPixelDaqInfo::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition:
SiPixelDaqInfo.cc:30
SiPixelDaqInfo::FEDRange_
std::pair< int, int > FEDRange_
Definition:
SiPixelDaqInfo.h:43
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:88
Generated for CMSSW Reference Manual by
1.8.11