CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DeviationSensor2D.cc
Go to the documentation of this file.
1 // COCOA class implementation file
2 //Id: DeviationSensor2D.cc
3 //CAT: Model
4 //
5 // History: v1.0
6 // Pedro Arce
7 
11 
13  thePosDimFactor = posDimFactor;
14  theAngDimFactor = angDimFactor;
15 }
16 
17 void DeviationSensor2D::fillData(const std::vector<ALIstring>& wl) {
18  if (wl.size() != 8) {
19  ALIUtils::dumpVS(wl, "!!!! EXITING DeviationsSensor2D::fillData. Number of words <> 8 ", std::cerr);
20  }
21 
23  thePosDimFactor = gomgr->GlobalOptions()[ALIstring("deviffValDimf")];
24  theAngDimFactor = gomgr->GlobalOptions()[ALIstring("deviffAngDimf")];
33 }
long double ALIdouble
Definition: CocoaGlobals.h:11
static GlobalOptionMgr * getInstance()
static double getFloat(const ALIstring &str)
Convert a string to an float, checking that it is really a number.
Definition: ALIUtils.cc:373
void fillData(const std::vector< ALIstring > &wl)
static void dumpVS(const std::vector< ALIstring > &wl, const std::string &msg, std::ostream &outs=std::cout)
dumps a vector of strings with a message to outs
Definition: ALIUtils.cc:465
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
std::string ALIstring
Definition: CocoaGlobals.h:9