]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSHit.h
- Reshuffling of the particle codes in AliPID. Now the light nuclei are between the
[u/mrichter/AliRoot.git] / PHOS / AliPHOSHit.h
index c8dd1e3f31ff6b64bd38c862c89117b60121ca33..d44ff7def2d70a5bad4f5a57926c7f748e02a7b3 100644 (file)
@@ -12,7 +12,6 @@
 //*-- Author: Maxime Volkov (RRC KI) & Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
-#include <TLorentzVector.h>
 
 // --- AliRoot header files ---
 #include "AliHit.h"
 
 class AliPHOSHit : public AliHit {
 
-  friend ostream& operator << (ostream&, const AliPHOSHit&) ;
+//   friend ostream& operator << (ostream&, const AliPHOSHit&) ;
   
  public:
   
-  AliPHOSHit() {
+  AliPHOSHit() : fId(0),fELOS(0),fTime(0) {
     // default ctor 
   }
   AliPHOSHit(const AliPHOSHit & hit) ; 
-  AliPHOSHit(Int_t shunt, Int_t primary, Int_t tracknumber, Int_t id, Float_t *hits);
+  AliPHOSHit(Int_t shunt, Int_t tracknumber, Int_t id, Float_t *hits);
   virtual ~AliPHOSHit(void) {
     // dtor 
   }  
@@ -45,7 +44,7 @@ class AliPHOSHit : public AliHit {
   }
   Int_t   GetPrimary(void)  const { 
     // returns the primary particle id at the origine of this hit 
-    return fPrimary ; 
+    return fTrack ; 
   }
 
   Float_t GetTime(void)     const {
@@ -53,19 +52,18 @@ class AliPHOSHit : public AliHit {
     return fTime ;
   }
 
-  virtual Float_t X() const ;
-  virtual Float_t Y() const ;
-  virtual Float_t Z() const ;
 
   Bool_t operator == (AliPHOSHit const &rValue) const ;
   AliPHOSHit operator + (const AliPHOSHit& rValue) ;
 
 
- private:
+private:
+  AliPHOSHit & operator = (const AliPHOSHit & /*hit*/);
+
+private:
 
   Int_t          fId ;        // Absolute Id number of PHOS Xtal or PPSD pad
   Float_t        fELOS ;      // Energy deposited
-  Int_t          fPrimary ;   // Primary particles at the origine of the hit
   Float_t        fTime ;      // Time of the energy deposition
 
   ClassDef(AliPHOSHit,1)  // Hit for PHOS