src
EventFilter
SiStripRawToDigi
plugins
ExcludedFEDListProducer.h
Go to the documentation of this file.
1
#ifndef EventFilter_SiStripRawToDigi_ExcludedFEDListProducer_H
2
#define EventFilter_SiStripRawToDigi_ExcludedFEDListProducer_H
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
FWCore/Utilities/interface/ESGetToken.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
DataFormats/Common/interface/Handle.h
"
13
#include "
DataFormats/Common/interface/DetSetVector.h
"
14
#include "
DataFormats/DetId/interface/DetIdCollection.h
"
15
#include "
DataFormats/SiStripCommon/interface/SiStripConstants.h
"
16
#include "
EventFilter/SiStripRawToDigi/interface/SiStripFEDBuffer.h
"
17
#include "
CondFormats/SiStripObjects/interface/SiStripFedCabling.h
"
18
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
19
#include "
CondFormats/DataRecord/interface/SiStripFedCablingRcd.h
"
20
#include <iostream>
21
#include <string>
22
#include <vector>
23
#include <cstdint>
24
25
namespace
sistrip
{
26
27
class
ExcludedFEDListProducer
:
public
edm::stream::EDProducer
<> {
28
public
:
30
ExcludedFEDListProducer
(
const
edm::ParameterSet
&
pset
);
32
~ExcludedFEDListProducer
()
override
;
33
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
& es)
override
;
34
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
35
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& es)
override
;
36
37
private
:
38
unsigned
int
runNumber_
;
39
uint32_t
cacheId_
;
40
const
SiStripFedCabling
*
cabling_
;
41
const
edm::EDGetTokenT<FEDRawDataCollection>
token_
;
42
edm::ESGetToken<SiStripFedCabling, SiStripFedCablingRcd>
cablingToken_
;
43
44
DetIdCollection
detids_
;
45
};
46
}
// namespace sistrip
47
#endif // EventFilter_SiStripRawToDigi_ExcludedFEDListProducer_H
sistrip::ExcludedFEDListProducer::produce
void produce(edm::Event &event, const edm::EventSetup &es) override
Definition:
ExcludedFEDListProducer.cc:48
sistrip::ExcludedFEDListProducer::cacheId_
uint32_t cacheId_
Definition:
ExcludedFEDListProducer.h:39
Event.h
MakerMacros.h
edm::EDCollection< DetId >
EventSetup.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
FEDRawDataCollection.h
edm::EDGetTokenT< FEDRawDataCollection >
Frameworkfwd.h
sistrip::ExcludedFEDListProducer::token_
const edm::EDGetTokenT< FEDRawDataCollection > token_
Definition:
ExcludedFEDListProducer.h:41
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
sistrip
sistrip classes
Definition:
EnsembleCalibrationLA.cc:9
sistrip::ExcludedFEDListProducer::runNumber_
unsigned int runNumber_
Definition:
ExcludedFEDListProducer.h:38
SiStripFedCabling.h
DetSetVector.h
ParameterSet.h
EDProducer.h
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd >
DetIdCollection.h
sistrip::ExcludedFEDListProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
ExcludedFEDListProducer.cc:42
sistrip::ExcludedFEDListProducer::ExcludedFEDListProducer
ExcludedFEDListProducer(const edm::ParameterSet &pset)
constructor
Definition:
ExcludedFEDListProducer.cc:20
ESGetToken.h
sistrip::ExcludedFEDListProducer::cabling_
const SiStripFedCabling * cabling_
Definition:
ExcludedFEDListProducer.h:40
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
sistrip::ExcludedFEDListProducer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition:
ExcludedFEDListProducer.cc:31
edm::stream::EDProducer
Definition:
EDProducer.h:36
SiStripFEDBuffer.h
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
Definition:
SiStripFedCabling.h:25
SiStripFedCablingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
sistrip::ExcludedFEDListProducer
Definition:
ExcludedFEDListProducer.h:27
sistrip::ExcludedFEDListProducer::cablingToken_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > cablingToken_
Definition:
ExcludedFEDListProducer.h:42
sistrip::ExcludedFEDListProducer::~ExcludedFEDListProducer
~ExcludedFEDListProducer() override
default constructor
Definition:
ExcludedFEDListProducer.cc:29
sistrip::ExcludedFEDListProducer::detids_
DetIdCollection detids_
Definition:
ExcludedFEDListProducer.h:44
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:45
SiStripConstants.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.14