File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
common-tools/clas-detector/src/main/java/org/jlab/detector/decode Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -679,6 +679,7 @@ public static void main(String[] args){
679679 parser .addOption ("-t" , "-0.5" ,"torus current in the header bank" );
680680 parser .addOption ("-s" , "0.5" ,"solenoid current in the header bank" );
681681 parser .addOption ("-x" , null ,"CCDB timestamp (MM/DD/YYYY-HH:MM:SS)" );
682+ parser .addOption ("-v" ,"default" ,"CCDB variation" );
682683
683684 parser .parse (args );
684685
@@ -735,9 +736,10 @@ public static void main(String[] args){
735736 decoder .setRunNumber (nrun ,true );
736737 }
737738
738- if (parser .getOption ("-x" ).getValue () != null ) {
739+ if (parser .getOption ("-x" ).getValue () != null )
739740 decoder .detectorDecoder .setTimestamp (parser .getOption ("-x" ).stringValue ());
740- }
741+ if (parser .getOption ("-v" ).getValue () != null )
742+ decoder .detectorDecoder .setVariation (parser .getOption ("-v" ).stringValue ());
741743
742744 // Store all helicity readings, ordered by timestamp:
743745 TreeSet <HelicityState > helicityReadings = new TreeSet <>();
You can’t perform that action at this time.
0 commit comments