EventFilter
SiStripRawToDigi
plugins
SiStripRawToDigiModule.h
Go to the documentation of this file.
1
#ifndef EventFilter_SiStripRawToDigi_SiStripRawToDigiModule_H
2
#define EventFilter_SiStripRawToDigi_SiStripRawToDigiModule_H
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
9
#include "
FWCore/Utilities/interface/Visibility.h
"
10
#include <string>
11
#include <cstdint>
12
13
namespace
sistrip
{
14
class
RawToDigiModule;
15
}
16
namespace
sistrip
{
17
class
RawToDigiUnpacker;
18
}
19
class
SiStripFedCabling
;
20
29
namespace
sistrip
{
30
31
class
dso_hidden
RawToDigiModule
final :
public
edm::stream::EDProducer
<> {
32
public
:
33
RawToDigiModule
(
const
edm::ParameterSet
&);
34
~
RawToDigiModule
()
override
;
35
36
void
beginRun(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
37
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
38
void
endStream()
override
;
39
40
private
:
41
void
updateCabling(
const
edm::EventSetup
&);
42
43
RawToDigiUnpacker
*
rawToDigi_
;
44
edm::EDGetTokenT<FEDRawDataCollection>
token_
;
45
const
SiStripFedCabling
*
cabling_
;
46
uint32_t
cacheId_
;
47
bool
extractCm_
;
48
bool
doFullCorruptBufferChecks_
;
49
50
//March 2012: add flag for disabling APVe check in configuration
51
bool
doAPVEmulatorCheck_
;
52
};
53
54
}
// namespace sistrip
55
56
#endif // EventFilter_SiStripRawToDigi_SiStripRawToDigiModule_H
Visibility.h
sistrip::RawToDigiModule::extractCm_
bool extractCm_
Definition:
SiStripRawToDigiModule.h:47
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< FEDRawDataCollection >
sistrip::RawToDigiModule::rawToDigi_
RawToDigiUnpacker * rawToDigi_
Definition:
SiStripRawToDigiModule.h:43
sistrip::RawToDigiModule::token_
edm::EDGetTokenT< FEDRawDataCollection > token_
Definition:
SiStripRawToDigiModule.h:44
EDProducer.h
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition:
SiStripFedCabling.h:25
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
sistrip::RawToDigiModule::cacheId_
uint32_t cacheId_
Definition:
SiStripRawToDigiModule.h:46
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
sistrip::RawToDigiModule::cabling_
const SiStripFedCabling * cabling_
Definition:
SiStripRawToDigiModule.h:45
sistrip::RawToDigiModule
Definition:
SiStripRawToDigiModule.h:31
sistrip::RawToDigiModule::doFullCorruptBufferChecks_
bool doFullCorruptBufferChecks_
Definition:
SiStripRawToDigiModule.h:48
sistrip::RawToDigiUnpacker
Definition:
SiStripRawToDigiUnpacker.h:31
EventSetup.h
ParameterSet.h
sistrip
sistrip classes
Definition:
SiStripQualityHelpers.h:14
edm::Event
Definition:
Event.h:73
sistrip::RawToDigiModule::doAPVEmulatorCheck_
bool doAPVEmulatorCheck_
Definition:
SiStripRawToDigiModule.h:51
Generated for CMSSW Reference Manual by
1.8.16