00001 // COCOA class header file 00002 //Id: FittedEntry.h 00003 //CAT: Model 00004 // 00005 // Class to store the data of a fitted entry (only those of quality 'unk') 00006 // 00007 // History: v1.0 00008 // Pedro Arce 00009 00010 #ifndef FittedEntry_HH 00011 #define FittedEntry_HH 00012 00013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h" 00014 #include <vector> 00015 class Entry; 00016 00017 class FittedEntry 00018 { 00019 00020 public: 00021 //---------- Constructors / Destructor 00022 FittedEntry(){ }; 00023 FittedEntry( Entry* entry, ALIint order, ALIdouble sigma); 00024 FittedEntry( ALIstring name, float value, float sigma); 00025 FittedEntry( std::vector<FittedEntry*> vFEntry ); 00026 ~FittedEntry(){ }; 00027 00028 void BuildName(); 00029 00030 ALIstring getOptOName() const { 00031 return theOptOName; 00032 } 00033 ALIstring getEntryName() const { 00034 return theEntryName; 00035 } 00036 ALIstring getName() const { 00037 return theName; 00038 } 00039 ALIdouble getValue() const { 00040 return theValue; 00041 } 00042 ALIdouble getSigma() const { 00043 return theSigma; 00044 } 00045 ALIdouble getOrigValue() const { 00046 return theOrigValue; 00047 } 00048 ALIdouble getOrigSigma() const { 00049 return theOrigSigma; 00050 } 00051 ALIint getOrder() const { 00052 return theOrder; 00053 } 00054 ALIint getQuality() const { 00055 return theQuality; 00056 } 00057 Entry* getEntry() const { 00058 return theEntry; 00059 } 00060 00061 00062 private: 00063 ALIdouble theValue; 00064 Entry* theEntry; 00065 ALIint theOrder; 00066 ALIstring theName; 00067 ALIstring theOptOName; 00068 ALIstring theEntryName; 00069 ALIdouble theSigma; 00070 ALIdouble theOrigValue; 00071 ALIdouble theOrigSigma; 00072 ALIint theQuality; 00073 00074 }; 00075 00076 #endif 00077