CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FittedEntry.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: FittedEntry.h
3 //CAT: Model
4 //
5 // Class to store the data of a fitted entry (only those of quality 'unk')
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef FittedEntry_HH
11 #define FittedEntry_HH
12 
14 #include <vector>
15 class Entry;
16 
17 class FittedEntry
18 {
19 
20 public:
21  //---------- Constructors / Destructor
23  FittedEntry( Entry* entry, ALIint order, ALIdouble sigma);
24  FittedEntry( ALIstring name, float value, float sigma);
25  FittedEntry( std::vector<FittedEntry*> vFEntry );
27 
28  void BuildName();
29 
31  return theOptOName;
32  }
34  return theEntryName;
35  }
36  ALIstring getName() const {
37  return theName;
38  }
39  ALIdouble getValue() const {
40  return theValue;
41  }
42  ALIdouble getSigma() const {
43  return theSigma;
44  }
46  return theOrigValue;
47  }
49  return theOrigSigma;
50  }
51  ALIint getOrder() const {
52  return theOrder;
53  }
54  ALIint getQuality() const {
55  return theQuality;
56  }
57  Entry* getEntry() const {
58  return theEntry;
59  }
60 
61 
62 private:
64  Entry* theEntry;
73 
74 };
75 
76 #endif
77 
long double ALIdouble
Definition: CocoaGlobals.h:11
ALIdouble theOrigValue
Definition: FittedEntry.h:70
ALIdouble getOrigValue() const
Definition: FittedEntry.h:45
ALIint theOrder
Definition: FittedEntry.h:65
ALIdouble theOrigSigma
Definition: FittedEntry.h:71
Definition: Entry.h:18
ALIint getQuality() const
Definition: FittedEntry.h:54
ALIint theQuality
Definition: FittedEntry.h:72
ALIstring getOptOName() const
Definition: FittedEntry.h:30
int ALIint
Definition: CocoaGlobals.h:15
ALIstring getName() const
Definition: FittedEntry.h:36
Entry * getEntry() const
Definition: FittedEntry.h:57
Entry * theEntry
Definition: FittedEntry.h:64
ALIdouble getOrigSigma() const
Definition: FittedEntry.h:48
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
ALIdouble getSigma() const
Definition: FittedEntry.h:42
void BuildName()
Definition: FittedEntry.cc:114
ALIstring getEntryName() const
Definition: FittedEntry.h:33
ALIdouble theValue
Definition: FittedEntry.h:63
ALIint getOrder() const
Definition: FittedEntry.h:51
ALIstring theEntryName
Definition: FittedEntry.h:68
std::string ALIstring
Definition: CocoaGlobals.h:9
ALIstring theName
Definition: FittedEntry.h:66
ALIdouble theSigma
Definition: FittedEntry.h:69
ALIstring theOptOName
Definition: FittedEntry.h:67
ALIdouble getValue() const
Definition: FittedEntry.h:39