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
ConnsConstIterRange detectedDevices() const
ConnsConstIter end() const
ConnsConstIterRange vector_
boost::iterator_range< ConnsIter > ConnsIterRange
void print(std::stringstream &) const
ConnsConstIterRange range() const
Conns connections_
Container of connection objects.
Feds feds_
"Active" FEDs that have connected FE devices
FedChannelConnection fedConnection(uint16_t fed_id, uint16_t fed_ch) const
static const uint32_t invalid32_
void terse(std::stringstream &) const
ConnsConstIterRange undetectedDevices() const
Builds range of iterators from pair of offsets.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
boost::iterator_range< FedsConstIter > FedsConstIterRange
Registry registry_
Container of "ranges" indexed by FED id.
Conns::iterator ConnsIter
void print(std::stringstream &ss, const TrackerTopology *trackerTopo) const
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTDEBUG.
Conns undetected_
FE devices that are detected.
boost::iterator_range< ConnsConstIter > ConnsConstIterRange
static ConnsPair emptyPair()
ConnsPair connsPair() const
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.
FedsConstIterRange fedIds() const
void printDebug(std::stringstream &, const TrackerTopology *trackerTopo) const
boost::iterator_range< FedsIter > FedsIterRange
std::vector< uint16_t > Feds
ConnsConstIterRange invalid() const
Feds::const_iterator FedsConstIter
void buildFedCabling(ConnsConstIterRange connections)
ConnsConstIter begin() const
ConnsRange range(ConnsPair) const
Builds range of iterators from pair of offsets.
std::vector< ConnsPair > Registry
#define COND_SERIALIZABLE
ConnsConstIterRange fedConnections(uint16_t fed_id) const
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
ConnsConstIterRange range_
std::vector< FedChannelConnection > Conns
void summary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTSUMMARY.
std::pair< uint32_t, uint32_t > ConnsPair
void printSummary(std::stringstream &, const TrackerTopology *trackerTopo) const
Conns::const_iterator ConnsConstIter