Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
31
32
33
private
:
34
virtual
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
DQMStore::IGetter
&,
const
edm::LuminosityBlock
& ,
const
edm::EventSetup
&);
35
virtual
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&) ;
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
Event.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:46
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
SiPixelDaqInfo::firstLumi
bool firstLumi
Definition:
SiPixelDaqInfo.h:51
ParameterSet.h
DQMEDHarvester
Definition:
DQMEDHarvester.h:15
SiPixelDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
SiPixelDaqInfo.h:43
SiPixelDaqInfo::nFEDsEndcap_
int nFEDsEndcap_
Definition:
SiPixelDaqInfo.h:47
DQMStore::IGetter
Definition:
DQMStore.h:190
DQMStore.h
SiPixelDaqInfo::Fraction_
MonitorElement * Fraction_
Definition:
SiPixelDaqInfo.h:37
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
SiPixelDaqInfo::SiPixelDaqInfo
SiPixelDaqInfo(const edm::ParameterSet &)
Definition:
SiPixelDaqInfo.cc:11
SiPixelDaqInfo::~SiPixelDaqInfo
~SiPixelDaqInfo()
Definition:
SiPixelDaqInfo.cc:28
SiPixelDaqInfo::dqmEndJob
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
Definition:
SiPixelDaqInfo.cc:96
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
LuminosityBlock.h
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:90
SiPixelDaqInfo::dqmEndLuminosityBlock
virtual void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, const edm::LuminosityBlock &, const edm::EventSetup &)
Definition:
SiPixelDaqInfo.cc:30
Generated for CMSSW Reference Manual by
1.8.5