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/Framework/interface/ESWatcher.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
10
#include "
FWCore/Utilities/interface/Visibility.h
"
11
#include "
CondFormats/DataRecord/interface/SiStripFedCablingRcd.h
"
12
#include <string>
13
#include <cstdint>
14
15
namespace
sistrip
{
16
class
RawToDigiModule;
17
}
18
namespace
sistrip
{
19
class
RawToDigiUnpacker;
20
}
21
class
SiStripFedCabling
;
22
class
TrackerTopology
;
23
32
namespace
sistrip
{
33
34
class
dso_hidden
RawToDigiModule
final :
public
edm::stream::EDProducer
<> {
35
public
:
36
RawToDigiModule
(
const
edm::ParameterSet
&);
37
~
RawToDigiModule
()
override
;
38
39
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
40
void
endStream()
override
;
41
42
private
:
43
void
updateCabling(
const
edm::EventSetup
&);
44
45
RawToDigiUnpacker
*
rawToDigi_
;
46
edm::EDGetTokenT<FEDRawDataCollection>
token_
;
47
const
SiStripFedCabling
* cabling_ =
nullptr
;
48
bool
extractCm_
;
49
bool
doFullCorruptBufferChecks_
;
50
51
//March 2012: add flag for disabling APVe check in configuration
52
bool
doAPVEmulatorCheck_
;
53
54
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
tTopoToken_
;
55
edm::ESGetToken<SiStripFedCabling, SiStripFedCablingRcd>
fedCablingToken_
;
56
edm::ESWatcher<SiStripFedCablingRcd>
fedCablingWatcher_
;
57
};
58
59
}
// namespace sistrip
60
61
#endif // EventFilter_SiStripRawToDigi_SiStripRawToDigiModule_H
Visibility.h
edm::ESWatcher< SiStripFedCablingRcd >
sistrip::RawToDigiModule::extractCm_
bool extractCm_
Definition:
SiStripRawToDigiModule.h:48
edm::EDGetTokenT< FEDRawDataCollection >
TrackerTopology
Definition:
TrackerTopology.h:16
sistrip::RawToDigiModule::rawToDigi_
RawToDigiUnpacker * rawToDigi_
Definition:
SiStripRawToDigiModule.h:45
sistrip::RawToDigiModule::token_
edm::EDGetTokenT< FEDRawDataCollection > token_
Definition:
SiStripRawToDigiModule.h:46
EDProducer.h
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition:
SiStripFedCabling.h:25
sistrip::RawToDigiModule::fedCablingWatcher_
edm::ESWatcher< SiStripFedCablingRcd > fedCablingWatcher_
Definition:
SiStripRawToDigiModule.h:56
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
sistrip::RawToDigiModule::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition:
SiStripRawToDigiModule.h:54
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
sistrip::RawToDigiModule
Definition:
SiStripRawToDigiModule.h:34
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
sistrip::RawToDigiModule::doFullCorruptBufferChecks_
bool doFullCorruptBufferChecks_
Definition:
SiStripRawToDigiModule.h:49
ESWatcher.h
sistrip::RawToDigiUnpacker
Definition:
SiStripRawToDigiUnpacker.h:31
EventSetup.h
SiStripFedCablingRcd.h
ParameterSet.h
sistrip
sistrip classes
Definition:
SiStripQualityHelpers.h:14
edm::Event
Definition:
Event.h:73
sistrip::RawToDigiModule::fedCablingToken_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
Definition:
SiStripRawToDigiModule.h:55
sistrip::RawToDigiModule::doAPVEmulatorCheck_
bool doAPVEmulatorCheck_
Definition:
SiStripRawToDigiModule.h:52
Generated for CMSSW Reference Manual by
1.8.16