Store seed in friends regardless on stream-level, since needed for calibration
authorshahoian <ruben.shahoyan@cern.ch>
Tue, 23 Dec 2014 21:02:48 +0000 (22:02 +0100)
committershahoian <ruben.shahoyan@cern.ch>
Tue, 23 Dec 2014 21:02:48 +0000 (22:02 +0100)
TPC/TPCrec/AliTPCtracker.cxx

index 770812c..3801bd4 100644 (file)
@@ -3571,7 +3571,8 @@ Int_t AliTPCtracker::RefitInward(AliESDEvent *event)
       // add seed to the esd track in Calib level
       //
       Bool_t storeFriend = gRandom->Rndm()<(kMaxFriendTracks)/Float_t(nseed);
-      if (AliTPCReconstructor::StreamLevel()>0 &&storeFriend){
+      //      if (AliTPCReconstructor::StreamLevel()>0 &&storeFriend){
+      if (storeFriend){ // RS: seed is needed for calibration, regardless on streamlevel
        // RS: this is the only place where the seed is created not in the pool, 
        // since it should belong to ESDevent
        AliTPCseed * seedCopy = new AliTPCseed(*seed, kTRUE);