14 const uint16_t& fe_unit,
15 const uint16_t& fe_chan,
16 const uint16_t& fed_apv ) :
66 fedId_(input.fedId()),
111 const uint16_t& fe_chan ) {
114 if ( fe_unit != 0 && fe_chan != 0 ) {
115 return ( 95 - ( 12 * (fe_unit-1) + (fe_chan-1) ) );
125 return ( (95-fed_ch)/12 + 1 );
134 return ( (95-fed_ch)%12 + 1 );
142 const uint16_t& fed_ch ) {
154 if ( !(&input) ) {
return false; }
160 }
else {
return false; }
168 if ( !(&input) ) {
return false; }
169 if (
isEqual(input) ) {
return true; }
175 }
else {
return false; }
241 }
else if (
fedId_ == 0 ) {
273 }
else if (
fedId_ == 0 ) {
343 std::stringstream
dir;
368 std::string
temp( dir.str() );
392 if ( curr != std::string::npos ) {
394 std::string readout_view(
path(),
400 if ( curr != std::string::npos ) {
402 std::string fed_id(
path(),
405 fedId_ = atoi( fed_id.c_str() );
409 if ( curr != std::string::npos ) {
411 std::string fe_unit(
path(),
414 feUnit_ = atoi( fe_unit.c_str() );
418 if ( curr != std::string::npos ) {
420 std::string fe_chan(
path(),
423 feChan_ = atoi( fe_chan.c_str() );
427 if ( curr != std::string::npos ) {
428 next = std::string::npos;
429 std::string fed_apv(
path(),
432 fedApv_ = atoi( fed_apv.c_str() );
438 std::stringstream ss;
442 std::string
temp( ss.str() );
490 ss <<
"FED:crate/slot/id/unit/chan/apv= "
515 ss <<
" [SiStripFedKey::print]" << std::endl
519 << std::setw(8) <<
key() << std::endl
522 <<
" FED id : " <<
fedId() << std::endl
523 <<
" Front-End unit : " <<
feUnit() << std::endl
524 <<
" Front-End chan : " <<
feChan() << std::endl
525 <<
" (internal chan) : "
527 <<
" FED APV : " <<
fedApv() << std::endl
528 <<
" Directory : " <<
path() << std::endl
531 <<
" Channel : " <<
channel() << std::endl
538 std::stringstream ss;
static const char feDriver_[]
static const uint16_t feChanMask_
static const uint16_t FED_ID_MIN
bool isConsistent(const SiStripKey &) const
virtual void print(std::stringstream &ss) const
static const uint16_t feUnitOffset_
A container class for generic run and event-related info, information required by the commissioning a...
Various generic constants used by DQM.
static const uint32_t invalid32_
static std::string granularity(const sistrip::Granularity &)
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)
static uint32_t fedIndex(const uint16_t &fed_id, const uint16_t &fed_ch)
virtual void terse(std::stringstream &ss) const
Constants and enumerated types for sistrip::View.
const uint32_t & key() const
const sistrip::Granularity & granularity() const
static const char fedApv_[]
bool isEqual(const SiStripKey &) const
static const uint16_t FEUNITS_PER_FED
Base utility class that identifies a position within a logical structure of the strip tracker...
const std::string & path() const
static const uint16_t feUnitMask_
uint16_t fedChannel() const
static const uint16_t fedIdOffset_
static const uint16_t feChanOffset_
const uint16_t & fedApv() const
const uint16_t & feUnit() const
static const char feChan_[]
const uint16_t & channel() const
static const uint16_t FEDCH_PER_FEUNIT
Constants and enumerated types for FED/FEC systems.
static const uint16_t invalid_
static const uint16_t FEDCH_PER_FED
const uint16_t & feChan() const
static const char root_[]
static const char feUnit_[]
static const uint16_t fedApvMask_
const uint16_t & fedId() const
static const uint16_t FED_ID_MAX
static uint16_t fedCh(const uint16_t &fe_unit, const uint16_t &fe_chan)
static const uint16_t fedIdMask_
static const uint16_t APVS_PER_FEDCH
static const char readoutView_[]
static const uint16_t fedApvOffset_
static const char null_[]