26 std::vector<OpticalObject*>::const_iterator vocite =
OptOList().begin();
28 (*vocite)->type() ==
"distancemeter") {
29 std::cerr <<
"!!! ERROR in MeasurementTiltmeter: " <<
name() <<
" There should only be one object of type 'tiltmeter' " << std::endl;
39 (*vocite)->participateInMeasurement( ll, *
this, behav );
55 if(wordlist.size() == 1)
return;
56 if( wordlist.size() != 7
60 std::cerr <<
"!! Tiltmeter Measurement setConversionFactor: WRONG FORMAT "<< std::endl
61 <<
"It should be: TILTEMETER factor +- error constant_term +- error"
62 << (wordlist.size() != 7)
78 }
else if( dimfac == 1 ) {
80 }
else if( dimfac == 2 ) {
83 std::cerr <<
" !!!EXITING: error in global option tiltmeter_meas_value_dimension, it can only take values 0,1,2, not " << dimfac;
104 if(
ALIUtils::debug >= 4)
std::cout <<
"MeasurementTiltmeter::correctValueAndSigma: old value" << val <<
" +- " << sig << std::endl;
121 if(
ALIUtils::debug >= 4)
std::cout <<
"MeasurementTiltmeter::correctValueAndSigma: new value " << val <<
" +- " << sig << std::endl;
virtual const ALIdouble sigmaDimensionFactor() const
virtual const ALIdouble valueDimensionFactor() const
ALIdouble theConstantTermSigma
virtual void setConversionFactor(const std::vector< ALIstring > &wordlist)
std::vector< OpticalObject * > & OptOList()
void setValue(ALIint coor, ALIdouble val)
static GlobalOptionMgr * getInstance()
ALIstring getMeasuringBehaviour(const std::vector< OpticalObject * >::const_iterator vocite)
void setSigma(ALIint coor, ALIdouble val)
static int IsNumber(const ALIstring &str)
const ALIdouble * sigma() const
ALIdouble theConstantTerm
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 ALIdouble * value() const
void printStartCalculateSimulatedValue(const Measurement *meas)
const ALIstring & name() const
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
tuple size
Write out results.
virtual void calculateSimulatedValue(ALIbool firstTime)
virtual void correctValueAndSigma()