]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALHit.cxx
Moved the EMCAL back to 60 < phi < 180
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALHit.cxx
index ece99a2088ff1fbc99d56c9b2503d2ac7ad0a1e2..dec3473d8d788b4b25afd874926d1d31a510929e 100644 (file)
@@ -26,8 +26,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include <strstream.h>
-#include <iostream.h>
+#include <Rstrstream.h>
+#include <Riostream.h>
 
 // --- ROOT system ---
 #include <TLorentzVector.h>
@@ -61,7 +61,7 @@ AliEMCALHit::AliEMCALHit(){
     fIenergy = 0.0;
 }
 //______________________________________________________________________
-AliEMCALHit::AliEMCALHit(const AliEMCALHit & hit){
+AliEMCALHit::AliEMCALHit(const AliEMCALHit & hit) : AliHit(hit){
     // copy ctor
    
     fId      = hit.fId ; 
@@ -100,17 +100,6 @@ AliEMCALHit::AliEMCALHit(Int_t shunt, Int_t primary, Int_t track,Int_t iparent,
     fIenergy    = ienergy;
 }
 
-//______________________________________________________________________
-const Bool_t AliEMCALHit::IsInPreShower() const 
-{
-  Bool_t rv = kFALSE ;
-  
-  const AliEMCALGeometry * geom = AliEMCALGetter::GetInstance()->EMCALGeometry() ;
-  if((GetId()/geom->GetNPhi()) < (2*geom->GetNZ())) 
-    rv = kTRUE; 
-  return rv; 
-} 
-
 //______________________________________________________________________
 Bool_t AliEMCALHit::operator==(AliEMCALHit const &rValue) const{ 
     // Two hits are identical if they have the same Id and originat