]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Reinitialize TLinearFitter on the Proof
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Jul 2008 19:08:12 +0000 (19:08 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Jul 2008 19:08:12 +0000 (19:08 +0000)
Streamer of TLinearFitter is not  full

(Marian Ivanov)

TPC/AliTPCcalibTracksGain.cxx

index 74b2dbbe59566fa1892e357196ddd379c3a9d315..5ffef1af7dcbca624576f7ee2323a6f3577b4d4f 100644 (file)
 #include <TIterator.h>
 #include <TProfile.h>
 #include <TProfile2D.h>
+#include <TProof.h>
 
 //
 // AliRoot includes
@@ -407,8 +408,29 @@ void AliTPCcalibTracksGain::Process(AliTPCseed* seed) {
    // is added.
    //
    
+
    fTotalTracks++;
    if (!fCuts->AcceptTrack(seed)) return;
+   //
+   // reinint on proof
+   //   if (gProof){
+     static Bool_t doinit= kTRUE;
+     if (doinit){
+       fSimpleFitter = new AliTPCFitPad(8, "hyp7", "");
+       fSqrtFitter   = new AliTPCFitPad(8, "hyp7", "");
+       fLogFitter    = new AliTPCFitPad(8, "hyp7", "");
+       fSingleSectorFitter = new AliTPCFitPad(8, "hyp7", "");
+       // 
+       fFitter0M      = new TLinearFitter(45,"hyp44");
+       fFitter1M      = new TLinearFitter(45,"hyp44");
+       fFitter2M      = new TLinearFitter(45,"hyp44");
+       fFitter0T      = new TLinearFitter(45,"hyp44");
+       fFitter1T      = new TLinearFitter(45,"hyp44");
+       fFitter2T      = new TLinearFitter(45,"hyp44");
+       doinit=kTRUE;
+     }
+     //}
+
    fAcceptedTracks++;
    AddTrack(seed);
 }