Exemple #1
0
                     required=False,
                     help='version of lumi norm/correction')
 parser.add_argument('--datatag',dest='datatag',action='store',
                     required=False,
                     help='version of lumi/trg/hlt data')
 ###############################################
 # run filters
 ###############################################
 parser.add_argument('-f','--fill',dest='fillnum',action='store',
                     default=None,required=False,
                     help='fill number (optional) ')
 
 parser.add_argument('--begin',dest='begin',action='store',
                     default=None,
                     required=False,
                     type=RegexValidator.RegexValidator("^\d\d/\d\d/\d\d \d\d:\d\d:\d\d$|^\d{6}$|^\d{4}$","wrong format"),
                     help='min run start time (mm/dd/yy hh:mm:ss),min fill or min run'
                     ) 
 parser.add_argument('--end',dest='end',action='store',
                     required=False,
                     type=RegexValidator.RegexValidator("^\d\d/\d\d/\d\d \d\d:\d\d:\d\d$|^\d{6}$|^\d{4}$","wrong format"),
                     help='max run start time (mm/dd/yy hh:mm:ss),max fill or max run'
                     )
 parser.add_argument('--minBiasXsec',dest='minbiasxsec',action='store',
                     default=69300.0,
                     type=float,
                     required=False,
                     help='minbias cross-section in ub'
                     )
 #############################################
 #global scale factor
Exemple #2
0
                     action='store',
                     type=float,
                     default=3500,
                     help='beamenergy (in GeV) selection criteria')
 parser.add_argument('--beamfluctuation',
                     dest='beamfluctuation',
                     action='store',
                     type=float,
                     default=0.2,
                     help='allowed fraction of beamenergy to fluctuate')
 parser.add_argument('--begin',
                     dest='begintime',
                     action='store',
                     default='03/01/10 00:00:00',
                     type=RegexValidator.RegexValidator(
                         "^\d\d/\d\d/\d\d \d\d:\d\d:\d\d$",
                         "must be form mm/dd/yy hh:mm:ss"),
                     help='min run start time,mm/dd/yy hh:mm:ss')
 parser.add_argument('--end',
                     dest='endtime',
                     action='store',
                     type=RegexValidator.RegexValidator(
                         "^\d\d/\d\d/\d\d \d\d:\d\d:\d\d$",
                         "must be form mm/dd/yy hh:mm:ss"),
                     help='max run start time,mm/dd/yy hh:mm:ss')
 #
 #frontier config options
 #
 parser.add_argument(
     '--siteconfpath',
     dest='siteconfpath',