member array initialization added (Theo)
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Mar 2011 14:12:32 +0000 (14:12 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Mar 2011 14:12:32 +0000 (14:12 +0000)
HLT/TRD/AliHLTTRDCalibFitComponent.cxx
HLT/TRD/AliHLTTRDHistoMergerComponent.cxx
HLT/TRD/AliHLTTRDTracklet.cxx

index b7ccf036c845a0d74d36c582bd1697559b0e6c77..8df13c1d095ef32785094acb942cdcb1de4ff0e0 100644 (file)
@@ -68,6 +68,10 @@ AliHLTTRDCalibFitComponent::AliHLTTRDCalibFitComponent()
     fNoOfIncSM(0)
 {
   // Default constructor
+
+  for(int i=0; i<18; i++)
+    fIncSM[i]=kFALSE;
+
 }
 
 AliHLTTRDCalibFitComponent::~AliHLTTRDCalibFitComponent()
index 29a6289792b72746aa31c184b08925bacb5c3fd9..0dd29f47431e6fed86cbd95fafd03b2364cadb25 100644 (file)
@@ -53,6 +53,12 @@ AliHLTTRDHistoMergerComponent::AliHLTTRDHistoMergerComponent()
   // or
   // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
 
+  for(int i=0; i<9; i++)
+    fHistoArr[i]=NULL;
+
+  for(int i=0; i<18; i++)
+    fIncSM[i]=kFALSE;
+
 }
 
 AliHLTTRDHistoMergerComponent::~AliHLTTRDHistoMergerComponent()
index 44ad8de2d80819d75caafc2c66d69b6e12269d01..3dc9eae384318552fe5e9bff827229a96105e461 100644 (file)
@@ -218,6 +218,9 @@ void AliHLTTRDTracklet::InitArrays()
   fC[0] = 0.; fC[1] = 0.; 
   for (Int_t i=0; i < AliPID::kSPECIES; i++)
     fProb[i]=0;
+  for (Int_t i=0; i<AliTRDseedV1::kNclusters; i++)
+    fPos[i]=0;
+
 }
 
 /**