Go to the documentation of this file.
121 ALIint slash_pos = opto_entry_name.rfind(
'/');
122 ALIint length = opto_entry_name.length();
123 ALIstring opto_name = opto_entry_name.substr(0, slash_pos);
124 ALIstring entry_name = opto_entry_name.substr(slash_pos + 1, length);
static void CMSLinkRecoverParamFittedValueDisplacement(ALIint cmslink)
static std::vector< std::vector< ALIstring > > theOptODictionary
parameters
static void cleanParamFittedValueDisplacementMap()
static void buildMeasurementsLinksToOptOs()
Read Measurements (to be implemented for reading from an external file the DATA of the measurements)
static void CMSLinkRecoverParamFittedSigma(ALIint cmslink)
static std::vector< Entry * > & EntryList()
static ALIbool readMeasurementsFromFile(ALIstring only1Date=ALIstring(""), ALIstring only1Time=ALIstring(""))
static OpticalObject * nextOptOToCopy()
unique_ptr< ClusterSequence > cs
static void copyMeasurements(const std::vector< ALIstring > &wl)
static Model * theInstance
static std::vector< Measurement * > & MeasurementList()
static ALIstring theMatricesFName
the name of the File for storing the matrices
static void addMeasurementToList(Measurement *measadd)
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
void BuildMeasurementsFromOA(OpticalAlignMeasurements &measList)
static ALIint Ncmslinkrange
*************** FOR RANGE STUDIES
static void setSDFName(const ALIstring &name)
static std::vector< OpticalAlignInfo > getOpticalAlignments()
static std::vector< OpticalObject * > theOptOsToCopyList
static void CMSLinkSaveParamFittedValueDisplacement(ALIint cmslink)
static ALIdouble getParamFittedSigmaVectorItem(const ALIuint position)
static std::vector< OpticalAlignInfo > theOpticalAlignments
static void setMeasurementsTime(struct tm &tim)
static ALIbool getComponentOptOs(const ALIstring &opto_name, std::vector< OpticalObject * > &vcomponents)
--— Get from theOptOList the list of pointers to component OptOs
static OpticalObject * getOptOByType(const ALIstring &type)
--— Find the first OptO of type 'opto_type' in theOptOList and return a pointer to it
static void saveParamFittedSigma(const ALIstring &opto_name, const ALIstring &entry_name)
static void setCocoaStatus(const cocoaStatus cs)
static std::vector< Measurement * > theMeasurementVector
std::vector of all Measurements
static OpticalObject * getOptOByName(const ALIstring &opto_name)
--— Find an OptO name in theOptOList and return a pointer to it
static ALIstring & SDFName()
the name of the System Description File
static ALIstring & ReportFName()
the name of the report File
void BuildSystemDescriptionFromOA(OpticalAlignments &optAlig)
static std::vector< OpticalObject * > & OptOList()
static ALIstring theSDFName
the name of the System Description File
static std::vector< ALIdouble > CMSLinkRangeDetValue
static FittedEntriesReader * theFittedEntriesReader
static void recoverParamFittedSigma(const ALIstring &opto_name, const ALIstring &entry_name, const ALIuint position)
static FittedEntriesReader * getFittedEntriesReader()
static Measurement * getMeasurementByName(const ALIstring &name, ALIbool exists=true)
static void cleanParamFittedSigmaVector()
static void setReportFName(const ALIstring &name)
static ALIstring theReportFName
the name of the report File
static Entry * getEntryByName(const ALIstring &opto_entry_name)
static std::vector< Entry * > theEntryVector
std::vector of all Entries
static cocoaStatus theCocoaStatus
static void reorderOptODictionary(const ALIstring &ssearch, std::vector< std::vector< ALIstring > > &OptODictionary2)
********** private METHODS
static ALIstring & MatricesFName()
the name of the File for storing the matrices
static int position[264][3]
static void CMSLinkDeleteOptOs()
static std::vector< OpticalObject * > theOptOList
map of OptO*/type of parent OptO, for navigation down the tree structure
static void CMSLinkSaveParamFittedSigma(ALIint cmslink)
static void SetValueDisplacementsFromReportOut()
static std::vector< OpticalObject * >::const_iterator theOptOsToCopyListIterator
static struct tm theMeasurementsTime
static void readSystemDescription()
-------— Read the different sections of the SDF and act accordingly
void CMSLinkFit(ALIint cmslink)
*************** FOR CMS LINK SYSTEM (to fit it part by part)
static ALIbool createCopyComponentList(const ALIstring &optoname)
**************** FOR COPYING AN OPTO
static Model & getInstance()
-------— Gets the only instance of this class
static void setMatricesFName(const ALIstring &name)
static struct tm & MeasurementsTime()
static int getParameterValue(const ALIstring &sstr, ALIdouble &val)
************ ACCESS INFO FROM STATIC DATA
static ALIbool getComponentOptOTypes(const ALIstring &opto_type, std::vector< ALIstring > &vcomponents)
--— Get from theOptODictionary the list of component OptO types
static std::vector< std::vector< ALIstring > > & OptODictionary()
ACCESS STATIC DATA MEMBERS.
static void addEntryToList(Entry *entry)
***************** SET DATA MEMBERS
static ALIbool fillCopyComponentList(const OpticalObject *opto)
static ALIint CMSLinkIteration
static ALIstring theMeasFName
the name of the Measurements File
static std::string printCocoaStatus(const cocoaStatus cs)
OpticalAlignInfo FindOptAlignInfoByType(const ALIstring &type)
static ALIstring & MeasFName()
the name of the Measurements File
static std::vector< ALIdouble > theParamFittedSigmaVector
static void deleteOptO(const ALIstring &opto_name)
static cocoaStatus getCocoaStatus()
static std::map< ALIstring, ALIdouble, std::less< ALIstring > > theParamFittedValueDisplacementMap
static void saveParamFittedCorrelation(const ALIstring &opto_name1, const ALIstring &entry_name1, const ALIstring &opto_name2, const ALIstring &entry_name2)