]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix: display reset before all block, not esd even block
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Nov 2010 19:08:07 +0000 (19:08 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Nov 2010 19:08:07 +0000 (19:08 +0000)
EVE/EveHLT/AliEveHLTEventManager.cxx

index ec820f0d4b31caf0e2da0cfab0a3eb4fb3acacb2..522f37526605b771ee667897986149f6c54b091d 100644 (file)
@@ -158,8 +158,6 @@ Int_t AliEveHLTEventManager::ProcessEvent(AliESDEvent * event) {
   
   cout << "reset()"<<endl;
   
-  ResetDisplay();
-  
   cout << "process()"<<endl;
   if(!fHLTElement) {
     fHLTElement = new AliHLTEveHLT();
@@ -173,9 +171,6 @@ Int_t AliEveHLTEventManager::ProcessEvent(AliESDEvent * event) {
   
   if(!fEmcalElement) CreateEmcalElement();
   fEmcalElement->ProcessEvent(event);
-  
-  cout << "update()"<<endl;
-  UpdateDisplay();
 
   gEve->Redraw3D(0, 1);
   gEve->EnableRedraw();
@@ -196,6 +191,10 @@ Int_t AliEveHLTEventManager::ProcessEvent(TList * blockList) {
     return -1;
   }
  
+    
+  ResetDisplay();
+  
+
   AliHLTHOMERBlockDesc * block = NULL;
   TIter next(blockList);
   while ((block = (AliHLTHOMERBlockDesc*)next())) {
@@ -203,6 +202,11 @@ Int_t AliEveHLTEventManager::ProcessEvent(TList * blockList) {
     ProcessBlock(block);
   } 
   
+  
+  cout << "update()"<<endl;
+  UpdateDisplay();
+
+
   return 0;
 
 }