]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
GetGeometry is needed to create the correct geometry instance
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 5 Mar 2006 17:56:13 +0000 (17:56 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 5 Mar 2006 17:56:13 +0000 (17:56 +0000)
EMCAL/AliEMCAL.cxx

index 49d4552a2f8789fc113252803a039588edae100f..c622300f95e4e1c98d3b6e63c721e8fa8bd81bd7 100644 (file)
@@ -322,6 +322,7 @@ void AliEMCAL::Digits2Raw()
 void AliEMCAL::Raw2Digits(AliRawReader* reader)
 {
   // convert raw data of the current event to digits
+  GetGeometry();
   AliEMCALLoader * loader = dynamic_cast<AliEMCALLoader*>(fLoader) ; 
 
   // get the digits
@@ -488,6 +489,7 @@ void AliEMCAL::Hits2SDigits()
 { 
 // create summable digits
 
+  GetGeometry();
   AliEMCALSDigitizer emcalDigitizer(fLoader->GetRunLoader()->GetFileName().Data()) ;
   emcalDigitizer.SetEventRange(0, -1) ; // do all the events
   emcalDigitizer.ExecuteTask() ;