14 const uint16_t& fec_slot,
15 const uint16_t& fec_ring,
16 const uint16_t& ccu_addr,
17 const uint16_t& ccu_chan,
18 const uint16_t& lld_chan,
19 const uint16_t& i2c_addr ) :
84 i2cAddr_(input.i2cAddr())
218 const bool& first_apv ) {
229 if ( i2c_addr == 0 ) {
return 0; }
251 if ( !(&input) ) {
return false; }
260 }
else {
return false; }
267 if ( !(&input) ) {
return false; }
268 if (
isEqual(input) ) {
return true; }
276 }
else {
return false; }
538 std::stringstream
dir;
605 if ( curr != std::string::npos ) {
613 if ( curr != std::string::npos ) {
618 fecCrate_ = std::atoi( fec_crate.c_str() );
622 if ( curr != std::string::npos ) {
627 fecSlot_ = std::atoi( fec_slot.c_str() );
631 if ( curr != std::string::npos ) {
636 fecRing_ = std::atoi( fec_ring.c_str() );
640 if ( curr != std::string::npos ) {
645 ccuAddr_ = std::atoi( ccu_addr.c_str() );
649 if ( curr != std::string::npos ) {
654 ccuChan_ = std::atoi( ccu_chan.c_str() );
658 if ( curr != std::string::npos ) {
663 lldChan_ = std::atoi( lld_chan.c_str() );
667 if ( curr != std::string::npos ) {
668 next = std::string::npos;
672 i2cAddr_ = std::atoi( i2c_addr.c_str() );
681 std::stringstream
ss;
754 ss <<
"FEC:crate/slot/ring/CCU/module/LLD/I2C= "
780 ss <<
" [SiStripFecKey::print]" << std::endl
784 << std::setw(8) <<
key() << std::endl
787 <<
" FEC VME crate : " <<
fecCrate() << std::endl
788 <<
" FEC VME slot : " <<
fecSlot() << std::endl
789 <<
" FEC control ring : " <<
fecRing() << std::endl
790 <<
" CCU I2C address : " <<
ccuAddr() << std::endl
791 <<
" CCU chan (FE module) : " <<
ccuChan() << std::endl
792 <<
" LaserDriver channel : " <<
lldChan() << std::endl
793 <<
" APV I2C address : " <<
i2cAddr() << std::endl
794 <<
" Directory : " <<
path() << std::endl
797 <<
" Channel : " <<
channel() << std::endl
804 std::stringstream
ss;
813 : mask_( key.fecCrate() ? sistrip::
invalid_ : 0,
814 key.fecSlot() ? sistrip::
invalid_ : 0,
815 key.fecRing() ? sistrip::
invalid_ : 0,
816 key.ccuAddr() ? sistrip::
invalid_ : 0,
817 key.ccuChan() ? sistrip::
invalid_ : 0,
818 key.lldChan() ? sistrip::
invalid_ : 0,
819 key.i2cAddr() ? sistrip::
invalid_ : 0 ) {;}
static const uint16_t ccuChanOffset_
static const uint16_t APV_I2C_MIN
static const uint16_t ccuChanMask_
static const uint16_t i2cAddrOffset_
const uint16_t & fecRing() const
static const uint16_t CCU_ADDR_MAX
static const uint16_t CCU_CHAN_MAX
Various generic constants used by DQM.
static const uint16_t CCU_CHAN_MIN
static const uint32_t invalid32_
static const uint16_t LLD_CHAN_MIN
static const uint16_t LLD_CHAN_MAX
static const uint16_t fecSlotMask_
static const uint16_t fecRingOffset_
virtual void print(std::stringstream &ss) const
static const uint16_t FEC_CRATE_MIN
static std::string granularity(const sistrip::Granularity &)
const uint16_t & lldChan() const
static const uint16_t CRATE_SLOT_MAX
const uint16_t & fecSlot() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const uint16_t & i2cAddr() const
static const uint16_t fecCrateMask_
static const uint16_t FEC_RING_MAX
static const char fecSlot_[]
Constants and enumerated types for sistrip::View.
static std::string const input
const uint32_t & key() const
static const char ccuChan_[]
static const char ccuAddr_[]
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
static const uint16_t FEC_CRATE_MAX
const sistrip::Granularity & granularity() const
static bool firstApvOfPair(const uint16_t &i2c_addr)
static const uint16_t lldChanOffset_
static const char lldChan_[]
static const uint16_t CCU_ADDR_MIN
static uint16_t hybridPos(const uint16_t &i2c_addr)
tuple path
else: Piece not in the list, fine.
static const char controlView_[]
static const char fecCrate_[]
Base utility class that identifies a position within a logical structure of the strip tracker...
const std::string & path() const
const uint16_t & fecCrate() const
static const uint16_t FEC_RING_MIN
static const uint16_t lldChanMask_
static const uint16_t CRATE_SLOT_MIN
bool isEqual(const SiStripKey &) const
const uint16_t & channel() const
static const uint16_t fecSlotOffset_
Constants and enumerated types for FED/FEC systems.
static const char fecRing_[]
const uint16_t & ccuAddr() const
static const uint16_t invalid_
bool operator()(const uint32_t &, const uint32_t &) const
static const uint16_t APVS_PER_CHAN
static const uint16_t ccuAddrMask_
static const uint16_t APV_I2C_MAX
Concrete implementation of abstract base, signifying null values or an "unknown" position or view...
static const char root_[]
static const uint16_t i2cAddrMask_
const uint16_t & ccuChan() const
static const uint16_t fecRingMask_
static const uint16_t fecCrateOffset_
bool isConsistent(const SiStripKey &) const
static const uint16_t ccuAddrOffset_
static const char null_[]
virtual void terse(std::stringstream &ss) const