Possibility to getthe data from zip file
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Feb 2008 13:01:18 +0000 (13:01 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Feb 2008 13:01:18 +0000 (13:01 +0000)
TPC/macros/tpc_tracks.C

index 688111c..629e612 100644 (file)
@@ -7,8 +7,21 @@ class TEveElementList;
 TEveProjectionManager  * proj = 0;
 TEveGeoShape * geom = 0;
 
-void tpc_tracks()
+void tpc_tracks(const char *input=0)
 {
+  //
+  //
+  //
+  if (input){
+    TString ipath(input);
+    if (ipath.Contains(".zip")){
+      char command[1000];
+      sprintf(command,"xrdcp %s in.zip",input);
+      gSystem->Exec(command);
+      gSystem->Exec("unzip in.zip");
+    }
+  }
+
   TEveUtil::LoadMacro("alieve_init.C");
   alieve_init(".", -1);