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
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
dqm::dqmstoreimpl::DQMStore::IGetter
Definition:
DQMStore.h:240
SiPixelDaqInfo::nFEDsBarrel_
int nFEDsBarrel_
Definition:
SiPixelDaqInfo.h:47
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:49
MakerMacros.h
EventSetup.h
SiPixelDaqInfo::daqSource_
std::string daqSource_
Definition:
SiPixelDaqInfo.h:49
SiPixelDaqInfo
Definition:
SiPixelDaqInfo.h:26
FEDRawDataCollection.h
SiPixelDaqInfo::FEDs_
int FEDs_[40]
Definition:
SiPixelDaqInfo.h:50
DQMEDHarvester.h
edm::EDGetTokenT< FEDRawDataCollection >
Frameworkfwd.h
SiPixelDaqInfo::firstLumi
bool firstLumi
Definition:
SiPixelDaqInfo.h:52
ParameterSet.h
SiPixelDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
SiPixelDaqInfo.h:44
SiPixelDaqInfo::nFEDsEndcap_
int nFEDsEndcap_
Definition:
SiPixelDaqInfo.h:48
dqm::dqmstoreimpl::DQMStore::IBooker
Definition:
DQMStore.h:106
DQMStore.h
SiPixelDaqInfo::Fraction_
MonitorElement * Fraction_
Definition:
SiPixelDaqInfo.h:38
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:451
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
SiPixelDaqInfo::SiPixelDaqInfo
SiPixelDaqInfo(const edm::ParameterSet &)
Definition:
SiPixelDaqInfo.cc:11
EDAnalyzer.h
SiPixelDaqInfo::FractionBarrel_
MonitorElement * FractionBarrel_
Definition:
SiPixelDaqInfo.h:39
SiPixelDaqInfo::NEvents_
int NEvents_
Definition:
SiPixelDaqInfo.h:46
SiPixelDaqInfo::daqSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > daqSourceToken_
Definition:
SiPixelDaqInfo.h:55
SiPixelDaqInfo::FractionEndcap_
MonitorElement * FractionEndcap_
Definition:
SiPixelDaqInfo.h:40
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:42
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11