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) {
double GetAlignmentTubeBsKink(unsigned int beam) const
T getParameter(std::string const &) const
double GetTecRadius(unsigned int ring) const
double GetEndcapBsKink(unsigned int det, unsigned int ring, unsigned int beam) const
double GetTobZPosition(unsigned int pos) const
void FillRadii(edm::ParameterSet const &)
double GetAtBsZPosition(void) const
void FillZPositions(edm::ParameterSet const &)
std::vector< double > tecZPositions
std::vector< double > tecRadii
double GetTibZPosition(unsigned int pos) const
double GetTecBsZPosition(unsigned int det) const
std::vector< std::vector< std::vector< double > > > endcapBsKinks
double GetAtRadius(void) const
std::vector< double > tobZPositions
void InitContainers(void)
std::vector< double > alignmentTubeBsKinks
double GetTecZPosition(unsigned int det, unsigned int disk) const
std::vector< double > tibZPositions
void FillBsKinks(edm::ParameterSet const &)