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/stream/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
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
17
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
18
#include "
FWCore/Utilities/interface/CPUTimer.h
"
19
20
class
SiPixelFedCablingTree
;
21
class
SiPixelFedCabling
;
22
class
SiPixelQuality
;
23
class
TH1D;
24
class
PixelUnpackingRegions
;
25
26
class
SiPixelRawToDigi
:
public
edm::stream::EDProducer
<> {
27
public
:
29
explicit
SiPixelRawToDigi
(
const
edm::ParameterSet
&);
30
32
~SiPixelRawToDigi
()
override
;
33
34
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
35
37
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
38
39
private
:
40
edm::ParameterSet
config_
;
41
std::unique_ptr<SiPixelFedCablingTree>
cabling_
;
42
const
SiPixelQuality
*
badPixelInfo_
;
43
PixelUnpackingRegions
*
regions_
;
44
edm::EDGetTokenT<FEDRawDataCollection>
tFEDRawDataCollection
;
45
TH1D *
hCPU
, *
hDigi
;
46
std::unique_ptr<edm::CPUTimer>
theTimer
;
47
bool
includeErrors
;
48
bool
useQuality
;
49
bool
debug
;
50
std::vector<int>
tkerrorlist
;
51
std::vector<int>
usererrorlist
;
52
std::vector<unsigned int>
fedIds
;
53
edm::ESWatcher<SiPixelFedCablingMapRcd>
recordWatcher
;
54
edm::ESWatcher<SiPixelQualityRcd>
qualityWatcher
;
55
edm::InputTag
label
;
56
57
int
ndigis
;
58
int
nwords
;
59
bool
usePilotBlade
;
60
bool
usePhase1
;
61
std::string
cablingMapLabel
;
62
};
63
#endif
SiPixelRawToDigi::SiPixelRawToDigi
SiPixelRawToDigi(const edm::ParameterSet &)
ctor
Definition:
SiPixelRawToDigi.cc:45
SiPixelRawToDigi::regions_
PixelUnpackingRegions * regions_
Definition:
SiPixelRawToDigi.h:43
edm::ESWatcher< SiPixelFedCablingMapRcd >
SiPixelRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
Definition:
SiPixelRawToDigi.cc:148
edm::EDGetTokenT< FEDRawDataCollection >
SiPixelRawToDigi::hDigi
TH1D * hDigi
Definition:
SiPixelRawToDigi.h:45
SiPixelRawToDigi::label
edm::InputTag label
Definition:
SiPixelRawToDigi.h:55
EDProducer.h
SiPixelRawToDigi::badPixelInfo_
const SiPixelQuality * badPixelInfo_
Definition:
SiPixelRawToDigi.h:42
SiPixelFedCabling
Definition:
SiPixelFedCabling.h:10
SiPixelRawToDigi::usererrorlist
std::vector< int > usererrorlist
Definition:
SiPixelRawToDigi.h:51
SiPixelRawToDigi::cabling_
std::unique_ptr< SiPixelFedCablingTree > cabling_
Definition:
SiPixelRawToDigi.h:41
SiPixelRawToDigi::usePhase1
bool usePhase1
Definition:
SiPixelRawToDigi.h:60
SiPixelQualityRcd.h
SiPixelRawToDigi::hCPU
TH1D * hCPU
Definition:
SiPixelRawToDigi.h:45
SiPixelRawToDigi::usePilotBlade
bool usePilotBlade
Definition:
SiPixelRawToDigi.h:59
SiPixelRawToDigi::tFEDRawDataCollection
edm::EDGetTokenT< FEDRawDataCollection > tFEDRawDataCollection
Definition:
SiPixelRawToDigi.h:44
SiPixelRawToDigi::fedIds
std::vector< unsigned int > fedIds
Definition:
SiPixelRawToDigi.h:52
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRawToDigi::tkerrorlist
std::vector< int > tkerrorlist
Definition:
SiPixelRawToDigi.h:50
SiPixelRawToDigi::useQuality
bool useQuality
Definition:
SiPixelRawToDigi.h:48
SiPixelRawToDigi::~SiPixelRawToDigi
~SiPixelRawToDigi() override
dtor
Definition:
SiPixelRawToDigi.cc:96
SiPixelRawToDigi::includeErrors
bool includeErrors
Definition:
SiPixelRawToDigi.h:47
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelQuality
Definition:
SiPixelQuality.h:27
Event.h
SiPixelFedCablingMapRcd.h
SiPixelRawToDigi::debug
bool debug
Definition:
SiPixelRawToDigi.h:49
SiPixelRawToDigi
Definition:
SiPixelRawToDigi.h:26
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
SiPixelRawToDigi::nwords
int nwords
Definition:
SiPixelRawToDigi.h:58
edm::EventSetup
Definition:
EventSetup.h:57
SiPixelRawToDigi::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition:
SiPixelRawToDigi.h:53
SiPixelRawToDigi::config_
edm::ParameterSet config_
Definition:
SiPixelRawToDigi.h:40
SiPixelRawToDigi::qualityWatcher
edm::ESWatcher< SiPixelQualityRcd > qualityWatcher
Definition:
SiPixelRawToDigi.h:54
PixelUnpackingRegions
Definition:
PixelUnpackingRegions.h:29
ESWatcher.h
SiPixelRawToDigi::theTimer
std::unique_ptr< edm::CPUTimer > theTimer
Definition:
SiPixelRawToDigi.h:46
EventSetup.h
ConsumesCollector.h
CPUTimer.h
ParameterSet.h
SiPixelRawToDigi::cablingMapLabel
std::string cablingMapLabel
Definition:
SiPixelRawToDigi.h:61
edm::Event
Definition:
Event.h:73
SiPixelFedCablingTree
Definition:
SiPixelFedCablingTree.h:13
edm::InputTag
Definition:
InputTag.h:15
SiPixelRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
SiPixelRawToDigi.cc:109
SiPixelRawToDigi::ndigis
int ndigis
Definition:
SiPixelRawToDigi.h:57
Generated for CMSSW Reference Manual by
1.8.16