#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<DetIdVector>();
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_, emptyDetIdVector, SiStripFedCabling::fedConnections(), FEDRawDataCollection::FEDData(), SiStripFedCabling::fedIds(), input, sistrip::invalid32_, runNumber_, and token_.
58 event.getByToken(
token_, buffers);
69 if (
input.size() == 0) {
75 for (
auto iconn = conns.begin(); iconn != conns.end(); ++iconn) {
78 detids_.push_back(iconn->detId());
88 event.put(std::make_unique<DetIdVector>(
detids_));
static const uint32_t invalid32_
const edm::EDGetTokenT< FEDRawDataCollection > token_
static std::string const input
const SiStripFedCabling * cabling_
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
std::vector< DetId > DetIdVector
static const std::vector< DetId > emptyDetIdVector
FedsConstIterRange fedIds() const
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_