]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliGausCorr.h
Warnings removed (R.Shahoyan)
[u/mrichter/AliRoot.git] / STEER / AliGausCorr.h
CommitLineData
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
0742d588 8////////////////////////////////////////////////////////////////////////
9// Class used to generate correlated gaussian numbers with mean
10// zero and known covariance matrix.
11// M.Masera 15.03.2001 9:30 - modified on 26.02.2002 17:40
12////////////////////////////////////////////////////////////////////////
13
740ebff3 14#include <TMatrixD.h>
15class TArrayD;
16
17
116cbefd 18class AliGausCorr : public TObject
19{
740ebff3 20 public:
21 //
22 AliGausCorr();
23 AliGausCorr(const TMatrixD & cov, Int_t size);
24 AliGausCorr(const AliGausCorr & tgcorr);
25 virtual ~AliGausCorr();
26 void GetGaussN(TArrayD &vec) const;
27 TMatrixD GetSqrtMatrix() const { return *fCv;}
28 void PrintCv() const;
29 AliGausCorr & operator=(const AliGausCorr & tgcorr);
30 //
31 private:
32 //
33 Int_t fSize; // number of correlated gaussian random numbers
34 TMatrixD *fCv; // 'square root' of the covariance matrix
35
36 ClassDef(AliGausCorr,1)
37};
38
39
40#endif
41
42
43