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
19
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
20
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
21
22
class
CTPPSPixelRawToDigi
:
public
edm::stream::EDProducer
<> {
23
public
:
24
explicit
CTPPSPixelRawToDigi
(
const
edm::ParameterSet
&);
25
26
~CTPPSPixelRawToDigi
()
override
;
27
28
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
29
31
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
32
33
private
:
34
edm::ParameterSet
config_
;
35
36
edm::EDGetTokenT<FEDRawDataCollection>
FEDRawDataCollection_
;
37
38
edm::ESGetToken<CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd>
CTPPSPixelDAQMapping_
;
39
40
std::set<unsigned int>
fedIds_
;
41
42
edm::InputTag
label_
;
43
44
std::string
mappingLabel_
;
45
46
bool
includeErrors_
;
47
bool
isRun3_
;
48
};
49
#endif
ESWatcher.h
CTPPSPixelRawToDigi::label_
edm::InputTag label_
Definition:
CTPPSPixelRawToDigi.h:42
CTPPSPixelRawToDigi::config_
edm::ParameterSet config_
Definition:
CTPPSPixelRawToDigi.h:34
CTPPSPixelRawToDigi::CTPPSPixelRawToDigi
CTPPSPixelRawToDigi(const edm::ParameterSet &)
Definition:
CTPPSPixelRawToDigi.cc:24
CTPPSPixelRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelRawToDigi.cc:46
Event.h
EventSetup.h
FEDRawDataCollection.h
CTPPSPixelRawToDigi::includeErrors_
bool includeErrors_
Definition:
CTPPSPixelRawToDigi.h:46
edm::EDGetTokenT< FEDRawDataCollection >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
EDProducer.h
edm::ESGetToken< CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd >
CTPPSPixelRawToDigi::fedIds_
std::set< unsigned int > fedIds_
Definition:
CTPPSPixelRawToDigi.h:40
CTPPSPixelRawToDigi::CTPPSPixelDAQMapping_
edm::ESGetToken< CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd > CTPPSPixelDAQMapping_
Definition:
CTPPSPixelRawToDigi.h:38
ESGetToken.h
CTPPSPixelRawToDigi::~CTPPSPixelRawToDigi
~CTPPSPixelRawToDigi() override
Definition:
CTPPSPixelRawToDigi.cc:42
edm::EventSetup
Definition:
EventSetup.h:59
edm::stream::EDProducer
Definition:
EDProducer.h:36
CTPPSPixelRawToDigi::mappingLabel_
std::string mappingLabel_
Definition:
CTPPSPixelRawToDigi.h:44
edm::InputTag
Definition:
InputTag.h:15
CTPPSPixelDAQMapping.h
CTPPSPixelRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
Definition:
CTPPSPixelRawToDigi.cc:55
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
CTPPSPixelDAQMappingRcd.h
CTPPSPixelRawToDigi::FEDRawDataCollection_
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
Definition:
CTPPSPixelRawToDigi.h:36
CTPPSPixelRawToDigi
Definition:
CTPPSPixelRawToDigi.h:22
ConsumesCollector.h
MakerMacros.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
CTPPSPixelRawToDigi::isRun3_
bool isRun3_
Definition:
CTPPSPixelRawToDigi.h:47
Generated for CMSSW Reference Manual by
1.8.14