CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FebLocationSpec Class Reference

#include <FebLocationSpec.h>

Public Member Functions

std::string localEtaPartitionName () const
 debug printout More...
 
std::string print (int depth=0) const
 

Public Attributes

char cmsEtaPartition
 
char localEtaPartition
 
char positionInCmsEtaPartition
 
char positionInLocalEtaPartition
 

Detailed Description

RPC FEB specification for readout decoding

Definition at line 10 of file FebLocationSpec.h.

Member Function Documentation

std::string FebLocationSpec::localEtaPartitionName ( ) const

debug printout

Definition at line 4 of file FebLocationSpec.cc.

References localEtaPartition, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by print().

5 {
6  std::ostringstream str;
7  static std::string localPartVal[7]={"Forward","Central","Backward","A","B","C","D"};
8  str << localPartVal[localEtaPartition-1];
9  return str.str();
10 }
std::string FebLocationSpec::print ( int  depth = 0) const

Definition at line 12 of file FebLocationSpec.cc.

References cmsEtaPartition, localEtaPartitionName(), positionInCmsEtaPartition, positionInLocalEtaPartition, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FebConnectorSpec::print().

13 {
14  std::ostringstream str;
15  std::string cmsPartVal[6]={"1","2","3","A","B","C"};
16  if(depth >= 0) {
17  str << "FebLocationSpec: " << std::endl
18  <<" local partition: "<<localEtaPartitionName()<<" ("<<int(positionInLocalEtaPartition) <<")"
19  <<" cms partition: " <<cmsPartVal[cmsEtaPartition-1] <<" ("<<int(positionInCmsEtaPartition)<<")"
20  << std::endl;
21  }
22  return str.str();
23 }
std::string localEtaPartitionName() const
debug printout
char positionInLocalEtaPartition
char positionInCmsEtaPartition

Member Data Documentation

char FebLocationSpec::cmsEtaPartition

Definition at line 12 of file FebLocationSpec.h.

Referenced by print().

char FebLocationSpec::localEtaPartition

Definition at line 14 of file FebLocationSpec.h.

Referenced by localEtaPartitionName(), and DBSpecToDetUnit::operator()().

char FebLocationSpec::positionInCmsEtaPartition

Definition at line 13 of file FebLocationSpec.h.

Referenced by print().

char FebLocationSpec::positionInLocalEtaPartition

Definition at line 15 of file FebLocationSpec.h.

Referenced by print().