CMS 3D CMS Logo

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
FittedEntriesSet::FittedEntries
std::vector< FittedEntry * > & FittedEntries()
Definition: FittedEntriesSet.h:40
FittedEntriesSet::getDate
ALIstring & getDate()
Definition: FittedEntriesSet.h:43
FittedEntriesSet::Fill
void Fill()
Definition: FittedEntriesSet.cc:56
FittedEntriesSet::FillCorrelations
void FillCorrelations()
Definition: FittedEntriesSet.cc:80
FittedEntry.h
LaserClient_cfi.wl
wl
Definition: LaserClient_cfi.py:46
FittedEntriesSet::FillEntries
void FillEntries()
Definition: FittedEntriesSet.cc:62
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
FittedEntriesSet::FillEntriesAveragingSets
void FillEntriesAveragingSets(const std::vector< FittedEntriesSet * > &vSets)
Definition: FittedEntriesSet.cc:121
FittedEntriesSet::theCorrelationMatrix
std::vector< std::vector< ALIdouble > > theCorrelationMatrix
Definition: FittedEntriesSet.h:53
FittedEntriesSet
Definition: FittedEntriesSet.h:22
FittedEntriesSet::theFittedEntries
std::vector< FittedEntry * > theFittedEntries
Definition: FittedEntriesSet.h:47
FittedEntriesSet::CreateCorrelationMatrix
void CreateCorrelationMatrix(const ALIuint nent)
Definition: FittedEntriesSet.cc:105
FittedEntriesSet::theMinEntryQuality
ALIint theMinEntryQuality
Definition: FittedEntriesSet.h:54
FittedEntriesSet::SetOptOEntries
void SetOptOEntries()
Definition: FittedEntriesSet.cc:150
ALIuint
unsigned int ALIuint
Definition: CocoaGlobals.h:17
FittedEntriesSet::theTime
ALIstring theTime
Definition: FittedEntriesSet.h:52
FittedEntriesSet::~FittedEntriesSet
~FittedEntriesSet()
Definition: FittedEntriesSet.h:29
MatrixMeschach.h
FittedEntriesSet::FillEntriesFromFile
void FillEntriesFromFile(const std::vector< ALIstring > &wl)
Definition: FittedEntriesSet.cc:112
MatrixMeschach
Definition: MatrixMeschach.h:30
FittedEntriesSet::theEntriesErrorMatrix
MatrixMeschach * theEntriesErrorMatrix
Definition: FittedEntriesSet.h:55
ALIint
int ALIint
Definition: CocoaGlobals.h:15
DeadROCCounter.nent
nent
Definition: DeadROCCounter.py:67
CocoaGlobals.h
FittedEntriesSet::getTime
ALIstring & getTime()
Definition: FittedEntriesSet.h:44
FittedEntriesSet::FittedEntriesSet
FittedEntriesSet(MatrixMeschach *AtWAMatrix)
Definition: FittedEntriesSet.cc:21
FittedEntriesSet::theDate
ALIstring theDate
Definition: FittedEntriesSet.h:51