]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliCluster3D.h
Moving the classes that belong to the following libraries: STEERBase, ESD, CDB, AOD...
[u/mrichter/AliRoot.git] / STEER / STEER / AliCluster3D.h
diff --git a/STEER/STEER/AliCluster3D.h b/STEER/STEER/AliCluster3D.h
new file mode 100644 (file)
index 0000000..631c0f0
--- /dev/null
@@ -0,0 +1,48 @@
+#ifndef ALICLUSTER3D_H
+#define ALICLUSTER3D_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+//-------------------------------------------------------------------------
+//                         Class AliCluster3D
+//  This is an extension of the AliCluster class for the case when
+//  the sensitive plane this cluster belongs to is arbitrarily oriented
+//  in space.  This class can serve as the base for the TOF and HMPID
+//  clusters.
+//
+//  cvetan.cheshkov@cern.ch  & jouri.belikov@cern.ch     5/6/2007
+//-------------------------------------------------------------------------
+
+#include "AliCluster.h"
+
+class TGeoHMatrix;
+class TGeoPNEntry;
+
+class AliCluster3D : public AliCluster {
+public:
+  AliCluster3D();
+  AliCluster3D(UShort_t volId, 
+     Float_t x,   Float_t y,   Float_t z,
+     Float_t sx2, Float_t sxy, Float_t sxz,
+                  Float_t sy2, Float_t syz, 
+                               Float_t sz2, const Int_t *lab = NULL);
+  AliCluster3D(const AliCluster3D& cluster);
+  virtual ~AliCluster3D() {;}
+
+  virtual Bool_t GetGlobalCov(Float_t cov[6]) const;
+
+  Float_t GetSigmaX2() const {return fSigmaX2;}
+  Float_t GetSigmaXY() const {return fSigmaXY;}
+  Float_t GetSigmaXZ() const {return fSigmaXZ;}
+
+private:
+  AliCluster3D &operator=(const AliCluster3D& cluster);
+
+  Float_t fSigmaX2;  // Additional elements 
+  Float_t fSigmaXY;  // of 
+  Float_t fSigmaXZ;  // the covariance matrix 
+  
+  ClassDef(AliCluster3D,1) // Barrel detectors cluster
+};
+
+#endif