#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>
fIenergy = 0.0;
}
//______________________________________________________________________
-AliEMCALHit::AliEMCALHit(const AliEMCALHit & hit){
+AliEMCALHit::AliEMCALHit(const AliEMCALHit & hit) : AliHit(hit){
// copy ctor
fId = hit.fId ;
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