]>
Commit | Line | Data |
---|---|---|
740ebff3 | 1 | #ifndef ALIGAUSCORR_H |
2 | #define ALIGAUSCORR_H | |
3 | /* Copyright(c) 2001-2002, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
fb17acd4 | 5 | |
6 | /* $Id$ */ | |
7 | ||
740ebff3 | 8 | #include <TMatrixD.h> |
9 | class TArrayD; | |
10 | ||
11 | ||
116cbefd | 12 | class AliGausCorr : public TObject |
13 | { | |
740ebff3 | 14 | public: |
15 | // | |
16 | AliGausCorr(); | |
17 | AliGausCorr(const TMatrixD & cov, Int_t size); | |
18 | AliGausCorr(const AliGausCorr & tgcorr); | |
19 | virtual ~AliGausCorr(); | |
20 | void GetGaussN(TArrayD &vec) const; | |
21 | TMatrixD GetSqrtMatrix() const { return *fCv;} | |
22 | void PrintCv() const; | |
23 | AliGausCorr & operator=(const AliGausCorr & tgcorr); | |
24 | // | |
25 | private: | |
26 | // | |
27 | Int_t fSize; // number of correlated gaussian random numbers | |
28 | TMatrixD *fCv; // 'square root' of the covariance matrix | |
29 | ||
30 | ClassDef(AliGausCorr,1) | |
31 | }; | |
32 | ||
33 | ||
34 | #endif | |
35 | ||
36 | ||
37 |