CMS 3D CMS Logo

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 }
DeviationSensor2D::thePosDimFactor
ALIdouble thePosDimFactor
Definition: DeviationSensor2D.h:41
ALIUtils::getFloat
static double getFloat(const ALIstring &str)
Convert a string to an float, checking that it is really a number.
Definition: ALIUtils.cc:373
DeviationSensor2D::thePosX
ALIdouble thePosX
Definition: DeviationSensor2D.h:37
LaserClient_cfi.wl
wl
Definition: LaserClient_cfi.py:46
DeviationSensor2D::theDevErrX
ALIdouble theDevErrX
Definition: DeviationSensor2D.h:40
GlobalOptionMgr::GlobalOptions
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
Definition: GlobalOptionMgr.h:31
GlobalOptionMgr
Definition: GlobalOptionMgr.h:18
GlobalOptionMgr::getInstance
static GlobalOptionMgr * getInstance()
Definition: GlobalOptionMgr.cc:18
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
GlobalOptionMgr.h
DeviationSensor2D::theDevY
ALIdouble theDevY
Definition: DeviationSensor2D.h:39
DeviationSensor2D::theDevX
ALIdouble theDevX
Definition: DeviationSensor2D.h:39
DeviationSensor2D::theAngDimFactor
ALIdouble theAngDimFactor
Definition: DeviationSensor2D.h:41
DeviationSensor2D::theDevErrY
ALIdouble theDevErrY
Definition: DeviationSensor2D.h:40
DeviationSensor2D.h
ALIUtils.h
ALIdouble
long double ALIdouble
Definition: CocoaGlobals.h:11
DeviationSensor2D::thePosY
ALIdouble thePosY
Definition: DeviationSensor2D.h:37
ALIUtils::dumpVS
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
DeviationSensor2D::DeviationSensor2D
DeviationSensor2D()
Definition: DeviationSensor2D.h:19
DeviationSensor2D::fillData
void fillData(const std::vector< ALIstring > &wl)
Definition: DeviationSensor2D.cc:17
DeviationSensor2D::thePosErrY
ALIdouble thePosErrY
Definition: DeviationSensor2D.h:38
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
DeviationSensor2D::thePosErrX
ALIdouble thePosErrX
Definition: DeviationSensor2D.h:38