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 }
FebLocationSpec::print
std::string print(int depth=0) const
Definition: FebLocationSpec.cc:11
FebLocationSpec::localEtaPartition
char localEtaPartition
Definition: FebLocationSpec.h:15
FebLocationSpec::cmsEtaPartition
char cmsEtaPartition
Definition: FebLocationSpec.h:13
FebLocationSpec.h
FebLocationSpec::positionInCmsEtaPartition
char positionInCmsEtaPartition
Definition: FebLocationSpec.h:14
str
#define str(s)
Definition: TestProcessor.cc:53
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
FebLocationSpec::positionInLocalEtaPartition
char positionInLocalEtaPartition
Definition: FebLocationSpec.h:16
createfilelist.int
int
Definition: createfilelist.py:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FebLocationSpec::localEtaPartitionName
std::string localEtaPartitionName() const
debug printout
Definition: FebLocationSpec.cc:4