]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCalibraFillHisto.cxx
Fixing local structure disabled word, which had an incorrect value.
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibraFillHisto.cxx
index 532cc29120c7d92ad804ac812615079e546b3e43..48e5dfc916f4ec06f58f9d8f2c32949a60f524d7 100644 (file)
@@ -364,7 +364,8 @@ Bool_t AliTRDCalibraFillHisto::Init2Dhistos(Int_t nboftimebin)
 
   // Some parameters
   if(nboftimebin > 0) fTimeMax = nboftimebin;
-  else fTimeMax = cal->GetNumberOfTimeBins();
+  else fTimeMax = cal->GetNumberOfTimeBinsDCS();
+  if(fTimeMax <= 0) fTimeMax = 30;
   fSf                 = parCom->GetSamplingFrequency();
   if(!fNormalizeNbOfCluster) fRelativeScale = 20.0;
   else fRelativeScale = 1.18;
@@ -2304,6 +2305,8 @@ Int_t AliTRDCalibraFillHisto::ProcessEventDAQ(AliTRDrawStreamBase *rawStream, Bo
   // 2 input
   // Same algorithm as TestBeam but different reader
   //
+
+  rawStream->SetSharedPadReadout(kFALSE);
   
   Int_t withInput = 1;
   
@@ -3189,3 +3192,4 @@ void AliTRDCalibraFillHisto::AnalyseLinearFitter()
     }
   }
 }
+