FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoMatrix.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIRGEOMATRIX_H
9 #define FAIRGEOMATRIX_H
10 
11 #include "FairGeoVector.h" // for FairGeoVector
12 
13 #include <Rtypes.h> // for Double_t, etc
14 #include <TObject.h> // for TObject
15 
19 class FairGeoMatrix : public TObject
20 {
21  protected:
22  Double_t fM[9];
23 
24  public:
25  FairGeoMatrix(void);
26  ~FairGeoMatrix(void);
27  Double_t& operator()(Int_t i, Int_t j) { return fM[i * 3 + j]; }
28  Double_t det(void);
30  FairGeoMatrix& operator/=(Double_t d);
32 };
33 
34 #endif
Double_t det(void)
FairGeoMatrix & operator/=(Double_t d)
FairGeoVector operator*(FairGeoVector &v)
ClassDef(FairGeoMatrix, 0)
Double_t & operator()(Int_t i, Int_t j)
Definition: FairGeoMatrix.h:27
Double_t fM[9]
Definition: FairGeoMatrix.h:22