25 std::vector<OpticalObject*>::const_iterator vocite =
OptOList().begin();
26 if (
OptOList().
size() != 1 || (*vocite)->type() ==
"distancemeter") {
28 <<
" There should only be one object of type 'tiltmeter' " << std::endl;
38 (*vocite)->participateInMeasurement(ll, *
this, behav);
41 std::cout <<
"end calculateSimulatedValue" << std::endl;
51 if (wordlist.size() == 1)
56 std::cerr <<
"!! Tiltmeter Measurement setConversionFactor: WRONG FORMAT " << std::endl
57 <<
"It should be: TILTEMETER factor +- error constant_term +- error" << (wordlist.size() != 7)
74 }
else if (dimfac == 1) {
76 }
else if (dimfac == 2) {
80 <<
" !!!EXITING: error in global option tiltmeter_meas_value_dimension, it can only take values 0,1,2, not " 101 std::cout <<
"MeasurementTiltmeter::correctValueAndSigma: old value" <<
val <<
" +- " << sig << std::endl;
119 std::cout <<
"MeasurementTiltmeter::correctValueAndSigma: new value " <<
val <<
" +- " << sig << std::endl;
ALIdouble theConstantTermSigma
const ALIdouble * value() const
void calculateSimulatedValue(ALIbool firstTime) override
void setValue(ALIint coor, ALIdouble val)
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
ALIstring getMeasuringBehaviour(const std::vector< OpticalObject *>::const_iterator vocite)
static GlobalOptionMgr * getInstance()
virtual const ALIdouble valueDimensionFactor() const
void setSigma(ALIint coor, ALIdouble val)
static int IsNumber(const ALIstring &str)
ALIdouble theConstantTerm
const ALIdouble * sigma() const
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
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
void printStartCalculateSimulatedValue(const Measurement *meas)
const std::vector< OpticalObject * > & OptOList() const
void correctValueAndSigma() override
const ALIstring & name() const
virtual const ALIdouble sigmaDimensionFactor() const