#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.
22 produces<DetIdVector>();
const edm::EDGetTokenT< FEDRawDataCollection > token_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > cablingToken_
◆ ~ExcludedFEDListProducer()
sistrip::ExcludedFEDListProducer::~ExcludedFEDListProducer |
( |
| ) |
|
|
override |
◆ fillDescriptions()
◆ produce()
Definition at line 33 of file ExcludedFEDListProducer.cc.
References cablingToken_, detids_, emptyDetIdVector, FEDRawDataCollection::FEDData(), edm::EventSetup::getData(), input, sistrip::invalid32_, runNumber_, and token_.
45 event.getByToken(
token_, buffers);
48 for (
auto ifed = cabling.fedIds().begin(); ifed != cabling.fedIds().end(); ifed++) {
56 if (
input.size() == 0) {
59 auto conns = cabling.fedConnections(*ifed);
62 for (
auto iconn = conns.begin(); iconn != conns.end(); ++iconn) {
65 detids_.push_back(iconn->detId());
75 event.put(std::make_unique<DetIdVector>(
detids_));
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static const uint32_t invalid32_
const edm::EDGetTokenT< FEDRawDataCollection > token_
static std::string const input
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
std::vector< DetId > DetIdVector
static const std::vector< DetId > emptyDetIdVector
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > cablingToken_
◆ cablingToken_
◆ detids_
◆ runNumber_
unsigned int sistrip::ExcludedFEDListProducer::runNumber_ |
|
private |
◆ token_