ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/ElectronStudies/src/ZeeTreeWriterArgs.cc
(Generate patch)

Comparing UserCode/MitHzz4l/ElectronStudies/src/ZeeTreeWriterArgs.cc (file contents):
Revision 1.3 by anlevin, Wed Jul 18 12:35:13 2012 UTC vs.
Revision 1.4 by anlevin, Thu Jul 26 22:41:07 2012 UTC

# Line 20 | Line 20 | void parse_zee_tree_writer_args(int argc
20        {"output_filename",        1, 0, 'e'},
21        {"is_data",        1, 0, 'f'},
22        {"n_events_to_process",    1, 0, 'g'},
23 +      {"rho",    1, 0, 'h'},
24        {0, 0, 0, 0}
25      };
26      
# Line 57 | Line 58 | void parse_zee_tree_writer_args(int argc
58      case 'g':
59        flags.n_events_to_process = atoi(optarg);
60        break;
61 +    case 'h':
62 +      flags.rho = string(optarg);
63 +      break;
64      case '2':
65        if (digit_optind != 0 && digit_optind != this_option_optind)
66          printf ("digits occur in two different argv-elements.\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines