Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:24

0001 //   COCOA class header file

0002 //Id:  FittedEntry.h

0003 //CAT: Model

0004 //

0005 //   Class to store the data of a fitted entry (only those of quality 'unk')

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef FittedEntry_HH
0011 #define FittedEntry_HH
0012 
0013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0014 #include <vector>
0015 class Entry;
0016 
0017 class FittedEntry {
0018 public:
0019   //---------- Constructors / Destructor

0020   FittedEntry(){};
0021   FittedEntry(Entry* entry, ALIint order, ALIdouble sigma);
0022   FittedEntry(ALIstring name, float value, float sigma);
0023   FittedEntry(const std::vector<FittedEntry*>& vFEntry);
0024   ~FittedEntry(){};
0025 
0026   void BuildName();
0027 
0028   ALIstring getOptOName() const { return theOptOName; }
0029   ALIstring getEntryName() const { return theEntryName; }
0030   ALIstring getName() const { return theName; }
0031   ALIdouble getValue() const { return theValue; }
0032   ALIdouble getSigma() const { return theSigma; }
0033   ALIdouble getOrigValue() const { return theOrigValue; }
0034   ALIdouble getOrigSigma() const { return theOrigSigma; }
0035   ALIint getOrder() const { return theOrder; }
0036   ALIint getQuality() const { return theQuality; }
0037   Entry* getEntry() const { return theEntry; }
0038 
0039 private:
0040   ALIdouble theValue;
0041   Entry* theEntry;
0042   ALIint theOrder;
0043   ALIstring theName;
0044   ALIstring theOptOName;
0045   ALIstring theEntryName;
0046   ALIdouble theSigma;
0047   ALIdouble theOrigValue;
0048   ALIdouble theOrigSigma;
0049   ALIint theQuality;
0050 };
0051 
0052 #endif