CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FittedEntriesSet.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: FittedEntriesSet.h
3 //CAT: Model
4 //
5 // Class to store set of fitted entries with date
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _FittedEntriesSet_HH
11 #define _FittedEntriesSet_HH
12 
14 #include <ctime>
15 #include <vector>
17 //#ifdef MAT_MESCHACH
19 //typedef MatrixMeschach ALIMatrix;
20 //#endif
21 
23 public:
24  //---------- Constructors / Destructor
25  FittedEntriesSet(MatrixMeschach* AtWAMatrix);
26  FittedEntriesSet(const std::vector<ALIstring>& wl);
27  //---- Average a list of FittedEntriesSet's
28  FittedEntriesSet(const std::vector<FittedEntriesSet*>& vSets);
30  void Fill();
31  void FillEntries();
32  void FillCorrelations();
34  void FillEntriesFromFile(const std::vector<ALIstring>& wl);
35  void FillEntriesAveragingSets(const std::vector<FittedEntriesSet*>& vSets);
36 
37  void SetOptOEntries();
38 
39 public:
40  std::vector<FittedEntry*>& FittedEntries() { return theFittedEntries; }
41 
42  //GET AND SET METHODS
43  ALIstring& getDate() { return theDate; }
44  ALIstring& getTime() { return theTime; }
45 
46 public:
47  std::vector<FittedEntry*> theFittedEntries;
48 
49 private:
50  //t struct tm theTime;
53  std::vector<std::vector<ALIdouble> > theCorrelationMatrix;
56 };
57 
58 #endif
ALIstring & getTime()
std::vector< FittedEntry * > & FittedEntries()
ALIstring & getDate()
int ALIint
Definition: CocoaGlobals.h:15
std::vector< FittedEntry * > theFittedEntries
FittedEntriesSet(MatrixMeschach *AtWAMatrix)
std::vector< std::vector< ALIdouble > > theCorrelationMatrix
MatrixMeschach * theEntriesErrorMatrix
void FillEntriesAveragingSets(const std::vector< FittedEntriesSet * > &vSets)
void CreateCorrelationMatrix(const ALIuint nent)
std::string ALIstring
Definition: CocoaGlobals.h:9
unsigned int ALIuint
Definition: CocoaGlobals.h:17
void FillEntriesFromFile(const std::vector< ALIstring > &wl)