/* History of cvs commits:
*
* $Log$
+ * Revision 1.12 2007/06/11 20:43:06 hristov
+ * Changes required by the updated AliESDCaloCluster (Gustavo)
+ *
+ * Revision 1.11 2007/03/30 13:50:34 gustavo
+ * PID for particles with E < 5 GeV was not done, temporal solution found (Guenole)
+ *
* Revision 1.10 2007/03/09 14:34:11 gustavo
* Correct probability calculation, added missing initialization of data members
*
// #include "AliLoader.h"
// #include "AliStack.h"
// #include "AliESDtrack.h"
-// #include "AliESD.h"
+// #include "AliESDEvent.h"
#include "AliLog.h"
#include "AliEMCALPID.h"
}
//______________________________________________
-void AliEMCALPID::RunPID(AliESD *esd)
+void AliEMCALPID::RunPID(AliESDEvent *esd)
{
//
// Make the PID for all the EMCAL clusters containedin the ESDs File
for (Int_t iCluster = firstCluster; iCluster < (nClusters + firstCluster); iCluster++) {
AliESDCaloCluster *clust = esd->GetCaloCluster(iCluster);
- energy = clust->GetClusterEnergy();
+ energy = clust->E();
lambda0 = clust->GetM02();
// verify cluster type
Int_t clusterType= clust->GetClusterType();