Exemplo n.º 1
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument('-m', '--mass', required=True)
     group.add_argument('-d', '--datacard', required=True)
     group.add_argument('--redefineSignalPOIs')
     group.add_argument('--setPhysicsModelParameters')
     group.add_argument('--name', '-n', default='Test')
Exemplo n.º 2
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--named',
                        metavar='PARAM1,PARAM2,...',
                        help=""" By
         default the list of nuisance parameters will be loaded from the
         input workspace. Use this option to specify a different list""")
     group.add_argument('--exclude',
                        metavar='PARAM1,PARAM2,...',
                        help=""" Skip
         these nuisances""")
     group.add_argument('--doInitialFit',
                        action='store_true',
                        help="""Find
         the crossings of all the POIs. Must have the output from this
         before running with --doFits""")
     group.add_argument('--splitInitial',
                        action='store_true',
                        help="""In
         the initial fits generate separate jobs for each POI""")
     group.add_argument('--doFits',
                        action='store_true',
                        help="""Actually
         run the fits for the nuisance parameter impacts, otherwise just
         looks for the results""")
     group.add_argument('--allPars',
                        action='store_true',
                        help="""Run the
         impacts for all free parameters of the model, not just those
         listed as nuisance parameters""")
     group.add_argument('--output',
                        '-o',
                        help="""write output json to a
         file""")
Exemplo n.º 3
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--opts',
                        nargs='+',
                        default=[],
                        help='Add preset combine option groups')
     group.add_argument(
         '--there',
         action='store_true',
         help='Run combine in the same directory as the workspace')
     group.add_argument(
         '--split-points',
         type=int,
         default=0,
         help=
         'When used in conjunction with --points will create multiple combine calls that each run at most the number of points specified here.'
     )
     group.add_argument(
         '--boundlist',
         help=
         'Name of json-file which contains the ranges of physical parameters depending on the given mass and given physics model'
     )
     group.add_argument('--generate',
                        nargs='*',
                        default=[],
                        help='Generate sets of options')
Exemplo n.º 4
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('input',
                        nargs='+',
                        default=[],
                        help='The input files')
     group.add_argument('-o',
                        '--output',
                        nargs='?',
                        const='limits.json',
                        default='limits.json',
                        help="""The name of the output json file.
         When the --use-dirs option is set the enclosing directory name
         will be appended to the filename given here.""")
     group.add_argument(
         '--use-dirs',
         action='store_true',
         help="""Use the directory structure to create multiple limit
              outputs and to set the output file names""")
     group.add_argument('--toys',
                        action='store_true',
                        help="""Collect toy values""")
     group.add_argument(
         '--limit-err',
         action='store_true',
         help="""Also store the uncertainties on the limit""")
Exemplo n.º 5
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument('-m', '--mass', required=True)
     group.add_argument('-d', '--datacard', required=True)
     group.add_argument('--redefineSignalPOIs')
     group.add_argument('--setPhysicsModelParameters')
     group.add_argument('--name', '-n', default='Test')
Exemplo n.º 6
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--config',
                        help=('json configuration file'))
     group.add_argument('--order', type=int, default=2,
                        help=('Taylor expand up to and including this order'))
     group.add_argument('--cross-order', type=int, default=2,
                        help=('Taylor expand up to and including this order for the cross-order terms'))
     group.add_argument('--choose-POIs', default=None,
                        help=('Explict list POIs to expand in'))
     group.add_argument('--do-fits', action='store_true',
                        help=('Actually do the fits'))
     group.add_argument('--test-mode', type=int, default=0,
                        help=('Test on the workspace'))
     group.add_argument('--save', default=None,
                        help=('Save results to a json file'))
     group.add_argument('--load', default=None,
                        help=('Load results from a json file'))
     group.add_argument('--stencil-add', type=int, default=0,
                        help=('Add additional points to each stencil'))
     group.add_argument('--stencil-min', type=int, default=3,
                        help=('Minimum number of points in stencil'))
     group.add_argument('--drop-threshold', type=float, default=0.,
                        help=('Drop contributions below this threshold'))
     group.add_argument('--multiple', type=int, default=1,
                        help=('Run multiple fixed points in one combine job'))
     group.add_argument('--workspace-bestfit', action='store_true',
                        help=('Update the best-fit using the workspace snapshot'))
Exemplo n.º 7
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     # group.add_argument('--offset', default=0, type=int,
     #     help='Start the loop over parameters with this offset (default: %(default)s)')
     # group.add_argument('--advance', default=1, type=int,
     #     help='Advance this many parameters each step in the loop (default: %(default)s')
     group.add_argument(
         '--named',
         metavar='PARAM1,PARAM2,...',
         help=
         ('By default the list of nuisance parameters will be loaded from the input workspace. '
          'Use this option to specify a different list'))
     group.add_argument(
         '--doInitialFit',
         action='store_true',
         help=
         ('Find the crossings of all the POIs. Must have the output from this before running with --doFits'
          ))
     group.add_argument(
         '--splitInitial',
         action='store_true',
         help=('In the initial fits generate separate jobs for each POI'))
     group.add_argument(
         '--doFits',
         action='store_true',
         help=
         ('Actually run the fits for the nuisance parameter impacts, otherwise just looks for the results'
          ))
     group.add_argument('--output',
                        '-o',
                        help=('write output json to a file'))
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument(
         '--opts', nargs='+', default=[], help='Add preset combine option groups')
     group.add_argument(
         '--there', action='store_true', help='Run combine in the same directory as the workspace')
     group.add_argument('--split-points', type=int, default=0,
                        help='When used in conjunction with --points will create multiple combine calls that each run at most the number of points specified here.')
Exemplo n.º 9
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument(
         '-m', '--mass', help='Supports range strings for multiple masses, e.g. "120:130:5,140 will produce three combine calls with mass values of 120, 125, 130 and 140"')
     group.add_argument(
         '--points', help='For use with "-M MultiDimFit --algo grid" to split scan points into separate jobs')
     group.add_argument('--name', '-n', default='.Test',
                        help='Name used to label the combine output file, can be modified by other options')
Exemplo n.º 10
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument(
         'input', help='The input specified as FILE:WORKSPACE:DATASET or FILE:WORKSPACE')
     group.add_argument(
         'output', help='The output specified as FILE:WORKSPACE:DATASET or FILE:WORKSPACE')
     group.add_argument(
         '-d', '--data', help='Source data from other file, either FILE:WORKSPACE:DATA or FILE:DATA')
Exemplo n.º 11
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('-w', '--workspace', required=True)
     group.add_argument('-d', '--data')
     group.add_argument('-f', '--fitres')
     group.add_argument('--match')
     group.add_argument('--no-match')
     group.add_argument('-o', '--output', default='nll')
     group.add_argument('-p', '--points', default=200, type=int)
Exemplo n.º 12
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('-w', '--workspace', required=True)
     group.add_argument('-d', '--data')
     group.add_argument('-f', '--fitres')
     group.add_argument('--match')
     group.add_argument('--no-match')
     group.add_argument('-o', '--output', default='nll')
     group.add_argument('-p', '--points', default=200, type=int)
Exemplo n.º 13
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('input', help='The input file')
     group.add_argument(
         '--algo', help='The algo used in MultiDimFit', default='none')
     group.add_argument(
         '-P', '--POIs', help='The params that were scanned (in scan order)')
     group.add_argument(
         '--json', help='Write json output (format file.json:key1:key2..')
Exemplo n.º 14
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('config', help='json config file')
     group.add_argument('--cycles',
                        default=0,
                        type=int,
                        help='Number of job cycles to create per point')
     group.add_argument('--output',
                        action='store_true',
                        help='Write CLs grids into an output file')
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument(
         '--opts', nargs='+', default=[], help='Add preset combine option groups')
     group.add_argument(
         '--there', action='store_true', help='Run combine in the same directory as the workspace')
     group.add_argument('--split-points', type=int, default=0,
                        help='When used in conjunction with --points will create multiple combine calls that each run at most the number of points specified here.')
     group.add_argument(
         '--boundlist', help='Name of json-file which contains the ranges of physical parameters depending on the given mass and given physics model')
Exemplo n.º 16
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('-i', '--input', nargs='+', default=[],
                        help='The input file containing the MultiDimFit singles mode output')
     group.add_argument(
         '-o', '--output', help='The output name in the format file:prefix')
     group.add_argument(
         '-P', '--POIs', help='The params that were scanned (in scan order)')
     group.add_argument(
         '--POIs-from-set', help='Extract from file:workspace:set instead')
     group.add_argument('--compare', help='Compare to RooFitResult')
Exemplo n.º 17
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('input', help='The input file')
     group.add_argument('--algo',
                        help='The algo used in MultiDimFit',
                        default='none')
     group.add_argument('-P',
                        '--POIs',
                        help='The params that were scanned (in scan order)')
     group.add_argument(
         '--json', help='Write json output (format file.json:key1:key2..')
Exemplo n.º 18
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--input', nargs='+', default=[], help='The input files')
     group.add_argument(
         '-o', '--output', nargs='?', const='gof.json',
         default='gof.json', help="""The name of the output json file.
         When the --use-dirs option is set the enclosing directory name
         will be appended to the filename given here.""")
     group.add_argument(
         '--use-dirs', action='store_true',
         help="""Use the directory structure to create multiple limit
              outputs and to set the output file names""")
Exemplo n.º 19
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument(
         '-m', '--mass', help='Supports range strings for multiple masses, e.g. "120:130:5,140 will produce three combine calls with mass values of 120, 125, 130 and 140"')
     group.add_argument(
         '--points', help='For use with "-M MultiDimFit --algo grid" to split scan points into separate jobs')
     group.add_argument(
         '--singlePoint', help='Supports range strings for multiple points to test, uses the same format as the --mass argument')
     group.add_argument(
         '--boundlist', help='Name of json-file which contains the ranges of physical parameters depending on the given mass and given physics model')
     group.add_argument('--name', '-n', default='.Test',
                        help='Name used to label the combine output file, can be modified by other options')
Exemplo n.º 20
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--config', help=('json configuration file'))
     group.add_argument(
         '--order',
         type=int,
         default=2,
         help=('Taylor expand up to and including this order'))
     group.add_argument(
         '--cross-order',
         type=int,
         default=2,
         help=
         ('Taylor expand up to and including this order for the cross-order terms'
          ))
     group.add_argument('--choose-POIs',
                        default=None,
                        help=('Explict list POIs to expand in'))
     group.add_argument('--do-fits',
                        action='store_true',
                        help=('Actually do the fits'))
     group.add_argument('--test-mode',
                        type=int,
                        default=0,
                        help=('Test on the workspace'))
     group.add_argument('--save',
                        default=None,
                        help=('Save results to a json file'))
     group.add_argument('--load',
                        default=None,
                        help=('Load results from a json file'))
     group.add_argument('--stencil-add',
                        type=int,
                        default=0,
                        help=('Add additional points to each stencil'))
     group.add_argument('--stencil-min',
                        type=int,
                        default=3,
                        help=('Minimum number of points in stencil'))
     group.add_argument('--drop-threshold',
                        type=float,
                        default=0.,
                        help=('Drop contributions below this threshold'))
     group.add_argument(
         '--multiple',
         type=int,
         default=1,
         help=('Run multiple fixed points in one combine job'))
     group.add_argument(
         '--workspace-bestfit',
         action='store_true',
         help=('Update the best-fit using the workspace snapshot'))
 def attach_args(self, group):
   CombineToolBase.attach_args(self, group)
   # group.add_argument('--offset', default=0, type=int,
   #     help='Start the loop over parameters with this offset (default: %(default)s)')
   # group.add_argument('--advance', default=1, type=int,
   #     help='Advance this many parameters each step in the loop (default: %(default)s')
   group.add_argument('--input-json',
       help=('json file and dictionary containing the fit values, of form file:key1:key2..'))
   group.add_argument('--do-fits', action='store_true',
       help=('Actually do the fits'))
   group.add_argument('--cov-method', choices=['full', 'asymm'], default='full')
   group.add_argument('--cor-method', choices=['full', 'asymm', 'average'], default='full')
   group.add_argument('--asymm-vals', default='')
   group.add_argument('--do-generic', action='store_true')
Exemplo n.º 22
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('-i', '--input', nargs='+', help=""" A list of
         input datacards and directories. For the latter, all .txt files
         within the directory will be combined. If the -m option has not
         been specified and the enclosing directory is a number, this will
         be taken as the mass value to set. """)
     group.add_argument('--cc', nargs='?', const=self.default_card,
                        default=None, help=""" Create a combined datacard
         with a specified name from the individual cards given by the -i
         option. Note that if this option is used without an argument a
         default card name will be used. For directory arguments in -i, the
         cards will be combined regardless of whether --cc is specified,
         but can still be used to set the name of the combined card that is
         created. """)
Exemplo n.º 23
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('-i', '--input', nargs='+', help=""" A list of
         input datacards and directories. For the latter, all .txt files
         within the directory will be combined. If the -m option has not
         been specified and the enclosing directory is a number, this will
         be taken as the mass value to set. """)
     group.add_argument('--cc', nargs='?', const=self.default_card,
                        default=None, help=""" Create a combined datacard
         with a specified name from the individual cards given by the -i
         option. Note that if this option is used without an argument a
         default card name will be used. For directory arguments in -i, the
         cards will be combined regardless of whether --cc is specified,
         but can still be used to set the name of the combined card that is
         created. """)
Exemplo n.º 24
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('config', help='json config file')
     group.add_argument('--cycles',
                        default=0,
                        type=int,
                        help='Number of job cycles to create per point')
     group.add_argument('--output',
                        action='store_true',
                        help='Write CLs grids into an output file')
     group.add_argument(
         '--from-asymptotic',
         default=None,
         help=
         'JSON file which will be used to create a limit grid automatically'
     )
Exemplo n.º 25
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument(
         '-m', '--mass', help='Supports range strings for multiple masses, e.g. "120:130:5,140 will produce three combine calls with mass values of 120, 125, 130 and 140"')
     group.add_argument(
         '--points', help='For use with "-M MultiDimFit --algo grid" to split scan points into separate jobs')
     group.add_argument(
         '--singlePoint', help='Supports range strings for multiple points to test, uses the same format as the --mass argument')
     group.add_argument(
         '-s', '--seed', help='Supports range strings for multiple RNG seeds, uses the same format as the --mass argument')
     group.add_argument(
         '-d', '--datacard', nargs='*', default=[], help='Operate on multiple datacards')
     group.add_argument('--name', '-n', default='.Test',
                        help='Name used to label the combine output file, can be modified by other options')
     group.add_argument(
         '--setPhysicsModelParameterRanges', help='Some other options will modify or add to the list of parameter ranges')
Exemplo n.º 26
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument(
         '-m', '--mass', help='Supports range strings for multiple masses, e.g. "120:130:5,140 will produce three combine calls with mass values of 120, 125, 130 and 140"')
     group.add_argument(
         '--points', help='For use with "-M MultiDimFit --algo grid" to split scan points into separate jobs')
     group.add_argument(
         '--singlePoint', help='Supports range strings for multiple points to test, uses the same format as the --mass argument')
     group.add_argument(
         '-s', '--seed', help='Supports range strings for multiple RNG seeds, uses the same format as the --mass argument')
     group.add_argument(
         '-d', '--datacard', nargs='*', default=[], help='Operate on multiple datacards')
     group.add_argument('--name', '-n', default='.Test',
                        help='Name used to label the combine output file, can be modified by other options')
     group.add_argument(
         '--setPhysicsModelParameterRanges', help='Some other options will modify or add to the list of parameter ranges')
Exemplo n.º 27
0
 def attach_args(self, group):
   CombineToolBase.attach_args(self, group)
   # group.add_argument('--offset', default=0, type=int,
   #     help='Start the loop over parameters with this offset (default: %(default)s)')
   # group.add_argument('--advance', default=1, type=int,
   #     help='Advance this many parameters each step in the loop (default: %(default)s')
   group.add_argument('--named', metavar='PARAM1,PARAM2,...',
       help=('By default the list of nuisance parameters will be loaded from the input workspace. '
             'Use this option to specify a different list'))
   group.add_argument('--doInitialFit', action='store_true',
       help=('Find the crossings of all the POIs. Must have the output from this before running with --doFits'))
   group.add_argument('--splitInitial', action='store_true',
       help=('In the initial fits generate separate jobs for each POI'))
   group.add_argument('--doFits', action='store_true',
       help=('Actually run the fits for the nuisance parameter impacts, otherwise just looks for the results'))
   group.add_argument('--output', '-o',
       help=('write output json to a file'))
Exemplo n.º 28
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--opts',
                        nargs='+',
                        default=[],
                        help='Add preset combine option groups')
     group.add_argument(
         '--there',
         action='store_true',
         help='Run combine in the same directory as the workspace')
     group.add_argument(
         '--split-points',
         type=int,
         default=0,
         help=
         'When used in conjunction with --points will create multiple combine calls that each run at most the number of points specified here.'
     )
Exemplo n.º 29
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument(
         '-i',
         '--input',
         nargs='+',
         default=[],
         help='The input file containing the MultiDimFit singles mode output'
     )
     group.add_argument('-o',
                        '--output',
                        help='The output name in the format file:prefix')
     group.add_argument('-P',
                        '--POIs',
                        help='The params that were scanned (in scan order)')
     group.add_argument('--POIs-from-set',
                        help='Extract from file:workspace:set instead')
     group.add_argument('--compare', help='Compare to RooFitResult')
Exemplo n.º 30
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--named', metavar='PARAM1,PARAM2,...', help=""" By
         default the list of nuisance parameters will be loaded from the
         input workspace. Use this option to specify a different list""")
     group.add_argument('--doInitialFit', action='store_true', help="""Find
         the crossings of all the POIs. Must have the output from this
         before running with --doFits""")
     group.add_argument('--splitInitial', action='store_true', help="""In
         the initial fits generate separate jobs for each POI""")
     group.add_argument('--doFits', action='store_true', help="""Actually
         run the fits for the nuisance parameter impacts, otherwise just
         looks for the results""")
     group.add_argument('--allPars', action='store_true', help="""Run the
         impacts for all free parameters of the model, not just those
         listed as nuisance parameters""")
     group.add_argument('--output', '-o', help="""write output json to a
         file""")
Exemplo n.º 31
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('--named', metavar='PARAM1,PARAM2,...', help=""" By
         default the list of nuisance parameters will be loaded from the
         input workspace. Use this option to specify a different list""")
     group.add_argument('--exclude', metavar='PARAM1,PARAM2,...', help=""" Skip
         these nuisances. Also accepts regexp with syntax 'rgx{<my regexp>}'""")
     group.add_argument('--doInitialFit', action='store_true', help="""Find
         the crossings of all the POIs. Must have the output from this
         before running with --doFits""")
     group.add_argument('--splitInitial', action='store_true', help="""In
         the initial fits generate separate jobs for each POI""")
     group.add_argument('--doFits', action='store_true', help="""Actually
         run the fits for the nuisance parameter impacts, otherwise just
         looks for the results""")
     group.add_argument('--allPars', action='store_true', help="""Run the
         impacts for all free parameters of the model, not just those
         listed as nuisance parameters""")
     group.add_argument('--output', '-o', help="""write output json to a
         file""")
     group.add_argument('--approx', default=None, choices=['hesse', 'robust'],
         help="""Calculate impacts using the covariance matrix instead""")
     group.add_argument('--noInitialFit', action='store_true', default=False, help="""Do not look for results from the initial Fit""")
Exemplo n.º 32
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('config', help='json config file')
Exemplo n.º 33
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument('--setPhysicsModelParameters', default=None)
     group.add_argument('--freezeNuisances', default=None)
 def attach_intercept_args(self, group):
   CombineToolBase.attach_intercept_args(self, group)
   group.add_argument('--name', '-n', default='Test')
   group.add_argument('-m', '--mass', required=True)
Exemplo n.º 35
0
 def set_args(self, known, unknown):
     CombineToolBase.set_args(self, known, unknown)
Exemplo n.º 36
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument(
         '-i', '--input', nargs='+', default=[], help='The input files')
     group.add_argument(
         '-o', '--output', help='The name of the output json file')
Exemplo n.º 37
0
 def set_args(self, known, unknown):
     CombineToolBase.set_args(self, known, unknown)
     if hasattr(self.args, 'opts'):
         for opt in self.args.opts:
             self.passthru.append(OPTS[opt])
Exemplo n.º 38
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument(
         'input', help='The input specified as FILE:WORKSPACE')
Exemplo n.º 39
0
 def set_args(self, known, unknown):
     CombineToolBase.set_args(self, known, unknown)
Exemplo n.º 40
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument('--name', '-n', default='Test')
     group.add_argument('-m', '--mass', required=True)
     group.add_argument('-d', '--datacard', required=True)
Exemplo n.º 41
0
 def __init__(self):
     CombineToolBase.__init__(self)
     self.nll = None
Exemplo n.º 42
0
 def attach_intercept_args(self, group):
   CombineToolBase.attach_intercept_args(self, group)
Exemplo n.º 43
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument(
         '-m', '--mass', help="""
         The mass value to set in the text2workspace.py call""")
Exemplo n.º 44
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
Exemplo n.º 45
0
 def __init__(self):
     CombineToolBase.__init__(self)
     self.nll = None
Exemplo n.º 46
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument(
         '-m', '--mass', help="""
         The mass value to set in the text2workspace.py call""")
Exemplo n.º 47
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('input', help='The input file')
     group.add_argument(
         '-P', '--POIs', help='The params that were scanned (in scan order)')
Exemplo n.º 48
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('config', help='json config file')
     group.add_argument('--cycles', default=0, type=int, help='Number of job cycles to create per point')
     group.add_argument('--output', action='store_true', help='Write CLs grids into an output file')
Exemplo n.º 49
0
 def attach_args(self, group):
     CombineToolBase.attach_args(self, group)
     group.add_argument('config', help='json config file')
     group.add_argument('--cycles', default=0, type=int, help='Number of job cycles to create per point')
     group.add_argument('--output', action='store_true', help='Write CLs grids into an output file')
     group.add_argument('--from-asymptotic', default=None, help='JSON file which will be used to create a limit grid automatically')
Exemplo n.º 50
0
 def __init__(self):
     CombineToolBase.__init__(self)
Exemplo n.º 51
0
 def attach_intercept_args(self, group):
   CombineToolBase.attach_intercept_args(self, group)
   group.add_argument('--setPhysicsModelParameters', default=None)
   group.add_argument('--freezeNuisances', default=None)
Exemplo n.º 52
0
 def __init__(self):
     CombineToolBase.__init__(self)
Exemplo n.º 53
0
 def attach_args(self, group):
   CombineToolBase.attach_args(self, group)
   group.add_argument('config', help='json config file')
Exemplo n.º 54
0
 def set_args(self, known, unknown):
     CombineToolBase.set_args(self, known, unknown)
     if hasattr(self.args, 'opts'):
         for opt in self.args.opts:
             self.passthru.append(OPTS[opt])
Exemplo n.º 55
0
 def attach_intercept_args(self, group):
     CombineToolBase.attach_intercept_args(self, group)
     group.add_argument('--setParameters', default=None)
     group.add_argument('--freezeParameters', default=None)