]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
input for unfolding is virtual cells or clusters, commit 2
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Nov 2010 13:25:56 +0000 (13:25 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Nov 2010 13:25:56 +0000 (13:25 +0000)
EMCAL/AliEMCALAfterBurnerUF.cxx

index 187f5ea6610ac81b8a846aa00d3036352ed5cc62..c936cc46779945f3462cdb78ad2e60f4284862cd 100644 (file)
@@ -14,8 +14,8 @@
  **************************************************************************/
 // After-burner for the EMCAL cluster unfolding algorithm
 //
-// Input: TObjArray  *clusArray -- array of AliAODCaloClusters;
-//        AliAODCaloCells  *cellsEMCAL -- EMCAL cells.
+// Input: TObjArray  *clusArray -- array of AliVClusters;
+//        AliVCaloCells  *cellsEMCAL -- EMCAL cells.
 //
 // Output is appended to clusArray, the original (unfolded or not) clusters
 // are deleted or moved to another position in clusArray.
@@ -69,7 +69,7 @@
 #include <AliEMCALGeometry.h>
 #include <AliEMCALUnfolding.h>
 #include <AliAODCaloCluster.h>
-#include <AliAODCaloCells.h>
+#include <AliVCaloCells.h>
 #include <AliEMCALRecPoint.h>
 #include <AliEMCALDigit.h>
 
@@ -196,7 +196,7 @@ void AliEMCALAfterBurnerUF::RecPoints2Clusters(TObjArray *clusArray)
 
     // create a new cluster
     AliAODCaloCluster *clus = new AliAODCaloCluster();
-    clus->SetType(AliAODCaloCluster::kEMCALClusterv1);
+    clus->SetType(AliVCluster::kEMCALClusterv1);
     clus->SetE(recPoint->GetEnergy());
     clus->SetPosition(g);
     clus->SetNCells(ncells_true);
@@ -231,7 +231,7 @@ void AliEMCALAfterBurnerUF::UnfoldClusters(TObjArray *clusArray, AliVCaloCells *
 
     // new recPoint
     AliEMCALRecPoint *recPoint = new AliEMCALRecPoint("");
-    recPoint->SetClusterType(AliAODCaloCluster::kEMCALClusterv1);
+    recPoint->SetClusterType(AliVCluster::kEMCALClusterv1);
     fRecPoints->Add(recPoint);
 
     // fill digits