Added global TPCLoader* tpc_loader.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Aug 2006 14:51:35 +0000 (14:51 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Aug 2006 14:51:35 +0000 (14:51 +0000)
EVE/test-macros/tpc_gui.C

index 88a84a253b05a8e3c74b01662a9e707096b1af89..f20154b6f2ec43a2839bfde796f844bba584e2eb 100644 (file)
@@ -31,11 +31,13 @@ class TPCSector3D;
 
 using namespace Alieve;
 
+TPCLoader* tpc_loader = 0;
+
 void tpc_gui(const char *file=0, Int_t ievent=0)
 {
   gStyle->SetPalette(1, 0);
 
-  TPCLoader* l = new TPCLoader;
+  TPCLoader* l = tpc_loader = new TPCLoader;
   TPCData*   d = new TPCData;
   // d->SetLoadPedestal(5);
   d->SetLoadThreshold(5);