src
EventFilter
CTPPSRawToDigi
interface
CTPPSPixelRawToDigi.h
Go to the documentation of this file.
1
#ifndef CTPPS_CTPPSPixelRawToDigi_CTPPSPixelRawToDigi_h
2
#define CTPPS_CTPPSPixelRawToDigi_CTPPSPixelRawToDigi_h
3
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
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 "
FWCore/Utilities/interface/ESGetToken.h
"
15
16
#include "
CondFormats/DataRecord/interface/CTPPSPixelDAQMappingRcd.h
"
17
#include "
CondFormats/PPSObjects/interface/CTPPSPixelDAQMapping.h
"
18
#include "
EventFilter/CTPPSRawToDigi/interface/CTPPSRawToDigiErrorSummary.h
"
19
20
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
21
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
22
23
class
CTPPSPixelRawToDigi
:
public
edm::stream::EDProducer
<> {
24
public
:
25
explicit
CTPPSPixelRawToDigi
(
const
edm::ParameterSet
&);
26
27
~CTPPSPixelRawToDigi
()
override
;
28
29
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
30
32
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
33
34
void
endStream
()
override
;
35
36
private
:
37
edm::ParameterSet
config_
;
38
39
edm::EDGetTokenT<FEDRawDataCollection>
FEDRawDataCollection_
;
40
41
edm::ESGetToken<CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd>
CTPPSPixelDAQMapping_
;
42
43
std::set<unsigned int>
fedIds_
;
44
45
edm::InputTag
label_
;
46
47
std::string
mappingLabel_
;
48
49
CTPPSRawToDigiErrorSummary
eSummary_
;
50
51
bool
includeErrors_
;
52
bool
isRun3_
;
53
};
54
#endif
ESWatcher.h
EDProducer.h
CTPPSPixelRawToDigi::label_
edm::InputTag label_
Definition:
CTPPSPixelRawToDigi.h:45
CTPPSPixelRawToDigi::config_
edm::ParameterSet config_
Definition:
CTPPSPixelRawToDigi.h:37
CTPPSPixelRawToDigi::CTPPSPixelRawToDigi
CTPPSPixelRawToDigi(const edm::ParameterSet &)
Definition:
CTPPSPixelRawToDigi.cc:24
CTPPSPixelRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelRawToDigi.cc:47
Event.h
EventSetup.h
FEDRawDataCollection.h
CTPPSPixelRawToDigi::eSummary_
CTPPSRawToDigiErrorSummary eSummary_
Definition:
CTPPSPixelRawToDigi.h:49
CTPPSPixelRawToDigi::includeErrors_
bool includeErrors_
Definition:
CTPPSPixelRawToDigi.h:51
edm::EDGetTokenT< FEDRawDataCollection >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
edm::ESGetToken< CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd >
CTPPSPixelRawToDigi::fedIds_
std::set< unsigned int > fedIds_
Definition:
CTPPSPixelRawToDigi.h:43
CTPPSPixelRawToDigi::CTPPSPixelDAQMapping_
edm::ESGetToken< CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd > CTPPSPixelDAQMapping_
Definition:
CTPPSPixelRawToDigi.h:41
CTPPSPixelRawToDigi::~CTPPSPixelRawToDigi
~CTPPSPixelRawToDigi() override
Definition:
CTPPSPixelRawToDigi.cc:43
CTPPSRawToDigiErrorSummary.h
edm::EventSetup
Definition:
EventSetup.h:56
edm::stream::EDProducer
Definition:
EDProducer.h:36
CTPPSPixelRawToDigi::mappingLabel_
std::string mappingLabel_
Definition:
CTPPSPixelRawToDigi.h:47
edm::InputTag
Definition:
InputTag.h:15
CTPPSRawToDigiErrorSummary
Definition:
CTPPSRawToDigiErrorSummary.h:7
CTPPSPixelDAQMapping.h
CTPPSPixelRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
Definition:
CTPPSPixelRawToDigi.cc:56
edm::ParameterSet
Definition:
ParameterSet.h:48
CTPPSPixelRawToDigi::endStream
void endStream() override
Definition:
CTPPSPixelRawToDigi.cc:125
edm::Event
Definition:
Event.h:73
CTPPSPixelDAQMappingRcd.h
CTPPSPixelRawToDigi::FEDRawDataCollection_
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
Definition:
CTPPSPixelRawToDigi.h:39
CTPPSPixelRawToDigi
Definition:
CTPPSPixelRawToDigi.h:23
ConsumesCollector.h
MakerMacros.h
ESGetToken.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
CTPPSPixelRawToDigi::isRun3_
bool isRun3_
Definition:
CTPPSPixelRawToDigi.h:52
Generated for CMSSW Reference Manual by
1.8.14