EventFilter
SiStripRawToDigi
plugins
SiStripDigiToRawModule.h
Go to the documentation of this file.
1
2
#ifndef EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
3
#define EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
4
5
#include "
EventFilter/SiStripRawToDigi/interface/SiStripFEDBufferComponents.h
"
6
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
7
#include "
DataFormats/Common/interface/DetSetVector.h
"
8
#include "
DataFormats/SiStripDigi/interface/SiStripDigi.h
"
9
#include "
DataFormats/SiStripDigi/interface/SiStripRawDigi.h
"
10
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
11
#include "
CondFormats/DataRecord/interface/SiStripFedCablingRcd.h
"
12
#include "
CondFormats/SiStripObjects/interface/SiStripFedCabling.h
"
13
#include "
FWCore/Utilities/interface/Visibility.h
"
14
#include "
FWCore/Utilities/interface/ESGetToken.h
"
15
#include <string>
16
#include <cstdint>
17
namespace
edm
{
18
class
ConfigurationDescriptions
;
19
}
20
21
namespace
sistrip
{
22
23
class
DigiToRaw
;
24
32
class
dso_hidden
DigiToRawModule
final :
public
edm::stream::EDProducer
<> {
33
public
:
34
DigiToRawModule
(
const
edm::ParameterSet
&);
35
~
DigiToRawModule
()
override
;
36
37
virtual
void
beginJob
() {}
38
virtual
void
endJob
() {}
39
40
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
41
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
42
void
endStream()
override
;
43
44
private
:
45
//CAMM can we do without this bool based on the mode ?
46
bool
copyBufferHeader_
;
47
FEDReadoutMode
mode_
;
48
uint8_t
packetCode_
;
49
bool
rawdigi_
;
50
DigiToRaw
*
digiToRaw_
;
51
uint32_t
eventCounter_
;
52
edm::InputTag
inputDigiTag_
;
53
edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi>
>
tokenRawDigi
;
54
edm::EDGetTokenT<edm::DetSetVector<SiStripDigi>
>
tokenDigi
;
55
edm::InputTag
rawDataTag_
;
56
edm::EDGetTokenT<FEDRawDataCollection>
tokenRawBuffer
;
57
edm::ESGetToken<SiStripFedCabling, SiStripFedCablingRcd>
tokenCabling
;
58
};
59
60
}
// namespace sistrip
61
62
#endif // EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
Visibility.h
sistrip::DigiToRaw
Input: edm::DetSetVector<SiStripDigi>. Output: FEDRawDataCollection.
Definition:
SiStripDigiToRaw.h:30
DigiToRaw_cff.DigiToRaw
DigiToRaw
Definition:
DigiToRaw_cff.py:23
sistrip::DigiToRawModule::copyBufferHeader_
bool copyBufferHeader_
Definition:
SiStripDigiToRawModule.h:46
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
SiStripRawDigi.h
SiStripFedCabling.h
EDProducer.h
sistrip::DigiToRawModule
A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a ...
Definition:
SiStripDigiToRawModule.h:32
ESGetToken.h
sistrip::DigiToRawModule::inputDigiTag_
edm::InputTag inputDigiTag_
Definition:
SiStripDigiToRawModule.h:52
sistrip::FEDReadoutMode
FEDReadoutMode
Definition:
SiStripFEDBufferComponents.h:45
sistrip::DigiToRawModule::beginJob
virtual void beginJob()
Definition:
SiStripDigiToRawModule.h:37
sistrip::DigiToRawModule::packetCode_
uint8_t packetCode_
Definition:
SiStripDigiToRawModule.h:48
SiStripDigi.h
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
sistrip::DigiToRawModule::tokenCabling
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > tokenCabling
Definition:
SiStripDigiToRawModule.h:57
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
sistrip::DigiToRawModule::endJob
virtual void endJob()
Definition:
SiStripDigiToRawModule.h:38
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
sistrip::DigiToRawModule::rawDataTag_
edm::InputTag rawDataTag_
Definition:
SiStripDigiToRawModule.h:55
SiStripFEDBufferComponents.h
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
DetSetVector.h
sistrip::DigiToRawModule::tokenDigi
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > tokenDigi
Definition:
SiStripDigiToRawModule.h:54
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd >
sistrip::DigiToRawModule::rawdigi_
bool rawdigi_
Definition:
SiStripDigiToRawModule.h:49
ConfigurationDescriptions
sistrip::DigiToRawModule::mode_
FEDReadoutMode mode_
Definition:
SiStripDigiToRawModule.h:47
sistrip::DigiToRawModule::tokenRawDigi
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > tokenRawDigi
Definition:
SiStripDigiToRawModule.h:53
sistrip::DigiToRawModule::digiToRaw_
DigiToRaw * digiToRaw_
Definition:
SiStripDigiToRawModule.h:50
SiStripFedCablingRcd.h
sistrip
sistrip classes
Definition:
SiStripQualityHelpers.h:14
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
sistrip::DigiToRawModule::eventCounter_
uint32_t eventCounter_
Definition:
SiStripDigiToRawModule.h:51
sistrip::DigiToRawModule::tokenRawBuffer
edm::EDGetTokenT< FEDRawDataCollection > tokenRawBuffer
Definition:
SiStripDigiToRawModule.h:56
Generated for CMSSW Reference Manual by
1.8.16