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/ParameterSet/interface/ParameterSet.h
"
11
#include "
DataFormats/Common/interface/Handle.h
"
12
#include "
DataFormats/Common/interface/DetSetVector.h
"
13
#include "
DataFormats/DetId/interface/DetIdCollection.h
"
14
#include "
DataFormats/SiStripCommon/interface/SiStripConstants.h
"
15
#include "
EventFilter/SiStripRawToDigi/interface/SiStripFEDBuffer.h
"
16
#include "
CondFormats/SiStripObjects/interface/SiStripFedCabling.h
"
17
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
18
#include <iostream>
19
#include <string>
20
#include <vector>
21
#include <cstdint>
22
23
namespace
sistrip
{
24
25
class
ExcludedFEDListProducer
:
public
edm::stream::EDProducer
<> {
26
public
:
28
ExcludedFEDListProducer
(
const
edm::ParameterSet
&
pset
);
30
~ExcludedFEDListProducer
()
override
;
31
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
& es)
override
;
32
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
33
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& es)
override
;
34
35
private
:
36
unsigned
int
runNumber_
;
37
uint32_t
cacheId_
;
38
const
SiStripFedCabling
*
cabling_
;
39
const
edm::EDGetTokenT<FEDRawDataCollection>
token_
;
40
41
DetIdCollection
detids_
;
42
};
43
}
// namespace sistrip
44
#endif // EventFilter_SiStripRawToDigi_ExcludedFEDListProducer_H
Handle.h
ESHandle.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< FEDRawDataCollection >
sistrip::ExcludedFEDListProducer::runNumber_
unsigned int runNumber_
Definition:
ExcludedFEDListProducer.h:36
SiStripFedCabling.h
EDProducer.h
sistrip::ExcludedFEDListProducer::detids_
DetIdCollection detids_
Definition:
ExcludedFEDListProducer.h:41
sistrip::ExcludedFEDListProducer::cacheId_
uint32_t cacheId_
Definition:
ExcludedFEDListProducer.h:37
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition:
SiStripFedCabling.h:25
sistrip::ExcludedFEDListProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
ExcludedFEDListProducer.cc:46
MakerMacros.h
sistrip::ExcludedFEDListProducer::token_
const edm::EDGetTokenT< FEDRawDataCollection > token_
Definition:
ExcludedFEDListProducer.h:39
SiStripFEDBuffer.h
sistrip::ExcludedFEDListProducer::ExcludedFEDListProducer
ExcludedFEDListProducer(const edm::ParameterSet &pset)
constructor
Definition:
ExcludedFEDListProducer.cc:24
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
SiStripConstants.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
sistrip::ExcludedFEDListProducer
Definition:
ExcludedFEDListProducer.h:25
edm::EventSetup
Definition:
EventSetup.h:57
DetSetVector.h
edm::EDCollection< DetId >
sistrip::ExcludedFEDListProducer::~ExcludedFEDListProducer
~ExcludedFEDListProducer() override
default constructor
Definition:
ExcludedFEDListProducer.cc:32
sistrip::ExcludedFEDListProducer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition:
ExcludedFEDListProducer.cc:34
sistrip::ExcludedFEDListProducer::cabling_
const SiStripFedCabling * cabling_
Definition:
ExcludedFEDListProducer.h:38
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
Frameworkfwd.h
EventSetup.h
ParameterSet.h
sistrip
sistrip classes
Definition:
SiStripQualityHelpers.h:14
sistrip::ExcludedFEDListProducer::produce
void produce(edm::Event &event, const edm::EventSetup &es) override
Definition:
ExcludedFEDListProducer.cc:52
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
DetIdCollection.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16