Fix for bug report #48432: Consistent size of the PID array in the base and derived...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Mar 2009 20:10:49 +0000 (20:10 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Mar 2009 20:10:49 +0000 (20:10 +0000)
ANALYSIS/AliAnalysisTaskESDfilter.cxx
STEER/AliAODPmdCluster.cxx
STEER/AliAODPmdCluster.h

index 1322584..93c49b5 100644 (file)
@@ -1042,7 +1042,7 @@ void AliAnalysisTaskESDfilter::ConvertESDtoAOD() {
       Int_t nLabel = 0;
       Int_t *label = 0x0;
       Double_t posPmd[3] = { pmdTrack->GetClusterX(), pmdTrack->GetClusterY(), pmdTrack->GetClusterZ()};
-      Double_t pidPmd[9] = { 0., 0., 0., 0., 0., 0., 0., 0., 0. }; // to be revised!
+      Double_t pidPmd[13] = { 0.}; // to be revised!
       // type not set!
       // assoc cluster not set
       new(pmdClusters[jPmdClusters++]) AliAODPmdCluster(iPmd, nLabel, label, pmdTrack->GetClusterADC(), posPmd, pidPmd);
index ce31e03..20a7f21 100644 (file)
@@ -38,7 +38,7 @@ AliAODPmdCluster::AliAODPmdCluster(Int_t id,
                                   Int_t *label, 
                                   Double_t energy,
                                   Double_t x[3],
-                                  Double_t pid[9],
+                                  Double_t pid[13],
                                   Char_t ttype,
                                   UInt_t /*selectInfo*/,
                                   AliAODPmdCluster* assoc) :
@@ -54,7 +54,7 @@ AliAODPmdCluster::AliAODPmdCluster(Int_t id,
                                   Int_t *label, 
                                   Float_t energy,
                                   Float_t x[3],
-                                  Float_t pid[9],
+                                  Float_t pid[13],
                                   Char_t ttype,
                                   UInt_t /*selectInfo*/,
                                   AliAODPmdCluster* assoc) :
index 0683016..754e50c 100644 (file)
@@ -23,7 +23,7 @@ class AliAODPmdCluster : public AliAODCluster {
                   Int_t *label,
                   Double_t energy,
                   Double_t x[3],
-                  Double_t pid[9],
+                  Double_t pid[13],
                   Char_t ttype=kUndef,
                   UInt_t selectInfo=0,
                   AliAODPmdCluster* assoc=NULL);
@@ -33,7 +33,7 @@ class AliAODPmdCluster : public AliAODCluster {
                   Int_t *label,
                   Float_t energy,
                   Float_t x[3],
-                  Float_t pid[9],
+                  Float_t pid[13],
                   Char_t ttype=kUndef,
                   UInt_t selectInfo=0,
                   AliAODPmdCluster* assoc=NULL);