CMS 3D CMS Logo

EntryData.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: EntryData.h
3 //CAT: Model
4 //
5 // Base class for entry data
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _EntryData_HH
11 #define _EntryData_HH
13 #include <vector>
14 
15 class EntryData
16 {
17  friend std::ostream& operator << (std::ostream& os, const EntryData& c);
18 
19 public:
20  //----- Constructor / destructor
21  EntryData();
22  ~EntryData();
23 
24  void fill( const std::vector<ALIstring>& wordlist );
25 
26  // Access DATA MEMBERS
27  const ALIstring& longOptOName() const { return fLongOptOName; }
28  const ALIstring& shortOptOName() const { return fShortOptOName; }
29  const ALIstring& optOName() const { return longOptOName(); }
30  const ALIstring& entryName() const { return fEntryName; }
33  ALIdouble sigma() const { return fSigma; }
34  ALIint quality() const { return fQuality; }
36  { fValueDisplacement = val; }
37  //- ALIint fitPos() const { return fFitPos; }
38 
39 private:
40  // private DATA MEMBERS
41 protected:
49  //- ALIint fFitPos;
50 
51 };
52 
53 #endif
long double ALIdouble
Definition: CocoaGlobals.h:11
friend std::ostream & operator<<(std::ostream &os, const EntryData &c)
Definition: EntryData.cc:92
const ALIstring & entryName() const
Definition: EntryData.h:30
void fill(const std::vector< ALIstring > &wordlist)
Definition: EntryData.cc:20
ALIuint fQuality
Definition: EntryData.h:48
int ALIint
Definition: CocoaGlobals.h:15
void setValueDisplacement(const ALIdouble val)
Definition: EntryData.h:35
ALIdouble fValueOriginal
Definition: EntryData.h:45
const ALIstring & longOptOName() const
Definition: EntryData.h:27
ALIdouble sigma() const
Definition: EntryData.h:33
ALIstring fLongOptOName
Definition: EntryData.h:42
ALIstring fEntryName
Definition: EntryData.h:44
ALIdouble valueOriginal() const
Definition: EntryData.h:31
ALIdouble fValueDisplacement
Definition: EntryData.h:46
const ALIstring & optOName() const
Definition: EntryData.h:29
ALIdouble fSigma
Definition: EntryData.h:47
std::string ALIstring
Definition: CocoaGlobals.h:9
ALIstring fShortOptOName
Definition: EntryData.h:43
ALIdouble valueDisplacement() const
Definition: EntryData.h:32
const ALIstring & shortOptOName() const
Definition: EntryData.h:28
unsigned int ALIuint
Definition: CocoaGlobals.h:17
ALIint quality() const
Definition: EntryData.h:34
~EntryData()
Definition: EntryData.cc:86