test
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
#include "
DataFormats/Common/interface/DetSetVector.h
"
16
#include "
DataFormats/SiPixelDigi/interface/PixelDigi.h
"
17
18
class
SiPixelFedCablingTree
;
19
class
SiPixelFrameReverter
;
20
class
TH1D;
21
class
R2DTimerObserver
;
22
23
class
SiPixelDigiToRaw
final :
public
edm::EDProducer
{
24
public
:
25
27
explicit
SiPixelDigiToRaw
(
const
edm::ParameterSet
& );
28
30
virtual
~SiPixelDigiToRaw
();
31
32
34
virtual
void
endJob
() {}
35
37
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
& )
override
;
38
39
private
:
40
41
std::unique_ptr<SiPixelFedCablingTree>
cablingTree_
;
42
SiPixelFrameReverter
*
frameReverter_
;
43
edm::ParameterSet
config_
;
44
TH1D *
hCPU
, *
hDigi
;
45
R2DTimerObserver
*
theTimer
;
46
unsigned
long
eventCounter
;
47
edm::InputTag
label
;
//label of input digi data
48
int
allDigiCounter
;
49
int
allWordCounter
;
50
std::vector<unsigned int>
fedIds
;
51
edm::ESWatcher<SiPixelFedCablingMapRcd>
recordWatcher
;
52
bool
debug
;
53
edm::EDGetTokenT<edm::DetSetVector<PixelDigi>
>
tPixelDigi
;
54
};
55
#endif
SiPixelDigiToRaw::SiPixelDigiToRaw
SiPixelDigiToRaw(const edm::ParameterSet &)
ctor
Definition:
SiPixelDigiToRaw.cc:26
ESWatcher.h
Event.h
SiPixelDigiToRaw::allDigiCounter
int allDigiCounter
Definition:
SiPixelDigiToRaw.h:48
EventSetup.h
SiPixelDigiToRaw::produce
virtual void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to raw event, attach again to Event
Definition:
SiPixelDigiToRaw.cc:65
SiPixelDigiToRaw::eventCounter
unsigned long eventCounter
Definition:
SiPixelDigiToRaw.h:46
SiPixelDigiToRaw::tPixelDigi
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
Definition:
SiPixelDigiToRaw.h:53
SiPixelDigiToRaw
Definition:
SiPixelDigiToRaw.h:23
PixelDigi.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
edm::EDProducer
Definition:
EDProducer.h:33
SiPixelDigiToRaw::cablingTree_
std::unique_ptr< SiPixelFedCablingTree > cablingTree_
Definition:
SiPixelDigiToRaw.h:41
DetSetVector.h
ParameterSet.h
R2DTimerObserver
Definition:
R2DTimerObserver.h:7
SiPixelDigiToRaw::fedIds
std::vector< unsigned int > fedIds
Definition:
SiPixelDigiToRaw.h:50
edm::EventSetup
Definition:
EventSetup.h:44
SiPixelDigiToRaw::~SiPixelDigiToRaw
virtual ~SiPixelDigiToRaw()
dtor
Definition:
SiPixelDigiToRaw.cc:51
edm::ESWatcher< SiPixelFedCablingMapRcd >
SiPixelFrameReverter
Definition:
SiPixelFrameReverter.h:18
EDProducer.h
SiPixelDigiToRaw::endJob
virtual void endJob()
dummy end of job
Definition:
SiPixelDigiToRaw.h:34
SiPixelDigiToRaw::theTimer
R2DTimerObserver * theTimer
Definition:
SiPixelDigiToRaw.h:45
SiPixelDigiToRaw::hCPU
TH1D * hCPU
Definition:
SiPixelDigiToRaw.h:44
SiPixelDigiToRaw::allWordCounter
int allWordCounter
Definition:
SiPixelDigiToRaw.h:49
SiPixelFedCablingMapRcd.h
SiPixelFrameReverter.h
SiPixelDigiToRaw::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition:
SiPixelDigiToRaw.h:51
SiPixelDigiToRaw::config_
edm::ParameterSet config_
Definition:
SiPixelDigiToRaw.h:43
edm::InputTag
Definition:
InputTag.h:17
SiPixelDigiToRaw::frameReverter_
SiPixelFrameReverter * frameReverter_
Definition:
SiPixelDigiToRaw.h:42
SiPixelDigiToRaw::debug
bool debug
Definition:
SiPixelDigiToRaw.h:52
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
SiPixelDigiToRaw::hDigi
TH1D * hDigi
Definition:
SiPixelDigiToRaw.h:44
edm::Event
Definition:
Event.h:62
SiPixelDigiToRaw::label
edm::InputTag label
Definition:
SiPixelDigiToRaw.h:47
SiPixelFedCablingTree
Definition:
SiPixelFedCablingTree.h:11
Generated for CMSSW Reference Manual by
1.8.5