]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
initialisation of all TPC rows moved to DoInit()
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jun 2012 13:32:17 +0000 (13:32 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jun 2012 13:32:17 +0000 (13:32 +0000)
HLT/TPCLib/AliHLTTPCHWClusterTransformComponent.cxx
HLT/TPCLib/transform/AliHLTTPCFastTransform.cxx

index c651162ec564b69678a544b5d05da59911e2b44c..58dd76947f7858dc97e765bcd32313bf882c5725 100644 (file)
@@ -173,7 +173,7 @@ int AliHLTTPCHWClusterTransformComponent::DoEvent(const AliHLTComponentEventData
   fBenchmark.StartNewEvent();
   fBenchmark.Start(0);
 
-  fTransform.SetCurrentTimeStamp( GetTimeStamp() );
+  // fTransform.SetCurrentTimeStamp( GetTimeStamp() ); !!! for the future
   
   for( unsigned long ndx=0; ndx<evtData.fBlockCnt; ndx++ ){
      
index 34d6829bbf069fc89ab36e30515e1524b1f68bf6..62d75a49e93489632c4cc808926fe4f0070505d4 100644 (file)
@@ -94,6 +94,20 @@ Int_t  AliHLTTPCFastTransform::Init( AliTPCTransform *transform, Int_t TimeStamp
   }
 
   SetCurrentTimeStamp( TimeStamp );
+
+  // at the moment initialise all the rows
+
+  AliTPCcalibDB* pCalib=AliTPCcalibDB::Instance();  
+  if(!pCalib ) return 1;
+  AliTPCParam *par = pCalib->GetParameters(); 
+  if( !par ) return 1;
+  
+  for( int iSector=0; iSector<par->GetNSector(); iSector++ ){
+    for( int iRow=0; iRow<par->GetNRow(iSector); iRow++){
+      InitRow( iSector, iRow );
+    }
+  }
+  
   return 0;
 }