From 307fb41eda6991986a40ad14e388bf6b1226e446 Mon Sep 17 00:00:00 2001 From: hadaq Date: Mon, 3 Aug 2015 17:05:10 +0200 Subject: [PATCH] status after sucessful beamtime, mt --- users/gsi_dirc/readout.pl | 81 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100755 users/gsi_dirc/readout.pl diff --git a/users/gsi_dirc/readout.pl b/users/gsi_dirc/readout.pl new file mode 100755 index 0000000..7c02426 --- /dev/null +++ b/users/gsi_dirc/readout.pl @@ -0,0 +1,81 @@ +#!/usr/bin/perl +use warnings; +use strict; +use Getopt::Long; + +my $help = ""; +my $dataPath = "/d/june2015/"; +my $label = "test"; +my $time = -1; +my $name = "cc"; +my $old; +my $c; + +my $result = GetOptions ( + "h|help" => \$help, + "o|old" => \$old, + "t|time=i" => \$time, + "l|label=s" => \$label, + "n|filename=s" => \$name, + "p|path=s" => \$dataPath + ); + +if($help) { + print "Usage: start_readout.pl