EventFilter
DTRawToDigi
plugins
DTUnpackingModule.h
Go to the documentation of this file.
1
#ifndef DTRawToDigi_DTUnpackingModule_h
2
#define DTRawToDigi_DTUnpackingModule_h
3
10
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
11
#include "
FWCore/Utilities/interface/InputTag.h
"
12
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
13
#include "
FWCore/Utilities/interface/ESGetToken.h
"
14
#include "
CondFormats/DataRecord/interface/DTReadOutMappingRcd.h
"
15
#include "
CondFormats/DTObjects/interface/DTReadOutMapping.h
"
16
17
#include <iostream>
18
19
class
DTUnpacker
;
20
21
class
DTUnpackingModule
:
public
edm::stream::EDProducer
<> {
22
public
:
24
DTUnpackingModule
(
const
edm::ParameterSet
&
pset
);
25
27
~DTUnpackingModule
()
override
;
28
30
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
31
32
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
33
34
private
:
35
DTUnpacker
*
unpacker
;
36
38
edm::EDGetTokenT<FEDRawDataCollection>
inputLabel
;
39
edm::ESGetToken<DTReadOutMapping, DTReadOutMappingRcd>
mappingToken_
;
41
bool
useStandardFEDid_
;
43
int
minFEDid_
;
44
int
maxFEDid_
;
45
bool
dqmOnly
;
46
bool
performDataIntegrityMonitor
;
47
std::string
dataType
;
48
};
49
50
#endif
edm::EDGetTokenT< FEDRawDataCollection >
DTUnpackingModule::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
DTUnpackingModule.cc:70
DTUnpackingModule::inputLabel
edm::EDGetTokenT< FEDRawDataCollection > inputLabel
if not you need the label
Definition:
DTUnpackingModule.h:38
EDProducer.h
ESGetToken.h
DTUnpackingModule::dataType
std::string dataType
Definition:
DTUnpackingModule.h:47
DTUnpackingModule::minFEDid_
int minFEDid_
if not you need to set the range by hand
Definition:
DTUnpackingModule.h:43
DTUnpackingModule::maxFEDid_
int maxFEDid_
Definition:
DTUnpackingModule.h:44
DTUnpackingModule::useStandardFEDid_
bool useStandardFEDid_
do you want to use the standard DT FED ID's, i.e. [770-775]? (why the hell 6??)
Definition:
DTUnpackingModule.h:41
DTUnpackingModule::~DTUnpackingModule
~DTUnpackingModule() override
Destructor.
Definition:
DTUnpackingModule.cc:68
DTUnpackingModule::DTUnpackingModule
DTUnpackingModule(const edm::ParameterSet &pset)
Constructor.
Definition:
DTUnpackingModule.cc:34
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTReadOutMappingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
DTUnpackingModule::mappingToken_
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd > mappingToken_
Definition:
DTUnpackingModule.h:39
DTUnpacker
Definition:
DTUnpacker.h:17
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
DTUnpackingModule::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Call the Unpackers and create the digis.
Definition:
DTUnpackingModule.cc:99
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd >
InputTag.h
DTUnpackingModule::performDataIntegrityMonitor
bool performDataIntegrityMonitor
Definition:
DTUnpackingModule.h:46
DTUnpackingModule::dqmOnly
bool dqmOnly
Definition:
DTUnpackingModule.h:45
DTUnpackingModule::unpacker
DTUnpacker * unpacker
Definition:
DTUnpackingModule.h:35
edm::Event
Definition:
Event.h:73
DTReadOutMapping.h
DTUnpackingModule
Definition:
DTUnpackingModule.h:21
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16