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 <memory>
6
#include <iostream>
7
#include <fstream>
8
9
// FWCore
10
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
11
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
12
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
13
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/MakerMacros.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
#include "
FWCore/ServiceRegistry/interface/Service.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.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
33
private
:
34
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
DQMStore::IGetter
&,
const
edm::LuminosityBlock
& ,
const
edm::EventSetup
&)
override
;
35
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
36
37
MonitorElement
*
Fraction_
;
38
MonitorElement
*
FractionBarrel_
;
39
MonitorElement
*
FractionEndcap_
;
40
41
std::pair<int,int>
FEDRange_
;
42
43
int
NumberOfFeds_
;
44
45
int
NEvents_
;
46
int
nFEDsBarrel_
;
47
int
nFEDsEndcap_
;
48
std::string
daqSource_
;
49
int
FEDs_
[40];
50
51
bool
firstLumi
;
52
53
//define Token(-s)
54
edm::EDGetTokenT<FEDRawDataCollection>
daqSourceToken_
;
55
};
56
57
#endif
SiPixelDaqInfo::nFEDsBarrel_
int nFEDsBarrel_
Definition:
SiPixelDaqInfo.h:46
SiPixelDaqInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
SiPixelDaqInfo.cc:95
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
MakerMacros.h
SiPixelDaqInfo::FEDRange_
std::pair< int, int > FEDRange_
Definition:
SiPixelDaqInfo.h:41
EventSetup.h
SiPixelDaqInfo::daqSource_
std::string daqSource_
Definition:
SiPixelDaqInfo.h:48
SiPixelDaqInfo
Definition:
SiPixelDaqInfo.h:27
FEDRawDataCollection.h
SiPixelDaqInfo::FEDs_
int FEDs_[40]
Definition:
SiPixelDaqInfo.h:49
DQMEDHarvester.h
edm::EDGetTokenT< FEDRawDataCollection >
Frameworkfwd.h
SiPixelDaqInfo::firstLumi
bool firstLumi
Definition:
SiPixelDaqInfo.h:51
ParameterSet.h
SiPixelDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
SiPixelDaqInfo.h:43
SiPixelDaqInfo::nFEDsEndcap_
int nFEDsEndcap_
Definition:
SiPixelDaqInfo.h:47
DQMStore::IGetter
Definition:
DQMStore.h:186
DQMStore.h
SiPixelDaqInfo::Fraction_
MonitorElement * Fraction_
Definition:
SiPixelDaqInfo.h:37
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:54
SiPixelDaqInfo::SiPixelDaqInfo
SiPixelDaqInfo(const edm::ParameterSet &)
Definition:
SiPixelDaqInfo.cc:11
EDAnalyzer.h
MonitorElement
Definition:
MonitorElement.h:37
SiPixelDaqInfo::FractionBarrel_
MonitorElement * FractionBarrel_
Definition:
SiPixelDaqInfo.h:38
SiPixelDaqInfo::NEvents_
int NEvents_
Definition:
SiPixelDaqInfo.h:45
SiPixelDaqInfo::daqSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > daqSourceToken_
Definition:
SiPixelDaqInfo.h:54
MonitorElement.h
SiPixelDaqInfo::FractionEndcap_
MonitorElement * FractionEndcap_
Definition:
SiPixelDaqInfo.h:39
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
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:88
Generated for CMSSW Reference Manual by
1.8.11