EventFilter
DTRawToDigi
plugins
DTDigiToRaw.h
Go to the documentation of this file.
1
#ifndef EventFilter_DTDigiToRaw_h
2
#define EventFilter_DTDigiToRaw_h
3
4
#include <
DataFormats/DTDigi/interface/DTDigiCollection.h
>
5
6
class
FEDRawDataCollection
;
7
8
#include <
CondFormats/DTObjects/interface/DTReadOutMapping.h
>
9
#include <
FWCore/Framework/interface/ESHandle.h
>
10
#include <
DataFormats/FEDRawData/interface/FEDRawData.h
>
11
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
12
#include <map>
13
14
class
DTDigiToRaw
{
15
public
:
17
DTDigiToRaw
(
const
edm::ParameterSet
& ps);
18
20
virtual
~DTDigiToRaw
();
21
23
FEDRawData
*
createFedBuffers
(
const
DTDigiCollection
& digis,
edm::ESHandle<DTReadOutMapping>
&
mapping
);
24
25
void
SetdduID
(
int
dduid);
26
27
private
:
28
typedef
unsigned
int
Word32
;
29
typedef
long
long
Word64
;
30
const
edm::ParameterSet
pset
;
31
32
int
dduID_
;
33
bool
debug
;
34
};
35
#endif
DTDigiCollection
DTDigiToRaw::DTDigiToRaw
DTDigiToRaw(const edm::ParameterSet &ps)
Constructor.
Definition:
DTDigiToRaw.cc:10
DTDigiToRaw::dduID_
int dduID_
Definition:
DTDigiToRaw.h:32
DTDigiToRaw::SetdduID
void SetdduID(int dduid)
Definition:
DTDigiToRaw.cc:182
DTDigiToRaw
Definition:
DTDigiToRaw.h:14
DTDigiToRaw::Word32
unsigned int Word32
Definition:
DTDigiToRaw.h:28
DTReadOutMapping.h
ParameterSet.h
DTDigiToRaw::pset
const edm::ParameterSet pset
Definition:
DTDigiToRaw.h:30
DTDigiCollection.h
FEDRawData
Definition:
FEDRawData.h:19
edm::ESHandle
Definition:
DTSurvey.h:22
ESHandle.h
DTDigiToRaw::createFedBuffers
FEDRawData * createFedBuffers(const DTDigiCollection &digis, edm::ESHandle< DTReadOutMapping > &mapping)
Take a vector of digis and fill the FEDRawDataCollection.
Definition:
DTDigiToRaw.cc:21
DTDigiToRaw::Word64
long long Word64
Definition:
DTDigiToRaw.h:29
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:18
FEDRawData.h
DTDigiToRaw::~DTDigiToRaw
virtual ~DTDigiToRaw()
Destructor.
Definition:
DTDigiToRaw.cc:16
edm::ParameterSet
Definition:
ParameterSet.h:47
DTDigiToRaw::debug
bool debug
Definition:
DTDigiToRaw.h:33
taus_updatedMVAIds_cff.mapping
mapping
Definition:
taus_updatedMVAIds_cff.py:27
Generated for CMSSW Reference Manual by
1.8.14