CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FebLocationSpec.cc
Go to the documentation of this file.
2 #include <sstream>
3 
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 }
11 
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
std::string print(int depth=0) const
char positionInLocalEtaPartition
char positionInCmsEtaPartition