src
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 <
FWCore/Framework/interface/EDProducer.h
>
5
#include <
DataFormats/DTDigi/interface/DTDigiCollection.h
>
6
7
class
FEDRawDataCollection
;
8
9
#include <
CondFormats/DTObjects/interface/DTReadOutMapping.h
>
10
#include <
FWCore/Framework/interface/ESHandle.h
>
11
#include <
DataFormats/FEDRawData/interface/FEDRawData.h
>
12
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
13
#include <map>
14
15
class
DTDigiToRaw
{
16
public
:
18
DTDigiToRaw
(
const
edm::ParameterSet
& ps);
19
21
virtual
~DTDigiToRaw
();
22
24
FEDRawData
*
createFedBuffers
(
const
DTDigiCollection
& digis,
edm::ESHandle<DTReadOutMapping>
&
mapping
);
25
26
void
SetdduID
(
int
dduid);
27
28
private
:
29
typedef
unsigned
int
Word32
;
30
typedef
long
long
Word64
;
31
const
edm::ParameterSet
pset
;
32
33
int
dduID_
;
34
bool
debug
;
35
};
36
#endif
DTDigiCollection
DTDigiToRaw::DTDigiToRaw
DTDigiToRaw(const edm::ParameterSet &ps)
Constructor.
Definition:
DTDigiToRaw.cc:10
DTDigiToRaw::dduID_
int dduID_
Definition:
DTDigiToRaw.h:33
DTDigiToRaw::SetdduID
void SetdduID(int dduid)
Definition:
DTDigiToRaw.cc:182
DTDigiToRaw
Definition:
DTDigiToRaw.h:15
DTDigiToRaw::Word32
unsigned int Word32
Definition:
DTDigiToRaw.h:29
DTReadOutMapping.h
ParameterSet.h
DTDigiToRaw::pset
const edm::ParameterSet pset
Definition:
DTDigiToRaw.h:31
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:30
EDProducer.h
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:18
FEDRawData.h
DTDigiToRaw::~DTDigiToRaw
virtual ~DTDigiToRaw()
Destructor.
Definition:
DTDigiToRaw.cc:16
edm::ParameterSet
Definition:
ParameterSet.h:48
DTDigiToRaw::debug
bool debug
Definition:
DTDigiToRaw.h:34
taus_updatedMVAIds_cff.mapping
mapping
Definition:
taus_updatedMVAIds_cff.py:29
Generated for CMSSW Reference Manual by
1.8.14