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