CMS 3D CMS Logo

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 print(int depth=0) const
char positionInLocalEtaPartition
char positionInCmsEtaPartition
std::string localEtaPartitionName() const
debug printout
#define str(s)