EventFilter
DTRawToDigi
plugins
DTDDUUnpacker.h
Go to the documentation of this file.
1
#ifndef DTDDUUnpacker_h
2
#define DTDDUUnpacker_h
3
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
#include <
EventFilter/DTRawToDigi/plugins/DTUnpacker.h
>
13
#include <
EventFilter/DTRawToDigi/plugins/DTROS25Unpacker.h
>
14
#include "
DataFormats/DTDigi/interface/DTControlData.h
"
15
// class DTROS25Unpacker;
16
17
class
DTDDUUnpacker
:
public
DTUnpacker
{
18
public
:
20
DTDDUUnpacker
(
const
edm::ParameterSet
& ps);
21
23
~DTDDUUnpacker
()
override
;
24
25
// Unpacking method
26
void
interpretRawData
(
const
unsigned
int
*
index
,
27
int
datasize,
28
int
dduID,
29
edm::ESHandle<DTReadOutMapping>
&
mapping
,
30
std::unique_ptr<DTDigiCollection>& product,
31
std::unique_ptr<DTLocalTriggerCollection>& product2,
32
uint16_t rosList = 0)
override
;
33
34
inline
const
std::vector<DTROS25Data>&
getROSsControlData
()
const
{
return
ros25Unpacker
->
getROSsControlData
(); }
35
36
inline
const
DTDDUData
&
getDDUControlData
()
const
{
return
controlData
; }
37
38
private
:
39
const
edm::ParameterSet
dduPSet
;
40
42
bool
localDAQ
;
43
45
bool
performDataIntegrityMonitor
;
46
47
bool
debug
;
48
49
DTROS25Unpacker
*
ros25Unpacker
;
50
51
DTDDUData
controlData
;
52
};
53
54
#endif
DTDDUUnpacker::ros25Unpacker
DTROS25Unpacker * ros25Unpacker
Definition:
DTDDUUnpacker.h:49
DTROS25Unpacker
Definition:
DTROS25Unpacker.h:18
DTDDUUnpacker::getROSsControlData
const std::vector< DTROS25Data > & getROSsControlData() const
Definition:
DTDDUUnpacker.h:34
DTDDUUnpacker::dduPSet
const edm::ParameterSet dduPSet
Definition:
DTDDUUnpacker.h:39
DTDDUUnpacker::controlData
DTDDUData controlData
Definition:
DTDDUUnpacker.h:51
DTUnpacker.h
DTROS25Unpacker::getROSsControlData
const std::vector< DTROS25Data > & getROSsControlData() const
Definition:
DTROS25Unpacker.h:35
DTControlData.h
DTROS25Unpacker.h
DTDDUUnpacker::DTDDUUnpacker
DTDDUUnpacker(const edm::ParameterSet &ps)
Constructor.
Definition:
DTDDUUnpacker.cc:19
DTDDUUnpacker::interpretRawData
void interpretRawData(const unsigned int *index, int datasize, int dduID, edm::ESHandle< DTReadOutMapping > &mapping, std::unique_ptr< DTDigiCollection > &product, std::unique_ptr< DTLocalTriggerCollection > &product2, uint16_t rosList=0) override
Definition:
DTDDUUnpacker.cc:30
edm::ESHandle< DTReadOutMapping >
DTDDUUnpacker::localDAQ
bool localDAQ
if data are read locally, status words are swapped
Definition:
DTDDUUnpacker.h:42
DTDDUUnpacker::performDataIntegrityMonitor
bool performDataIntegrityMonitor
perform DQM for DDU
Definition:
DTDDUUnpacker.h:45
DTDDUUnpacker
Definition:
DTDDUUnpacker.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
DTDDUUnpacker::debug
bool debug
Definition:
DTDDUUnpacker.h:47
DTDDUUnpacker::getDDUControlData
const DTDDUData & getDDUControlData() const
Definition:
DTDDUUnpacker.h:36
DTUnpacker
Definition:
DTUnpacker.h:17
DTDDUUnpacker::~DTDDUUnpacker
~DTDDUUnpacker() override
Destructor.
Definition:
DTDDUUnpacker.cc:28
DTDDUData
Definition:
DTControlData.h:104
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
ParameterSet.h
taus_updatedMVAIds_cff.mapping
mapping
Definition:
taus_updatedMVAIds_cff.py:28
Generated for CMSSW Reference Manual by
1.8.16