CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FebLocationSpec.cc
Go to the documentation of this file.
2 #include <sstream>
3 
5  std::ostringstream str;
6  const static std::string localPartVal[7] = {"Forward", "Central", "Backward", "A", "B", "C", "D"};
7  str << localPartVal[localEtaPartition - 1];
8  return str.str();
9 }
10 
12  std::ostringstream str;
13  std::string cmsPartVal[6] = {"1", "2", "3", "A", "B", "C"};
14  if (depth >= 0) {
15  str << "FebLocationSpec: " << std::endl
16  << " local partition: " << localEtaPartitionName() << " (" << int(positionInLocalEtaPartition) << ")"
17  << " cms partition: " << cmsPartVal[cmsEtaPartition - 1] << " (" << int(positionInCmsEtaPartition) << ")"
18  << std::endl;
19  }
20  return str.str();
21 }
std::string localEtaPartitionName() const
debug printout
std::string print(int depth=0) const
char positionInLocalEtaPartition
char positionInCmsEtaPartition
#define str(s)