Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
SiPixelRawToDigi
plugins
SiPixelRawToDigi.h
Go to the documentation of this file.
1
#ifndef SiPixelRawToDigi_H
2
#define SiPixelRawToDigi_H
3
9
#include "
FWCore/Framework/interface/ESWatcher.h
"
10
#include "
FWCore/Framework/interface/EDProducer.h
"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h
"
15
#include "
CondFormats/DataRecord/interface/SiPixelQualityRcd.h
"
16
17
class
SiPixelFedCabling
;
18
class
SiPixelQuality
;
19
class
TH1D;
20
class
R2DTimerObserver
;
21
22
23
class
SiPixelRawToDigi
:
public
edm::EDProducer
{
24
public
:
25
27
explicit
SiPixelRawToDigi
(
const
edm::ParameterSet
& );
28
30
virtual
~SiPixelRawToDigi
();
31
32
34
virtual
void
endJob
() {}
35
37
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
& );
38
39
private
:
40
41
edm::ParameterSet
config_
;
42
const
SiPixelFedCabling
*
cabling_
;
43
const
SiPixelQuality
*
badPixelInfo_
;
44
bool
useCablingTree_
;
45
TH1D *
hCPU
, *
hDigi
;
46
R2DTimerObserver
*
theTimer
;
47
bool
includeErrors
;
48
bool
useQuality
;
49
bool
debug
;
50
std::vector<unsigned int>
fedList
;
51
edm::ESWatcher<SiPixelFedCablingMapRcd>
recordWatcher
;
52
edm::ESWatcher<SiPixelQualityRcd>
qualityWatcher
;
53
edm::InputTag
label
;
54
int
ndigis
;
55
int
nwords
;
56
57
};
58
#endif
SiPixelQuality
Definition:
SiPixelQuality.h:25
ESWatcher.h
SiPixelRawToDigi::fedList
std::vector< unsigned int > fedList
Definition:
SiPixelRawToDigi.h:50
Event.h
EventSetup.h
SiPixelRawToDigi::useCablingTree_
bool useCablingTree_
Definition:
SiPixelRawToDigi.h:44
SiPixelRawToDigi::label
edm::InputTag label
Definition:
SiPixelRawToDigi.h:53
edm::EDProducer
Definition:
EDProducer.h:21
ParameterSet.h
SiPixelRawToDigi::SiPixelRawToDigi
SiPixelRawToDigi(const edm::ParameterSet &)
ctor
Definition:
SiPixelRawToDigi.cc:38
R2DTimerObserver
Definition:
R2DTimerObserver.h:7
edm::EventSetup
Definition:
EventSetup.h:44
SiPixelQualityRcd.h
edm::ESWatcher< SiPixelFedCablingMapRcd >
SiPixelRawToDigi::~SiPixelRawToDigi
virtual ~SiPixelRawToDigi()
dtor
Definition:
SiPixelRawToDigi.cc:68
SiPixelRawToDigi::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition:
SiPixelRawToDigi.h:51
SiPixelRawToDigi::debug
bool debug
Definition:
SiPixelRawToDigi.h:49
EDProducer.h
SiPixelRawToDigi::useQuality
bool useQuality
Definition:
SiPixelRawToDigi.h:48
SiPixelRawToDigi::endJob
virtual void endJob()
dummy end of job
Definition:
SiPixelRawToDigi.h:34
SiPixelRawToDigi::includeErrors
bool includeErrors
Definition:
SiPixelRawToDigi.h:47
SiPixelFedCablingMapRcd.h
SiPixelRawToDigi::hDigi
TH1D * hDigi
Definition:
SiPixelRawToDigi.h:45
SiPixelRawToDigi::hCPU
TH1D * hCPU
Definition:
SiPixelRawToDigi.h:45
SiPixelRawToDigi::config_
edm::ParameterSet config_
Definition:
SiPixelRawToDigi.h:41
SiPixelRawToDigi
Definition:
SiPixelRawToDigi.h:23
edm::InputTag
Definition:
InputTag.h:12
SiPixelRawToDigi::nwords
int nwords
Definition:
SiPixelRawToDigi.h:55
edm::ParameterSet
Definition:
ParameterSet.h:31
SiPixelRawToDigi::theTimer
R2DTimerObserver * theTimer
Definition:
SiPixelRawToDigi.h:46
edm::Event
Definition:
Event.h:49
SiPixelRawToDigi::ndigis
int ndigis
Definition:
SiPixelRawToDigi.h:54
SiPixelRawToDigi::qualityWatcher
edm::ESWatcher< SiPixelQualityRcd > qualityWatcher
Definition:
SiPixelRawToDigi.h:52
SiPixelFedCabling
Definition:
SiPixelFedCabling.h:8
SiPixelRawToDigi::badPixelInfo_
const SiPixelQuality * badPixelInfo_
Definition:
SiPixelRawToDigi.h:43
SiPixelRawToDigi::cabling_
const SiPixelFedCabling * cabling_
Definition:
SiPixelRawToDigi.h:42
SiPixelRawToDigi::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
get data, convert to digis attach againe to Event
Definition:
SiPixelRawToDigi.cc:87
Generated for CMSSW Reference Manual by
1.8.5