1 #ifndef CondFormats_SiStripObjects_SiStripFedCabling_H 2 #define CondFormats_SiStripObjects_SiStripFedCabling_H 7 #include <boost/range/iterator_range.hpp> 13 #define SISTRIPCABLING_USING_NEW_STRUCTURE 14 #define SISTRIPCABLING_USING_NEW_INTERFACE 29 typedef std::vector<uint16_t>
Feds;
39 typedef std::vector<FedChannelConnection>
Conns;
96 void terse(std::stringstream&)
const;
116 uint32_t
size()
const;
121 void print(std::stringstream&)
const;
182 (range_.begin() == vector_.end() && range_.end() == vector_.end())
195 #endif // CondFormats_SiStripObjects_SiStripFedCabling_H void summary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTSUMMARY.
ConnsConstIterRange vector_
boost::iterator_range< ConnsIter > ConnsIterRange
ConnsConstIter begin() const
Conns connections_
Container of connection objects.
Feds feds_
"Active" FEDs that have connected FE devices
static const uint32_t invalid32_
FedChannelConnection fedConnection(uint16_t fed_id, uint16_t fed_ch) const
Builds range of iterators from pair of offsets.
boost::iterator_range< FedsConstIter > FedsConstIterRange
Registry registry_
Container of "ranges" indexed by FED id.
Conns::iterator ConnsIter
ConnsConstIter end() const
Conns undetected_
FE devices that are detected.
boost::iterator_range< ConnsConstIter > ConnsConstIterRange
static ConnsPair emptyPair()
Class containning control, module, detector and connection information, at the level of a FED channel...
Conns detected_
Connections to FE devices that are not detected.
boost::iterator_range< FedsIter > FedsIterRange
std::vector< uint16_t > Feds
std::ostream & operator<<(std::ostream &, const SiStripFedCabling::ConnsRange &)
ConnsPair connsPair() const
Feds::const_iterator FedsConstIter
void printSummary(std::stringstream &, const TrackerTopology *trackerTopo) const
void buildFedCabling(ConnsConstIterRange connections)
ConnsRange range(ConnsPair) const
Builds range of iterators from pair of offsets.
std::vector< ConnsPair > Registry
void printDebug(std::stringstream &, const TrackerTopology *trackerTopo) const
ConnsConstIterRange undetectedDevices() const
void terse(std::stringstream &) const
#define COND_SERIALIZABLE
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
ConnsConstIterRange range_
std::vector< FedChannelConnection > Conns
std::pair< uint32_t, uint32_t > ConnsPair
ConnsConstIterRange invalid() const
Conns::const_iterator ConnsConstIter
void print(std::stringstream &) const
FedsConstIterRange fedIds() const
void print(std::stringstream &ss, const TrackerTopology *trackerTopo) const
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTDEBUG.
ConnsConstIterRange detectedDevices() const
ConnsConstIterRange fedConnections(uint16_t fed_id) const
ConnsConstIterRange range() const