Go to the documentation of this file.
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;
void printStartCalculateSimulatedValue(const Measurement *meas)
ALIstring getMeasuringBehaviour(const std::vector< OpticalObject * >::const_iterator vocite)
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
static GlobalOptionMgr * getInstance()
virtual const ALIdouble valueDimensionFactor() const
void calculateSimulatedValue(ALIbool firstTime) override
static int IsNumber(const ALIstring &str)
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
ALIdouble theConstantTerm
const std::vector< OpticalObject * > & OptOList() const
void setSigma(ALIint coor, ALIdouble val)
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
const ALIstring & name() const
virtual const ALIdouble sigmaDimensionFactor() const
ALIdouble theConstantTermSigma
void correctValueAndSigma() override
const ALIdouble * value() const
void setValue(ALIint coor, ALIdouble val)
const ALIdouble * sigma() const