54 if ((*dcsStatus).empty())
return retVal;
77 LogDebug(
"SiStripDCSStatus") <<
" SiStripDCSStatus :: Detectors in DAQ (TIBTID, TOB, TEC+ TEC-)" 82 LogDebug(
"SiStripDCSStatus") <<
" SiStripDCSStatus :: Detectors in ON (TIBTID, TOB, TEC+ TEC-)" 86 << dcsTECB << std::endl;
88 LogDebug(
"SiStripDCSStatus") <<
" SiStripDCSStatus :: Final Flags (TIBTID, TOB, TEC+ TEC-)" 95 LogDebug(
"SiStripDCSStatus") <<
" Return Value " << retVal ;
109 auto connectedFEDs = fedCabling_->
fedIds();
115 if ( !rawDataHandle.
isValid() ) {
122 for(std::vector<unsigned short>::const_iterator ifed = connectedFEDs.begin(); ifed != connectedFEDs.end(); ifed++){
126 for (std::vector<FedChannelConnection>::const_iterator iconn = fedChannels.begin();
127 iconn < fedChannels.end(); iconn++){
128 if (!iconn->isConnected())
continue;
129 uint32_t detId = iconn->detId();
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
size_t size() const
Lenght of the data buffer in bytes.
bool getStatus(edm::Event const &e, edm::EventSetup const &eSetup)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
FedsConstIterRange fedIds() const
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< DcsStatus > DcsStatusCollection
void initialise(edm::Event const &e, edm::EventSetup const &eSetup)
ConnsConstIterRange fedConnections(uint16_t fed_id) const
SiStripDCSStatus(edm::ConsumesCollector &&iC)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
edm::EDGetTokenT< DcsStatusCollection > dcsStatusToken_
T const * product() const
unsigned int tecSide(const DetId &id) const