]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSHit.h
Redundant Print removed
[u/mrichter/AliRoot.git] / PHOS / AliPHOSHit.h
index cb74f38adb14dfd10b3d82244904296edfbad7e6..af937aac0d492d735e63e89b84fd733a8d4e3103 100644 (file)
 //*-- Author: Maxime Volkov (RRC KI) & Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
-#include <TLorentzVector.h>
 
 // --- AliRoot header files ---
 #include "AliHit.h"
 
 // --- Standard library ---
 
-#include <iostream.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, Int_t pid, TLorentzVector p, Float_t *xy);
+  AliPHOSHit(Int_t shunt, Int_t tracknumber, Int_t id, Float_t *hits);
   virtual ~AliPHOSHit(void) {
     // dtor 
   }  
@@ -45,16 +42,16 @@ class AliPHOSHit : public AliHit {
     // return the identificator of this his
     return fId ; 
   }
-  Int_t   GetPid(void)      const { 
-    // return the particle PDG code which initiates this hit
-    return fPid ; 
-  }
   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 {
+    // returns the time of the first energy deposition
+    return fTime ;
   }
-  TLorentzVector GetMomentum()  { return  fMomentum; }   
-    // momentum of the particle which initiated this hit
+
 
   Bool_t operator == (AliPHOSHit const &rValue) const ;
   AliPHOSHit operator + (const AliPHOSHit& rValue) ;
@@ -64,10 +61,7 @@ class AliPHOSHit : public AliHit {
 
   Int_t          fId ;        // Absolute Id number of PHOS Xtal or PPSD pad
   Float_t        fELOS ;      // Energy deposited
-  Int_t          fPid ;       // type of the particle that initiates that hit 
-  Int_t          fPrimary ;   // Primary particles at the origine of the hit
-
-  TLorentzVector fMomentum;   // 4-momentum of the particle
+  Float_t        fTime ;      // Time of the energy deposition
 
   ClassDef(AliPHOSHit,1)  // Hit for PHOS