test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
22 class FittedEntriesSet
23 {
24 
25 public:
26  //---------- Constructors / Destructor
27  FittedEntriesSet( MatrixMeschach* AtWAMatrix );
28  FittedEntriesSet( const std::vector<ALIstring>& wl );
29  //---- Average a list of FittedEntriesSet's
30  FittedEntriesSet( const std::vector<FittedEntriesSet*>& vSets );
32  void Fill();
33  void FillEntries();
34  void FillCorrelations();
35  void CreateCorrelationMatrix( const ALIuint nent );
36  void FillEntriesFromFile( const std::vector<ALIstring>& wl);
37  void FillEntriesAveragingSets( const std::vector<FittedEntriesSet*>& vSets );
38 
39  void SetOptOEntries();
40 
41  public:
42  std::vector< FittedEntry* >& FittedEntries(){
43  return theFittedEntries;
44  }
45 
46 //GET AND SET METHODS
48  return theDate;
49  }
51  return theTime;
52  }
53 
54 public:
55 
56  std::vector< FittedEntry* > theFittedEntries;
57  private:
58 //t struct tm theTime;
61  std::vector< std::vector<ALIdouble> > theCorrelationMatrix;
64 };
65 
66 #endif
67 
ALIstring & getTime()
std::vector< std::vector< ALIdouble > > theCorrelationMatrix
ALIstring & getDate()
std::vector< FittedEntry * > theFittedEntries
MatrixMeschach * theEntriesErrorMatrix
int ALIint
Definition: CocoaGlobals.h:15
FittedEntriesSet(MatrixMeschach *AtWAMatrix)
std::vector< FittedEntry * > & FittedEntries()
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)