#include <FebLocationSpec.h>
Public Member Functions | |
std::string | localEtaPartitionName () const |
debug printout | |
std::string | print (int depth=0) const |
Public Attributes | |
char | cmsEtaPartition |
char | localEtaPartition |
char | positionInCmsEtaPartition |
char | positionInLocalEtaPartition |
RPC FEB specification for readout decoding
Definition at line 10 of file FebLocationSpec.h.
std::string FebLocationSpec::localEtaPartitionName | ( | ) | const |
debug printout
Definition at line 4 of file FebLocationSpec.cc.
References localEtaPartition.
Referenced by print().
{ std::ostringstream str; static std::string localPartVal[7]={"Forward","Central","Backward","A","B","C","D"}; str << localPartVal[localEtaPartition-1]; return str.str(); }
std::string FebLocationSpec::print | ( | int | depth = 0 | ) | const |
Definition at line 12 of file FebLocationSpec.cc.
References cmsEtaPartition, localEtaPartitionName(), positionInCmsEtaPartition, and positionInLocalEtaPartition.
Referenced by FebConnectorSpec::print().
{ std::ostringstream str; std::string cmsPartVal[6]={"1","2","3","A","B","C"}; if(depth >= 0) { str << "FebLocationSpec: " << std::endl <<" local partition: "<<localEtaPartitionName()<<" ("<<int(positionInLocalEtaPartition) <<")" <<" cms partition: " <<cmsPartVal[cmsEtaPartition-1] <<" ("<<int(positionInCmsEtaPartition)<<")" << std::endl; } return str.str(); }
Definition at line 12 of file FebLocationSpec.h.
Referenced by print().
Definition at line 14 of file FebLocationSpec.h.
Referenced by localEtaPartitionName(), and DBSpecToDetUnit::operator()().
Definition at line 13 of file FebLocationSpec.h.
Referenced by print().
Definition at line 15 of file FebLocationSpec.h.
Referenced by print().