15 if (typeString ==
"BowedSurface")
17 else if (typeString ==
"TwoBowedSurfaces")
20 throw cms::Exception(
"BadInput") <<
"SurfaceDeformationFactory::surfaceDeformationType: " 21 <<
"Unknown SurfaceDeformation type " << typeString
22 <<
" (must be 'BowedSurface' or 'TwoBowedSurfaces'.\n";
33 throw cms::Exception(
"BadInput") <<
"SurfaceDeformationFactory::surfaceDeformationTypeName: " 34 <<
"Unknown SurfaceDeformation type " << type
35 <<
" (must be 'kBowedSurface' or 'kTwoBowedSurfaces'.\n";
46 throw cms::Exception(
"BadInput") <<
"SurfaceDeformationFactory::create: " 47 <<
"Unknown SurfaceDeformation type " << type <<
" (need " <<
kBowedSurface 61 throw cms::Exception(
"BadInput") <<
"SurfaceDeformationFactory::create: " 62 <<
"Params.size() (" << params.size() <<
") does not match.\n";