]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - CRT/AliCRThit.h
Invocation of Print commented out. Its implementation uses incorrectly the AliRunLoad...
[u/mrichter/AliRoot.git] / CRT / AliCRThit.h
index ae3ce596c47e82062298a1c204699604844a2c5b..cb0f74cf4b9b564f7aba86f6d4611b1b7b2ddea2 100644 (file)
@@ -1,3 +1,10 @@
+#ifndef ALICRTHIT_H
+#define ALICRTHIT_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
 ////////////////////////////////////////////////
 //                                            //
 //  Hit class for CRT                         //
 //                                            //
 ////////////////////////////////////////////////
 
-#ifndef ALICRTHIT_H
-#define ALICRTHIT_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
 #include "AliHit.h"
 
-class AliCRThit : public AliHit {
-  
+class AliCRThit : public AliHit {  
 public:
-  AliCRThit() {}
+  AliCRThit();
   AliCRThit(Int_t shunt, Int_t track, Int_t* vol, Float_t *hits);
-  AliCRThit(const AliCRThit & hit) ;
-  virtual ~AliCRThit() {}
-
-       // getters for AliCRThit object
-  Float_t   Getnmou() const {return fnmou;}
-  Float_t   Getmtyp()  const {return fmtyp;}
-  Float_t Getxpit()     const {return fxpit;}
-  Float_t Getypit()     const {return fypit;}
-  Float_t Getzpit()     const {return fzpit;}
-  Float_t Getpxug()     const {return fpxug;}
-  Float_t Getpyug()     const {return fpyug;}
-  Float_t Getpzug()     const {return fpzug;}
-  Float_t Getlay()     const {return flay;}
-  Float_t Getxver()     const {return fxver;}
-  Float_t Getyver()     const {return fyver;}
-  Float_t Getzver()     const {return fzver;}
-
-  Int_t fVolume;
-  Int_t fCopy;
-  Float_t      fnmou; 
-  Float_t      fmtyp;
-  Float_t    fxpit;      //
-  Float_t    fypit;    // 
-  Float_t    fzpit;    // 
-  Float_t    fpxug;     //
-  Float_t    fpyug;      //
-  Float_t    fpzug;      //
-  Float_t    flay;    //
-  Float_t    fxver;      //
-  Float_t    fyver;      //
-  Float_t    fzver;      //
-  
+  AliCRThit(const AliCRThit& hit);
+  virtual ~AliCRThit();
+
+  AliCRThit& operator=(const AliCRThit& hit);
+  Bool_t operator==(const AliCRThit& hit);
+  Bool_t operator<(const AliCRThit& hit);
+
+  Float_t ParticleId()   const {return fId;}
+  Float_t Px()           const {return fPx;}
+  Float_t Py()           const {return fPy;}
+  Float_t Pz()           const {return fPz;}
+  Float_t Eloss()        const {return fEloss;}
+  Float_t Medium()       const {return fMedium;}
+  Float_t Energy()       const;
+  Float_t PolarAngle()   const;
+  Float_t AzimuthAngle() const;
+
+protected:
+  Float_t fId;     //
+  Float_t fPx;     //
+  Float_t fPy;     //
+  Float_t fPz;     //
+  Float_t fEloss;  //
+  Float_t fMedium; //
+
 private:
-  
   ClassDef(AliCRThit,1)  // Hit for CRT (ACORDE)
-
 };
-
 #endif /* ALICRTHIT_H */