]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliCluster3D.h
Typo fixed + warnings removed.
[u/mrichter/AliRoot.git] / STEER / AliCluster3D.h
1 #ifndef ALICLUSTER3D_H
2 #define ALICLUSTER3D_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //-------------------------------------------------------------------------
7 //                         Class AliCluster3D
8 //  This is an extension of the AliCluster class for the case when
9 //  the sensitive plane this cluster belongs to is arbitrarily oriented
10 //  in space.  This class can serve as the base for the TOF and HMPID
11 //  clusters.
12 //
13 //  cvetan.cheshkov@cern.ch  & jouri.belikov@cern.ch     5/6/2007
14 //-------------------------------------------------------------------------
15
16 #include <AliCluster.h>
17
18 class TGeoHMatrix;
19 class TGeoPNEntry;
20
21 class AliCluster3D : public AliCluster {
22 public:
23   AliCluster3D();
24   AliCluster3D(UShort_t volId, 
25      Float_t x,   Float_t y,   Float_t z,
26      Float_t sx2, Float_t sxy, Float_t sxz,
27                   Float_t sy2, Float_t syz, 
28                                Float_t sz2, const Int_t *lab = NULL);
29   AliCluster3D(const AliCluster3D& cluster);
30   virtual ~AliCluster3D() {;}
31
32   virtual Bool_t GetGlobalCov(Float_t cov[6]) const;
33
34   Float_t GetSigmaX2() const {return fSigmaX2;}
35   Float_t GetSigmaXY() const {return fSigmaXY;}
36   Float_t GetSigmaXZ() const {return fSigmaXZ;}
37
38 private:
39   AliCluster3D &operator=(const AliCluster3D& cluster);
40
41   Float_t fSigmaX2;  // Additional elements 
42   Float_t fSigmaXY;  // of 
43   Float_t fSigmaXZ;  // the covariance matrix 
44   
45   ClassDef(AliCluster3D,1) // Barrel detectors cluster
46 };
47
48 #endif