2 #ifndef CalibFormats_SiStripObjects_SiStripModule_H 3 #define CalibFormats_SiStripObjects_SiStripModule_H 7 #include <boost/cstdint.hpp> 52 FedChannel(
const uint16_t& crate,
const uint16_t& slot,
const uint16_t&
id,
const uint16_t& ch ) :
53 fedCrate_(crate), fedSlot_(slot), fedId_(id), fedCh_(ch) {;}
54 FedChannel() : fedCrate_(0), fedSlot_(0), fedId_(0), fedCh_(0) {;}
63 inline const uint16_t&
fecCrate()
const;
64 inline const uint16_t&
fecSlot()
const;
65 inline const uint16_t&
fecRing()
const;
66 inline const uint16_t&
ccuAddr()
const;
67 inline const uint16_t&
ccuChan()
const;
81 const uint16_t&
activeApv(
const uint16_t& apv_address )
const;
88 void addApv(
const uint16_t& apv_address );
93 inline const uint16_t&
dcu()
const;
96 inline const uint16_t&
mux()
const;
99 inline const uint16_t&
pll()
const;
102 inline const uint16_t&
lld()
const;
107 inline const uint32_t&
dcuId()
const;
110 uint16_t
lldChannel(
const uint16_t& apv_pair_num )
const;
113 inline void dcuId(
const uint32_t& dcu_id );
118 inline const uint32_t&
detId()
const;
124 inline const uint16_t&
nApvPairs()
const;
130 inline void detId(
const uint32_t& det_id );
133 void nApvPairs(
const uint16_t& npairs );
145 bool fedCh(
const uint16_t& apv_address,
151 void print( std::stringstream& )
const;
154 void terse( std::stringstream& )
const;
157 inline const uint16_t&
length()
const;
219 #endif // CalibTracker_SiStripObjects_SiStripModule_H Device and connection information at the level of a front-end module.
void terse(std::stringstream &) const
std::vector< uint16_t > activeApvs() const
const uint16_t & fecRing() const
void print(std::stringstream &) const
const SiStripFecKey & key() const
void addDevices(const FedChannelConnection &conn)
const uint16_t & fecSlot() const
const FedCabling & fedChannels() const
uint16_t apvPairNumber(const uint16_t &lld_channel) const
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
const uint16_t & length() const
const uint16_t & pll() const
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & dcu() const
uint16_t nDetStrips() const
uint16_t lldChannel(const uint16_t &apv_pair_num) const
const uint16_t & ccuChan() const
void addApv(const uint16_t &apv_address)
const uint16_t & fecSlot() const
const uint16_t & fecRing() const
const uint16_t & fecCrate() const
PairOfU16 activeApvPair(const uint16_t &lld_channel) const
const uint16_t & nApvPairs() const
const uint16_t & fecCrate() const
const uint32_t & dcuId() const
const uint16_t & mux() const
const uint16_t & ccuAddr() const
std::pair< uint16_t, uint16_t > PairOfU16
const uint32_t & detId() const
const uint16_t & lld() const
FedChannel fedCh(const uint16_t &apv_pair_num) const
const uint16_t & ccuChan() const
std::map< uint16_t, FedChannel > FedCabling
const uint16_t & ccuAddr() const
std::ostream & operator<<(std::ostream &, const SiStripModule &)
FedChannel(const uint16_t &crate, const uint16_t &slot, const uint16_t &id, const uint16_t &ch)
const uint16_t & activeApv(const uint16_t &apv_address) const
SiStripModule(const FedChannelConnection &conn)