]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
o updates (Alla)
authorwiechula <wiechula@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Dec 2012 08:49:39 +0000 (08:49 +0000)
committerwiechula <wiechula@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Dec 2012 08:49:39 +0000 (08:49 +0000)
ANALYSIS/TenderSupplies/AliT0TenderSupply.cxx

index 16afdcb217727f335d7cdd8def2be6eebbe20247..d72715bf3ad44feaeb8d34d28f9b5122e737660f 100644 (file)
@@ -24,7 +24,7 @@
 #include <AliESDtrack.h>
 
 #include <AliTender.h>
-#include <AliT0TenderSupply.h>
+#include "AliT0TenderSupply.h"
 #include <AliCDBManager.h>
 #include <AliCDBEntry.h>
 #include <AliT0CalibSeasonTimeShift.h>
@@ -94,6 +94,7 @@ void AliT0TenderSupply::Init(){
 
 //________________________________________________________________________
 void AliT0TenderSupply::ProcessEvent(){
+
     //
     // loop over all online T0 candidates and flag
     // selected daughter tracks using the status bis of the TObject
@@ -151,7 +152,9 @@ void AliT0TenderSupply::ProcessEvent(){
     }
 
     //...........................................
-    Float_t *t0means=0x0;
+    Float_t t00means[4] = {0,0,0,0}; 
+    Float_t *t0means = t00means;
+
     if(fCorrectMeanTime) {
       AliCDBManager* ocdbMan = AliCDBManager::Instance();
       ocdbMan->SetRun(fTender->GetRun());