#include <ExcludedFEDListProducer.h>
Definition at line 27 of file ExcludedFEDListProducer.h.
◆ ExcludedFEDListProducer()
sistrip::ExcludedFEDListProducer::ExcludedFEDListProducer |
( |
const edm::ParameterSet & |
pset | ) |
|
constructor
Definition at line 20 of file ExcludedFEDListProducer.cc.
25 cablingToken_(esConsumes<SiStripFedCabling, SiStripFedCablingRcd, edm::Transition::BeginRun>()) {
26 produces<DetIdCollection>();
const edm::EDGetTokenT< FEDRawDataCollection > token_
const SiStripFedCabling * cabling_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > cablingToken_
◆ ~ExcludedFEDListProducer()
sistrip::ExcludedFEDListProducer::~ExcludedFEDListProducer |
( |
| ) |
|
|
override |
◆ beginRun()
◆ fillDescriptions()
◆ produce()
Definition at line 48 of file ExcludedFEDListProducer.cc.
References cabling_, detids_, SiStripFedCabling::fedConnections(), FEDRawDataCollection::FEDData(), SiStripFedCabling::fedIds(), input, sistrip::invalid32_, edm::EDCollection< T >::push_back(), edm::EDCollection< T >::reserve(), runNumber_, edm::EDCollection< T >::size(), edm::EDCollection< T >::swap(), and token_.
58 event.getByToken(
token_, buffers);
69 if (
input.size() == 0) {
75 for (
auto iconn = conns.begin(); iconn != conns.end(); ++iconn) {
88 event.put(std::make_unique<DetIdCollection>(
detids_));
static const uint32_t invalid32_
void push_back(T const &t)
const edm::EDGetTokenT< FEDRawDataCollection > token_
static std::string const input
const SiStripFedCabling * cabling_
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void reserve(size_type n)
FedsConstIterRange fedIds() const
void swap(EDCollection< T > &other)
ConnsConstIterRange fedConnections(uint16_t fed_id) const
◆ cabling_
◆ cablingToken_
◆ cacheId_
uint32_t sistrip::ExcludedFEDListProducer::cacheId_ |
|
private |
◆ detids_
◆ runNumber_
unsigned int sistrip::ExcludedFEDListProducer::runNumber_ |
|
private |
◆ token_