Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
SiPixelRawToDigi
plugins
SiPixelDigiToRaw.h
Go to the documentation of this file.
1
#ifndef SiPixelDigiToRaw_H
2
#define SiPixelDigiToRaw_H
3
7
#include "
FWCore/Framework/interface/ESWatcher.h
"
8
#include "
FWCore/Framework/interface/EDProducer.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/Utilities/interface/InputTag.h
"
13
#include "
CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h
"
14
#include "
CondFormats/SiPixelObjects/interface/SiPixelFrameReverter.h
"
15
16
class
SiPixelFedCablingTree
;
17
class
SiPixelFrameReverter
;
18
class
TH1D;
19
class
R2DTimerObserver
;
20
21
class
SiPixelDigiToRaw
:
public
edm::EDProducer
{
22
public
:
23
25
explicit
SiPixelDigiToRaw
(
const
edm::ParameterSet
& );
26
28
virtual
~SiPixelDigiToRaw
();
29
30
32
virtual
void
endJob
() {}
33
35
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
& );
36
37
private
:
38
39
SiPixelFedCablingTree
*
cablingTree_
;
40
SiPixelFrameReverter
*
frameReverter_
;
41
edm::ParameterSet
config_
;
42
TH1D *
hCPU
, *
hDigi
;
43
R2DTimerObserver
*
theTimer
;
44
unsigned
long
eventCounter
;
45
edm::InputTag
label
;
//label of input digi data
46
int
allDigiCounter
;
47
int
allWordCounter
;
48
std::vector<unsigned int>
fedIds
;
49
edm::ESWatcher<SiPixelFedCablingMapRcd>
recordWatcher
;
50
bool
debug
;
51
52
};
53
#endif
SiPixelDigiToRaw::SiPixelDigiToRaw
SiPixelDigiToRaw(const edm::ParameterSet &)
ctor
Definition:
SiPixelDigiToRaw.cc:25
ESWatcher.h
Event.h
SiPixelDigiToRaw::allDigiCounter
int allDigiCounter
Definition:
SiPixelDigiToRaw.h:46
EventSetup.h
SiPixelDigiToRaw::eventCounter
unsigned long eventCounter
Definition:
SiPixelDigiToRaw.h:44
SiPixelDigiToRaw::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
get data, convert to raw event, attach again to Event
Definition:
SiPixelDigiToRaw.cc:65
SiPixelDigiToRaw
Definition:
SiPixelDigiToRaw.h:21
edm::EDProducer
Definition:
EDProducer.h:21
ParameterSet.h
R2DTimerObserver
Definition:
R2DTimerObserver.h:7
SiPixelDigiToRaw::fedIds
std::vector< unsigned int > fedIds
Definition:
SiPixelDigiToRaw.h:48
edm::EventSetup
Definition:
EventSetup.h:44
SiPixelDigiToRaw::~SiPixelDigiToRaw
virtual ~SiPixelDigiToRaw()
dtor
Definition:
SiPixelDigiToRaw.cc:50
edm::ESWatcher< SiPixelFedCablingMapRcd >
SiPixelFrameReverter
Definition:
SiPixelFrameReverter.h:18
EDProducer.h
SiPixelDigiToRaw::endJob
virtual void endJob()
dummy end of job
Definition:
SiPixelDigiToRaw.h:32
SiPixelDigiToRaw::theTimer
R2DTimerObserver * theTimer
Definition:
SiPixelDigiToRaw.h:43
SiPixelDigiToRaw::hCPU
TH1D * hCPU
Definition:
SiPixelDigiToRaw.h:42
SiPixelDigiToRaw::allWordCounter
int allWordCounter
Definition:
SiPixelDigiToRaw.h:47
SiPixelFedCablingMapRcd.h
SiPixelFrameReverter.h
SiPixelDigiToRaw::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition:
SiPixelDigiToRaw.h:49
SiPixelDigiToRaw::config_
edm::ParameterSet config_
Definition:
SiPixelDigiToRaw.h:41
edm::InputTag
Definition:
InputTag.h:12
SiPixelDigiToRaw::frameReverter_
SiPixelFrameReverter * frameReverter_
Definition:
SiPixelDigiToRaw.h:40
SiPixelDigiToRaw::debug
bool debug
Definition:
SiPixelDigiToRaw.h:50
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
SiPixelDigiToRaw::hDigi
TH1D * hDigi
Definition:
SiPixelDigiToRaw.h:42
edm::Event
Definition:
Event.h:50
SiPixelDigiToRaw::cablingTree_
SiPixelFedCablingTree * cablingTree_
Definition:
SiPixelDigiToRaw.h:39
SiPixelDigiToRaw::label
edm::InputTag label
Definition:
SiPixelDigiToRaw.h:45
SiPixelFedCablingTree
Definition:
SiPixelFedCablingTree.h:11
Generated for CMSSW Reference Manual by
1.8.5