16 #include <ext/algorithm> 22 produces<DetIdVector>();
30 descriptions.
add(
"siStripExcludedFEDListProducer",
desc);
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_));
static const char runNumber_[]
void produce(edm::Event &event, const edm::EventSetup &es) override
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
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ExcludedFEDListProducer(const edm::ParameterSet &pset)
constructor
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
std::vector< DetId > DetIdVector
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static const std::vector< DetId > emptyDetIdVector
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > cablingToken_
~ExcludedFEDListProducer() override
default constructor