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
};
48
#endif
CTPPSPixelRawToDigi::FEDRawDataCollection_
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
Definition:
CTPPSPixelRawToDigi.h:36
CTPPSPixelRawToDigi::config_
edm::ParameterSet config_
Definition:
CTPPSPixelRawToDigi.h:34
CTPPSPixelRawToDigi::mappingLabel_
std::string mappingLabel_
Definition:
CTPPSPixelRawToDigi.h:44
CTPPSPixelDAQMappingRcd.h
edm::EDGetTokenT< FEDRawDataCollection >
EDProducer.h
CTPPSPixelRawToDigi::label_
edm::InputTag label_
Definition:
CTPPSPixelRawToDigi.h:42
ESGetToken.h
MakerMacros.h
CTPPSPixelRawToDigi::CTPPSPixelDAQMapping_
edm::ESGetToken< CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd > CTPPSPixelDAQMapping_
Definition:
CTPPSPixelRawToDigi.h:38
CTPPSPixelRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelRawToDigi.cc:45
CTPPSPixelRawToDigi::CTPPSPixelRawToDigi
CTPPSPixelRawToDigi(const edm::ParameterSet &)
Definition:
CTPPSPixelRawToDigi.cc:24
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CTPPSPixelRawToDigi::fedIds_
std::set< unsigned int > fedIds_
Definition:
CTPPSPixelRawToDigi.h:40
edm::ParameterSet
Definition:
ParameterSet.h:47
CTPPSPixelRawToDigi::includeErrors_
bool includeErrors_
Definition:
CTPPSPixelRawToDigi.h:46
Event.h
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< CTPPSPixelDAQMapping, CTPPSPixelDAQMappingRcd >
CTPPSPixelDAQMapping.h
CTPPSPixelRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
Definition:
CTPPSPixelRawToDigi.cc:53
ESWatcher.h
CTPPSPixelRawToDigi::~CTPPSPixelRawToDigi
~CTPPSPixelRawToDigi() override
Definition:
CTPPSPixelRawToDigi.cc:41
EventSetup.h
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
CTPPSPixelRawToDigi
Definition:
CTPPSPixelRawToDigi.h:22
Generated for CMSSW Reference Manual by
1.8.16