CMS 3D CMS Logo

SiStripDigiToRawModule.h
Go to the documentation of this file.
1 
2 #ifndef EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
3 #define EventFilter_SiStripRawToDigi_SiStripDigiToRawModule_H
4 
15 #include <string>
16 #include <cstdint>
17 namespace edm {
19 }
20 
21 namespace sistrip {
22 
23  class DigiToRaw;
24 
33  public:
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 ?
48  uint8_t packetCode_;
49  bool rawdigi_;
51  uint32_t eventCounter_;
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