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