Added event ID in filename of screen images
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Apr 2010 10:20:25 +0000 (10:20 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Apr 2010 10:20:25 +0000 (10:20 +0000)
EVE/EveHLT/AliEveHOMERManager.cxx
EVE/EveHLT/AliEveHOMERManagerEditor.cxx

index 36955d1..3de1ab1 100644 (file)
@@ -537,9 +537,9 @@ void AliEveHOMERManager::ResetDisplay () {
 void AliEveHOMERManager::PrintScreens() {
   //See header file for documentation
 
-  fEveManager->GetDefaultGLViewer()->SavePicture("3D.gif");
-  fRhoZViewer->GetGLViewer()->SavePicture("RhoZ.gif");
-  fRPhiViewer->GetGLViewer()->SavePicture("RPhi.gif");
+  fEveManager->GetDefaultGLViewer()->SavePicture(Form("0x%016X_3D.gif", GetEventID()));
+  fRhoZViewer->GetGLViewer()->SavePicture(Form("0x%016X_RhoZ.gif", GetEventID()));
+  fRPhiViewer->GetGLViewer()->SavePicture(Form("0x%016X_RPhi.gif", GetEventID()));
 
 }
 
index 43b0dc6..5be4242 100644 (file)
@@ -73,6 +73,12 @@ TGedFrame(p, width, height, options | kVerticalFrame, back),
   AddFrame(fButtonNavigateFwd); //, new TGLayoutHints(...));
   fButtonNavigateFwd->Connect("Clicked()", "AliEveHOMERManagerEditor", this, "NavigateFwd()");
 
+
+  fButtonPrintScreens = new TGTextButton(this, "  Save Viewers  ");
+  AddFrame(fButtonPrintScreens); //, new TGLayoutHints(...));
+  fButtonPrintScreens->Connect("Clicked()", "AliEveHOMERManagerEditor", this, "PrintScreens()");
+
+
   fBoxTriggerSelector = new TGComboBox(this, "Select Trigger");
   fBoxTriggerSelector->AddEntry("HLT Global Trigger", 0);
   fBoxTriggerSelector->AddEntry("Barrel multiplicity trigger", 1);
@@ -87,11 +93,6 @@ TGedFrame(p, width, height, options | kVerticalFrame, back),
   AddFrame(fButtonEventLoopText); //, new TGLayoutHints(...));
   fButtonEventLoopText->Connect("Clicked()", "AliEveHOMERManagerEditor", this, "EventLoop()");
 
-
-  fButtonPrintScreens = new TGTextButton(this, "  Save Viewers  ");
-  AddFrame(fButtonPrintScreens); //, new TGLayoutHints(...));
-  fButtonPrintScreens->Connect("Clicked()", "AliEveHOMERManagerEditor", this, "PrintScreens()");
-
   fButtonEventLoop = new TGPictureButton(this, gClient->GetPicture("$ALICE_ROOT/EVE/hlt-macros/HLT-logo.png"));
   AddFrame(fButtonEventLoop); //, new TGLayoutHints(...));
   fButtonEventLoop->Connect("Clicked()", "AliEveHOMERManagerEditor", this, "EventLoop()");