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 c651162..58dd769 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 34d6829..62d75a4 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;
 }