|
void | buildOptONamesList (const std::vector< ALIstring > &wl) override |
|
void | calculateSimulatedValue (ALIbool firstTime) override |
|
| MeasurementDiffEntry (const ALIint measdim, ALIstring &type, ALIstring &name) |
|
| MeasurementDiffEntry () |
|
| ~MeasurementDiffEntry () override |
|
void | addAffectingEntriesFromOptO (const OpticalObject *optoP) |
|
void | AddOptOListItem (OpticalObject *opto) |
|
void | AddOptONameListItem (ALIstring optos) |
|
const std::vector< Entry * > & | affectingEntryList () const |
|
void | buildAffectingEntryList () |
|
void | buildOptOList () |
|
void | calculateOriginalSimulatedValue () |
|
void | construct () |
|
void | constructFromOA (OpticalAlignMeasurementInfo &measInfo) |
|
void | copyMeas (Measurement *meas, const std::string &subsstr1, const std::string &subsstr2) |
|
virtual void | correctValueAndSigma () |
|
std::vector< ALIdouble > | DerivativeRespectEntry (Entry *entry) |
|
const ALIuint | dim () const |
|
void | DumpBadOrderOptOs () |
|
void | fillData (ALIuint coor, const std::vector< ALIstring > &wl) |
|
void | fillData (ALIuint coor, OpticalAlignParam *oaParam) |
|
const CLHEP::Hep3Vector & | getLightRayDirection () const |
|
const CLHEP::Hep3Vector & | getLightRayPosition () const |
|
ALIstring | getMeasuringBehaviour (const std::vector< OpticalObject * >::const_iterator vocite) |
|
const OpticalObject * | getPreviousOptO (const OpticalObject *Popto) const |
|
| Measurement (const ALIint measdim, ALIstring &type, ALIstring &name) |
|
| Measurement () |
|
const ALIstring & | name () const |
|
const std::vector
< OpticalObject * > & | OptOList () const |
|
const std::vector< ALIstring > & | OptONameList () const |
|
void | postConstruct () |
|
const ALIstring & | sensorName () |
|
virtual void | setConversionFactor (const std::vector< ALIstring > &wordlist) |
|
void | SetDimension (ALIuint dim) |
|
void | setLightRayDirection (const CLHEP::Hep3Vector &lightRayDirection) |
|
void | setLightRayPosition (const CLHEP::Hep3Vector &lightRayPosition) |
|
void | setName () |
|
void | setSigma (ALIint coor, ALIdouble val) |
|
void | setType (ALIstring type) |
|
void | setValue (ALIint coor, ALIdouble val) |
|
void | setValueSimulated (ALIint coor, ALIdouble value) |
|
void | setValueSimulated_orig (ALIint coor, ALIdouble value) |
|
virtual void | setXlaserLine (ALIuint ii, int val) |
|
const ALIdouble * | sigma () const |
|
const ALIdouble | sigma (ALIuint ii) const |
|
virtual const ALIdouble | sigmaDimensionFactor () const |
|
const ALIstring & | type () const |
|
const ALIdouble * | value () const |
|
const ALIdouble | value (ALIuint ii) const |
|
virtual const ALIdouble | valueDimensionFactor () const |
|
bool | valueIsSimulated (ALIint coor) |
|
const ALIdouble | valueSimulated (ALIuint ii) const |
|
const ALIdouble | valueSimulated_orig (ALIuint ii) const |
|
const ALIstring | valueType (ALIuint ii) const |
|
virtual int | xlaserLine (ALIuint ii) |
|
virtual | ~Measurement () |
|
Definition at line 18 of file MeasurementDiffEntry.h.
void MeasurementDiffEntry::calculateSimulatedValue |
( |
ALIbool |
firstTime | ) |
|
|
overridevirtual |
Reimplemented from Measurement.
Definition at line 51 of file MeasurementDiffEntry.cc.
References funct::abs(), SplitLinear::begin, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, ALIUtils::debug, Measurement::DumpBadOrderOptOs(), alignCSCRings::e, cppFunctionSkipper::exception, Model::getEntryByName(), ALIUtils::getFirstTime(), GlobalOptionMgr::getInstance(), GlobalOptionMgr::GlobalOptions(), Entry::name(), Measurement::name(), Measurement::OptOList(), Measurement::printStartCalculateSimulatedValue(), Measurement::setValueSimulated(), findQualityFiles::size, theEntryNameFirst, theEntryNameSecond, Measurement::value(), Entry::valueDisplaced(), and Measurement::valueSimulated().
56 std::vector<OpticalObject*>::const_iterator vocite =
OptOList().begin();
62 std::cerr <<
"!!! ERROR in MeasurementDiffEntry: " <<
name() <<
" There should only be two objects " << std::endl;
63 std::cerr <<
" 1st " << (*vocite)->name() <<
" 2nd " << (*vocite + 1)->
name() << std::endl;
69 ALIVisLightPath* vispath = 0;
73 vispath = IgCocoaFileMgr::getInstance().newLightPath(
name());
82 std::cout <<
" entry1 " << (*(
OptOList().begin()))->longName() <<
"/" << entry1->
name() <<
" ->valueDisplaced() "
92 <<
"D: " << 1000. *
value()[0] <<
" (mm) " << (
this)->
name() <<
" DIFF= " << detD - 1000 *
value()[0]
95 <<
"D: " << detD <<
" (mm) " << (
this)->
name() << std::endl;
99 std::cout <<
"end calculateSimulatedValue" << std::endl;
static GlobalOptionMgr * getInstance()
static Entry * getEntryByName(const ALIstring &opto_name, const ALIstring &entry_name)
--— Search an Entry name in the Entry* list and return a pointer to it
ALIstring theEntryNameFirst
ALIstring theEntryNameSecond
Abs< T >::type abs(const T &t)
void setValueSimulated(ALIint coor, ALIdouble value)
const ALIstring & name() const
const std::vector< OpticalObject * > & OptOList() const
static ALIbool getFirstTime()
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
const ALIdouble * value() const
void printStartCalculateSimulatedValue(const Measurement *meas)
const ALIstring & name() const
const ALIdouble valueSimulated(ALIuint ii) const
virtual ALIdouble valueDisplaced() const
tuple size
Write out results.