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