1 #ifndef CondFormats_SiStripObjects_SiStripFedCabling_H 2 #define CondFormats_SiStripObjects_SiStripFedCabling_H 7 #include <boost/range/iterator_range.hpp> 8 #include <boost/cstdint.hpp> 13 #define SISTRIPCABLING_USING_NEW_STRUCTURE 14 #define SISTRIPCABLING_USING_NEW_INTERFACE 31 typedef std::vector<uint16_t>
Feds;
41 typedef std::vector<FedChannelConnection>
Conns;
72 FedsConstIterRange
fedIds()
const;
100 void terse( std::stringstream& )
const;
118 ConnsConstIter
begin()
const;
119 ConnsConstIter
end()
const;
120 ConnsConstIterRange
range()
const;
121 ConnsConstIterRange
invalid()
const;
124 uint32_t
size()
const;
129 void print( std::stringstream& )
const;
218 #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
std::pair< uint32_t, uint32_t > ConnsPair
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.
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
std::ostream & operator<<(std::ostream &, const SiStripFedCabling::ConnsRange &)
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.
void printSummary(std::stringstream &, const TrackerTopology *trackerTopo) const
Conns::const_iterator ConnsConstIter