]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALHit.cxx
Cleaned up some CC violations
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALHit.cxx
index 9dee8c25e3bd406591479318a13d351019d11167..dec3473d8d788b4b25afd874926d1d31a510929e 100644 (file)
@@ -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