Fill correctly the PID for CaloClusters (Gustavo Conesa Balbastre <Gustavo.Conesa...
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 08:59:00 +0000 (08:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 08:59:00 +0000 (08:59 +0000)
ANALYSIS/AliAnalysisTaskESDfilter.cxx

index 53c6e96..644fa43 100644 (file)
@@ -818,6 +818,7 @@ void AliAnalysisTaskESDfilter::ConvertESDtoAOD() {
                                  cluster->GetEmcCpvDistance(),  
                                  cluster->GetNExMax(),cluster->GetTOF()) ;
 
+      caloCluster->SetPIDFromESD(cluster->GetPid());
       caloCluster->SetNCells(cluster->GetNCells());
       caloCluster->SetCellsAbsId(cluster->GetCellsAbsId());
       caloCluster->SetCellsAmplitudeFraction(cluster->GetCellsAmplitudeFraction());