17 for (std::vector<edm::ParameterSet>::const_iterator iter = theConstConf.begin(); iter < theConstConf.end(); ++iter) {
18 if (iter->getParameter<
std::string>(
"PSetName") ==
"BeamsplitterKinks")
20 else if (iter->getParameter<
std::string>(
"PSetName") ==
"Radii")
22 else if (iter->getParameter<
std::string>(
"PSetName") ==
"ZPositions")
25 std::cerr <<
" [] ** WARNING: Cannot process unknown parameter set named: " 26 << iter->getParameter<
std::string>(
"PSetName") <<
"." << std::endl;
43 if (!((det == 0 || det == 1) && (ring == 0 || ring == 1) && (beam < 8
U))) {
45 <<
" ** ERROR: no such element: det " << det <<
", ring " << ring <<
", beam " << beam <<
"." << std::endl;
57 <<
" ** ERROR: no such beam: " << beam <<
"." << std::endl;
68 throw cms::Exception(
" [LASConstants::GetTecRadius]") <<
" ** ERROR: no such ring: " << ring <<
"." << std::endl;
83 if ((det > 1) || (disk > 8)) {
85 <<
" ** ERROR: no such element: det " << det <<
", disk " << disk <<
"." << std::endl;
100 <<
" ** ERROR: no such position: " << pos <<
"." << std::endl;
112 <<
" ** ERROR: no such position: " << pos <<
"." << std::endl;
135 for (
int det = 0; det < 2; ++det) {
T getParameter(std::string const &) const
double GetTobZPosition(unsigned int pos) const
double GetAtBsZPosition(void) const
double GetTecRadius(unsigned int ring) const
void FillRadii(edm::ParameterSet const &)
double GetAlignmentTubeBsKink(unsigned int beam) const
void FillZPositions(edm::ParameterSet const &)
std::vector< double > tecZPositions
double GetTibZPosition(unsigned int pos) const
std::vector< double > tecRadii
double GetEndcapBsKink(unsigned int det, unsigned int ring, unsigned int beam) const
double GetTecZPosition(unsigned int det, unsigned int disk) const
double GetTecBsZPosition(unsigned int det) const
std::vector< std::vector< std::vector< double > > > endcapBsKinks
std::vector< double > tobZPositions
double GetAtRadius(void) const
void InitContainers(void)
std::vector< double > alignmentTubeBsKinks
std::vector< double > tibZPositions
void FillBsKinks(edm::ParameterSet const &)