Skip to content
Snippets Groups Projects

Recent updates for ATLAS+CMS combination

Merged Yizhou Cai requested to merge UpdatesForCMS into master
All threads resolved!
  • Improve discrete minimization to skip the final fit
  • Support CMS workspace in xml_ws_combiner.py by both RooSimultaneousOpt and RooSimultaneous
  • Speed up log
  • Implement discrete minimization for RooSimultaneous
  • Bugfix for bbtautau and bbbb
Edited by Yizhou Cai

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Yizhou Cai marked the checklist item Improve discrete minimization to skip the final fit as completed

    marked the checklist item Improve discrete minimization to skip the final fit as completed

  • Yizhou Cai marked the checklist item Support CMS workspace in xml_ws_combiner.py by both RooSimultaneousOpt and RooSimultaneous as completed

    marked the checklist item Support CMS workspace in xml_ws_combiner.py by both RooSimultaneousOpt and RooSimultaneous as completed

  • Yizhou Cai marked the checklist item Speed up log as completed

    marked the checklist item Speed up log as completed

  • Yizhou Cai marked the checklist item Implement discrete minimization for RooSimultaneous as completed

    marked the checklist item Implement discrete minimization for RooSimultaneous as completed

  • Yizhou Cai added 1 commit

    added 1 commit

    • 329934a4 - Bugfix in unfold_constraints

    Compare with previous version

  • Yizhou Cai marked this merge request as ready

    marked this merge request as ready

  • Author Developer

    Hi @clcheng, the CMS bbbb and bbtt workspaces are not supported yet with useCMSOptPDF=False, I'll work on this issue. But for now I think current developments could be merged first.

  • Yizhou Cai added 2 commits

    added 2 commits

    Compare with previous version

  • Alkaid Cheng
    Alkaid Cheng @clcheng started a thread on commit f5240cb1
503 504 approx_limits = self.get_approx_limits(med_limit, self.LimitTool.getTargetCLs())
504 505 limits = approx_limits.copy()
505 506
507 # injection test
508 if self.mu_inj != 0:
509 self.stdout.info(f"Injecting signal with mu = {pretty_value(self.mu_inj)} into Asimov dataset")
510 self.load_conditional_snapshot(self.mu_exp, target=WSArgument.GLOBAL_OBSERVABLE)
511 self.load_conditional_snapshot(self.mu_exp, target=WSArgument.NUISANCE_PARAMETER)
512 asimov_data_inj = self.model.generate_asimov(self.poi.GetName(),
513 poi_val=self.mu_inj,
514 do_fit=False,
515 modify_globs=False)
516 asimov_inj_nll = self.create_nll(asimov_data_inj)
517 self.nll_maps[asimov_inj_nll] = {"dataset": asimov_data_inj, "snapshot": self.nll_maps[asimov_0_nll]['snapshot']}
518 self.set_poi_value(self.mu_exp)
519 limits['inj'] = self.get_limit(asimov_inj_nll, med_limit, 'inj')
  • Alkaid Cheng
    Alkaid Cheng @clcheng started a thread on commit f5240cb1
  • 26 26 }
    27 27
    28 28 def __init__(self, filename:str, poi_name:str=None, data_name:str='combData',
    29 asimov_data_name:Optional[str]=None, mu_exp:float=0, mu_guess:float=1,
    29 asimov_data_name:Optional[str]=None, mu_exp:float=0, mu_guess:float=1, mu_inj:float=0,
  • Alkaid Cheng
    Alkaid Cheng @clcheng started a thread on commit f5240cb1
  • 503 504 approx_limits = self.get_approx_limits(med_limit, self.LimitTool.getTargetCLs())
    504 505 limits = approx_limits.copy()
    505 506
    507 # injection test
    508 if self.mu_inj != 0:
    509 self.stdout.info(f"Injecting signal with mu = {pretty_value(self.mu_inj)} into Asimov dataset")
    510 self.load_conditional_snapshot(self.mu_exp, target=WSArgument.GLOBAL_OBSERVABLE)
    511 self.load_conditional_snapshot(self.mu_exp, target=WSArgument.NUISANCE_PARAMETER)
    512 asimov_data_inj = self.model.generate_asimov(self.poi.GetName(),
    513 poi_val=self.mu_inj,
    514 do_fit=False,
    515 modify_globs=False)
  • Alkaid Cheng
  • Alkaid Cheng
  • Alkaid Cheng
  • Yizhou Cai added 3 commits

    added 3 commits

    Compare with previous version

  • Alkaid Cheng resolved all threads

    resolved all threads

  • Yizhou Cai added 1 commit

    added 1 commit

    Compare with previous version

  • Alkaid Cheng mentioned in commit ebb6656f

    mentioned in commit ebb6656f

  • merged

  • Please register or sign in to reply
    Loading