#include <Model.h>
Public Member Functions | |
void | BuildMeasurementsFromOA (OpticalAlignMeasurements &measList) |
void | BuildSystemDescriptionFromOA (OpticalAlignments &optAlig) |
void | CMSLinkFit (ALIint cmslink) |
*************** FOR CMS LINK SYSTEM (to fit it part by part) More... | |
OpticalAlignInfo | FindOptAlignInfoByType (const ALIstring &type) |
Model () | |
~Model () | |
Static Public Member Functions | |
static void | addEntryToList (Entry *entry) |
***************** SET DATA MEMBERS More... | |
static void | addMeasurementToList (Measurement *measadd) |
static ALIbool | createCopyComponentList (const ALIstring &optoname) |
**************** FOR COPYING AN OPTO More... | |
static std::vector< Entry * > & | EntryList () |
static cocoaStatus | getCocoaStatus () |
static ALIbool | getComponentOptOs (const ALIstring &opto_name, std::vector< OpticalObject * > &vcomponents) |
--— Get from theOptOList the list of pointers to component OptOs More... | |
static ALIbool | getComponentOptOTypes (const ALIstring &opto_type, std::vector< ALIstring > &vcomponents) |
--— Get from theOptODictionary the list of component OptO types More... | |
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 More... | |
static Entry * | getEntryByName (const ALIstring &opto_entry_name) |
static FittedEntriesReader * | getFittedEntriesReader () |
static Model & | getInstance () |
-------— Gets the only instance of this class More... | |
static Measurement * | getMeasurementByName (const ALIstring &name, ALIbool exists=1) |
static std::vector < OpticalAlignInfo > | getOpticalAlignments () |
static OpticalObject * | getOptOByName (const ALIstring &opto_name) |
--— Find an OptO name in theOptOList and return a pointer to it More... | |
static OpticalObject * | getOptOByType (const ALIstring &type) |
--— Find the first OptO of type 'opto_type' in theOptOList and return a pointer to it More... | |
static int | getParameterValue (const ALIstring &sstr, ALIdouble &val) |
************ ACCESS INFO FROM STATIC DATA More... | |
static ALIdouble | getParamFittedSigmaVectorItem (const ALIuint position) |
static ALIstring & | MatricesFName () |
the name of the File for storing the matrices More... | |
static ALIstring & | MeasFName () |
the name of the Measurements File More... | |
static std::vector < Measurement * > & | MeasurementList () |
static struct tm & | MeasurementsTime () |
static OpticalObject * | nextOptOToCopy () |
static std::vector < std::vector< ALIstring > > & | OptODictionary () |
ACCESS STATIC DATA MEMBERS. More... | |
static std::vector < OpticalObject * > & | OptOList () |
static std::string | printCocoaStatus (const cocoaStatus cs) |
static ALIbool | readMeasurementsFromFile (ALIstring only1Date=ALIstring(""), ALIstring only1Time=ALIstring("")) |
static void | readSystemDescription () |
-------— Read the different sections of the SDF and act accordingly More... | |
static ALIstring & | ReportFName () |
the name of the report File More... | |
static ALIstring & | SDFName () |
the name of the System Description File More... | |
static void | setCocoaStatus (const cocoaStatus cs) |
static void | setMatricesFName (const ALIstring &name) |
static void | setMeasurementsTime (struct tm &tim) |
static void | setReportFName (const ALIstring &name) |
static void | setSDFName (const ALIstring &name) |
Static Public Attributes | |
static std::vector< ALIdouble > | CMSLinkRangeDetValue |
static ALIint | Ncmslinkrange = 0 |
*************** FOR RANGE STUDIES More... | |
Private Member Functions | |
void | CMSLinkCleanModel () |
Static Private Member Functions | |
static void | buildMeasurementsLinksToOptOs () |
Read Measurements (to be implemented for reading from an external file the DATA of the measurements) More... | |
static void | cleanParamFittedSigmaVector () |
static void | cleanParamFittedValueDisplacementMap () |
static void | CMSLinkDeleteOptOs () |
static void | CMSLinkRecoverParamFittedSigma (ALIint cmslink) |
static void | CMSLinkRecoverParamFittedValueDisplacement (ALIint cmslink) |
static void | CMSLinkSaveParamFittedSigma (ALIint cmslink) |
static void | CMSLinkSaveParamFittedValueDisplacement (ALIint cmslink) |
static void | copyMeasurements (const std::vector< ALIstring > &wl) |
static void | deleteOptO (const ALIstring &opto_name) |
static void | deleteOptO (OpticalObject *opto) |
static ALIbool | fillCopyComponentList (const OpticalObject *opto) |
static void | recoverParamFittedSigma (const ALIstring &opto_name, const ALIstring &entry_name, const ALIuint position) |
static void | reorderOptODictionary (const ALIstring &ssearch, std::vector< std::vector< ALIstring > > &OptODictionary2) |
********** private METHODS More... | |
static void | saveParamFittedCorrelation (const ALIstring &opto_name1, const ALIstring &entry_name1, const ALIstring &opto_name2, const ALIstring &entry_name2) |
static void | saveParamFittedSigma (const ALIstring &opto_name, const ALIstring &entry_name) |
static void | SetValueDisplacementsFromReportOut () |
Static Private Attributes | |
static ALIint | CMSLinkIteration = 0 |
static cocoaStatus | theCocoaStatus = COCOA_Init |
static std::vector< Entry * > | theEntryVector |
std::vector of all Entries More... | |
static FittedEntriesReader * | theFittedEntriesReader = 0 |
static Model * | theInstance = 0 |
Only instance of Model. More... | |
static ALIstring | theMatricesFName = "matrices.out" |
the name of the File for storing the matrices More... | |
static ALIstring | theMeasFName = "Measurements.txt" |
the name of the Measurements File More... | |
static struct tm | theMeasurementsTime |
static std::vector< Measurement * > | theMeasurementVector |
std::vector of all Measurements More... | |
static std::vector < OpticalAlignInfo > | theOpticalAlignments |
static std::vector < std::vector< ALIstring > > | theOptODictionary |
parameters More... | |
static std::vector < OpticalObject * > | theOptOList |
map of OptO*/type of parent OptO, for navigation down the tree structure More... | |
static std::vector < OpticalObject * > | theOptOsToCopyList |
static std::vector < OpticalObject * > ::const_iterator | theOptOsToCopyListIterator |
static std::vector< ALIdouble > | theParamFittedSigmaVector |
static std::map< ALIstring, ALIdouble, std::less < ALIstring > > | theParamFittedValueDisplacementMap |
static ALIstring | theReportFName = "report.out" |
the name of the report File More... | |
static ALIstring | theSDFName = "SystemDescription.txt" |
the name of the System Description File More... | |
|
inlinestatic |
|
inlinestatic |
void Model::BuildMeasurementsFromOA | ( | OpticalAlignMeasurements & | measList | ) |
|
staticprivate |
void Model::BuildSystemDescriptionFromOA | ( | OpticalAlignments & | optAlig | ) |
|
inlinestaticprivate |
|
inlinestaticprivate |
void Model::CMSLinkFit | ( | ALIint | cmslink | ) |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
inlinestatic |
|
staticprivate |
OpticalAlignInfo Model::FindOptAlignInfoByType | ( | const ALIstring & | type | ) |
|
inlinestatic |
|
static |
--— Search an Entry name in the Entry* list and return a pointer to it
Definition at line 633 of file Model.cc.
Referenced by MeasurementDiffEntry::calculateSimulatedValue(), FittedEntry::FittedEntry(), and FittedEntriesReader::readFittedEntriesFromFile().
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 79 of file Model.h.
Referenced by CocoaDaqReaderText::ReadNextEvent().
|
static |
|
inlinestatic |
|
inlinestatic |
Definition at line 71 of file Model.h.
Referenced by OpticalObjectMgr::dumpOptOs().
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
the name of the System Description File
Definition at line 86 of file Model.h.
Referenced by MeasurementDiffEntry::buildOptONamesList().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
the name of the System Description File