Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
5
#include <
FWCore/Framework/interface/EDProducer.h
>
6
#include <
DataFormats/DTDigi/interface/DTDigiCollection.h
>
7
8
class
FEDRawDataCollection
;
9
10
11
#include <
CondFormats/DTObjects/interface/DTReadOutMapping.h
>
12
#include <
FWCore/Framework/interface/ESHandle.h
>
13
#include <
DataFormats/FEDRawData/interface/FEDRawData.h
>
14
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
15
#include <map>
16
17
18
class
DTDigiToRaw
{
19
public
:
21
DTDigiToRaw
(
const
edm::ParameterSet
& ps);
22
24
virtual
~DTDigiToRaw
();
25
27
FEDRawData
*
createFedBuffers
(
const
DTDigiCollection
& digis,
28
edm::ESHandle<DTReadOutMapping>
& mapping);
29
30
void
SetdduID
(
int
dduid);
31
32
private
:
33
34
typedef
unsigned
int
Word32
;
35
typedef
long
long
Word64
;
36
const
edm::ParameterSet
pset
;
37
38
int
dduID_
;
39
bool
debug
;
40
41
42
};
43
#endif
44
DTDigiCollection
DTDigiToRaw::DTDigiToRaw
DTDigiToRaw(const edm::ParameterSet &ps)
Constructor.
Definition:
DTDigiToRaw.cc:10
DTDigiToRaw::dduID_
int dduID_
Definition:
DTDigiToRaw.h:38
DTDigiToRaw::SetdduID
void SetdduID(int dduid)
Definition:
DTDigiToRaw.cc:203
DTDigiToRaw
Definition:
DTDigiToRaw.h:18
DTDigiToRaw::Word32
unsigned int Word32
Definition:
DTDigiToRaw.h:34
DTReadOutMapping.h
ParameterSet.h
DTDigiToRaw::pset
const edm::ParameterSet pset
Definition:
DTDigiToRaw.h:36
DTDigiCollection.h
FEDRawData
Definition:
FEDRawData.h:22
edm::ESHandle< DTReadOutMapping >
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:23
DTDigiToRaw::Word64
long long Word64
Definition:
DTDigiToRaw.h:35
EDProducer.h
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:21
FEDRawData.h
DTDigiToRaw::~DTDigiToRaw
virtual ~DTDigiToRaw()
Destructor.
Definition:
DTDigiToRaw.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:35
DTDigiToRaw::debug
bool debug
Definition:
DTDigiToRaw.h:39
Generated for CMSSW Reference Manual by
1.8.5