|
|
Go to the documentation of this file.
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)
81 i2cAddr_(
input.i2cAddr()) {
509 std::stringstream
dir;
574 if (curr != std::string::npos) {
581 if (curr != std::string::npos) {
585 fecCrate_ = std::atoi(fec_crate.c_str());
589 if (curr != std::string::npos) {
593 fecSlot_ = std::atoi(fec_slot.c_str());
597 if (curr != std::string::npos) {
601 fecRing_ = std::atoi(fec_ring.c_str());
605 if (curr != std::string::npos) {
609 ccuAddr_ = std::atoi(ccu_addr.c_str());
613 if (curr != std::string::npos) {
617 ccuChan_ = std::atoi(ccu_chan.c_str());
621 if (curr != std::string::npos) {
625 lldChan_ = std::atoi(lld_chan.c_str());
629 if (curr != std::string::npos) {
630 next = std::string::npos;
632 i2cAddr_ = std::atoi(i2c_addr.c_str());
641 std::stringstream
ss;
730 ss <<
" [SiStripFecKey::print]" << std::endl
731 << std::hex <<
" FEC key : 0x" << std::setfill(
'0') << std::setw(8) <<
key() << std::endl
732 << std::setfill(
' ') <<
std::dec <<
" FEC VME crate : " <<
fecCrate() << std::endl
733 <<
" FEC VME slot : " <<
fecSlot() << std::endl
734 <<
" FEC control ring : " <<
fecRing() << std::endl
735 <<
" CCU I2C address : " <<
ccuAddr() << std::endl
736 <<
" CCU chan (FE module) : " <<
ccuChan() << std::endl
737 <<
" LaserDriver channel : " <<
lldChan() << std::endl
738 <<
" APV I2C address : " <<
i2cAddr() << std::endl
739 <<
" Directory : " <<
path() << std::endl
741 <<
" Channel : " <<
channel() << std::endl
748 std::stringstream
ss;
static const char null_[]
void initGranularity() override
static const uint16_t fecSlotMask_
static const uint16_t lldChanOffset_
static const std::string input
static const uint16_t ccuAddrOffset_
void print(std::stringstream &ss) const override
static const uint32_t invalid32_
void initFromValue() override
static const uint16_t LLD_CHAN_MIN
static const uint16_t FEC_CRATE_MIN
const uint32_t & key() const
const uint16_t & lldChan() const
static const uint16_t CCU_ADDR_MAX
static const uint16_t FEC_RING_MAX
static const uint16_t APV_I2C_MIN
static const uint16_t FEC_CRATE_MAX
static const uint16_t CCU_CHAN_MIN
bool operator()(const uint32_t &, const uint32_t &) const
const uint16_t & fecCrate() const
Constants and enumerated types for FED/FEC systems.
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
static const uint16_t ccuAddrMask_
static const char ccuAddr_[]
const sistrip::Granularity & granularity() const
static const uint16_t CRATE_SLOT_MAX
static const uint16_t CCU_ADDR_MIN
static const uint16_t LLD_CHAN_MAX
const uint16_t & channel() const
static const uint16_t ccuChanOffset_
static const uint16_t fecRingMask_
void terse(std::stringstream &ss) const override
static const uint16_t fecCrateOffset_
const uint16_t & fecRing() const
static const char fecCrate_[]
static const uint16_t FEC_RING_MIN
static std::string granularity(const sistrip::Granularity &)
static const char fecSlot_[]
Utility class that identifies a position within the strip tracker control structure,...
const uint16_t & ccuChan() const
static const uint16_t CRATE_SLOT_MIN
static const char ccuChan_[]
static const char lldChan_[]
const std::string & path() const
static const char controlView_[]
bool isEqual(const SiStripKey &) const override
static const uint16_t fecCrateMask_
static const char root_[]
Concrete implementation of abstract base, signifying null values or an "unknown" position or view.
static const uint16_t invalid_
Constants and enumerated types for sistrip::View.
bool isConsistent(const SiStripKey &) const override
static const uint16_t i2cAddrMask_
static uint16_t hybridPos(const uint16_t &i2c_addr)
const uint16_t & i2cAddr() const
Various generic constants used by DQM.
static const uint16_t ccuChanMask_
static const uint16_t APV_I2C_MAX
const uint16_t & ccuAddr() const
static const uint16_t fecSlotOffset_
static const uint16_t fecRingOffset_
static const char fecRing_[]
static bool firstApvOfPair(const uint16_t &i2c_addr)
void initFromPath() override
const uint16_t & fecSlot() const
static const uint16_t APVS_PER_CHAN
Base utility class that identifies a position within a logical structure of the strip tracker.
static const uint16_t i2cAddrOffset_
static const uint16_t lldChanMask_
void initFromKey() override
bool isInvalid() const override
bool isValid() const override
static const uint16_t CCU_CHAN_MAX
std::ostream & operator<<(std::ostream &os, const SiStripFecKey &input)