|
void | calculateSimulatedValue (ALIbool firstTime) override |
|
void | correctValueAndSigma () override |
|
| MeasurementCOPS (const ALIint measdim, ALIstring &type, ALIstring &name) |
|
| MeasurementCOPS () |
|
void | setConversionFactor (const std::vector< ALIstring > &wordlist) override |
|
void | setXlaserLine (unsigned int ii, int val) override |
|
int | xlaserLine (unsigned int ii) override |
|
| ~MeasurementCOPS () override |
|
void | addAffectingEntriesFromOptO (const OpticalObject *optoP) |
|
void | AddOptOListItem (OpticalObject *opto) |
|
void | AddOptONameListItem (ALIstring optos) |
|
const std::vector< Entry * > & | affectingEntryList () const |
|
void | buildAffectingEntryList () |
|
void | buildOptOList () |
|
virtual void | buildOptONamesList (const std::vector< ALIstring > &wl) |
|
void | calculateOriginalSimulatedValue () |
|
void | construct () |
|
void | constructFromOA (OpticalAlignMeasurementInfo &measInfo) |
|
void | copyMeas (Measurement *meas, const std::string &subsstr1, const std::string &subsstr2) |
|
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 () |
|
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) |
|
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 | ~Measurement () |
|
Definition at line 18 of file MeasurementCOPS.h.
void MeasurementCOPS::calculateSimulatedValue |
( |
ALIbool |
firstTime | ) |
|
|
overridevirtual |
Reimplemented from Measurement.
Definition at line 25 of file MeasurementCOPS.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, ALIUtils::debug, Measurement::DumpBadOrderOptOs(), mps_fire::end, beamvalidation::exit(), ALIUtils::getFirstTime(), GlobalOptionMgr::getInstance(), Measurement::getMeasuringBehaviour(), GlobalOptionMgr::GlobalOptions(), Measurement::name(), Measurement::OptOList(), LightRay::point(), Measurement::printStartCalculateSimulatedValue(), findQualityFiles::size, and Measurement::type().
36 std::vector<OpticalObject*>::const_iterator vocite =
OptOList().begin();
41 if ((*vocite)->type() !=
"Xlaser") {
42 std::cerr <<
"!!ERROR MeasurementCOPS: first Optical object should be 'Xlaser'" << std::endl;
49 std::cerr <<
"!!ERROR MeasurementCOPS: last Optical object should be 'COPS'" << std::endl;
55 ALIVisLightPath* vispath = 0;
59 vispath = IgCocoaFileMgr::getInstance().newLightPath(
name());
63 std::cout << (vocite ==
OptOList().end()) <<
" vocite " << (*vocite)->name() << std::endl;
66 std::cout << std::endl <<
"@@@@ LR:OBJECT " << (*vocite)->name() << std::endl;
73 (*vocite)->participateInMeasurement(*lightray, *
this, behav);
78 ALIVRMLMgr::getInstance().addLightPoint(lightray->
point());
82 vispath->addLightPoint(lightray->
point(), *vocite);
87 std::cerr <<
"!! Last object is not Sensor 2D in measurement " <<
name() << std::endl;
94 std::cerr <<
"ERROR DE PROGRAMACION EN GetSimulatedValue" << std::endl;
100 std::cout <<
"end calculateSimulatedValue" << std::endl;
ALIstring getMeasuringBehaviour(const std::vector< OpticalObject *>::const_iterator vocite)
static GlobalOptionMgr * getInstance()
const CLHEP::Hep3Vector & point() const
static ALIbool getFirstTime()
const ALIstring & type() const
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
void printStartCalculateSimulatedValue(const Measurement *meas)
const std::vector< OpticalObject * > & OptOList() const
const ALIstring & name() const