Giter Site home page Giter Site logo

t3mcombine's Introduction

T3MuCombine

Installing combine code for T3Mu analysis

 git clone [email protected]:t3mucommontools/T3MuCombine.git

The script setupCombine.pl will clone and compile HiggsAnalysisTools and CombineHarvester. Run ./setupCombine.pl for an instruction

Please find information on latest releases here: https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/

./setupCombine.pl --help

There is just one option to it --Combine, do:

./setupCombine --Combine MyWorkDir

This will produce text file that you need to source to setup everything (just pay attention to the instruction on your screen)

The following settings will be used by default:

SCRAM_ARCH=slc7_amd64_gcc700
CMSSW_11_3_4

Creating Datacards for T3Mu analysis

After compilation:

cd /MyWorkDir/CMSSW_11_3_4/src/CombineHarvester/

And choose your working area; The place for combining all categories is /MyWorkDir/CMSSW_11_3_4/src/CombineHarvester/T3MCombineAll

For UF people: the working area is T3MLimit

./makeTheCard.py --help for an instruction 

(or ./run.py with default root file)

Running limits with toys and hybrid-bayesian

  1. Run text2workspace.py with --X-assign-flatParam-prior flag
text2workspace.py mydatacard.txt -o myworkspace.root --X-assign-flatParam-prior
  1. [Recommended] Define reasonable ranges for all ranges in your datacard. Suggestion: use a script like python/generate_ranges_sh.py to define a list of parameter ranges (e.g. $RUN2_PARS).

  2. Run the limit. Note: the option MINIMIZER_freezeDisassociatedParams is required if you have discrete parameters in your datacards.

combineTool.py -d myworkspace.root -M HybridNew --setParameterRanges $RUN2_PARS --rMin=-5 --rMax 10 --X-rtd MINIMIZER_freezeDisassociatedParams --cminDefaultMinimizerStrategy 0 --cl 0.90 -m 1.777 --generateNuisances=1 --generateExternalMeasurements=0 --fitNuisances=1 --testStat LHC

Produce toys using condor/CRAB

see: http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/runningthetool/#combinetool-for-job-submission Example in T3MCombineAll/April_23_2023

Docs

https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/wiki http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/

t3mcombine's People

Contributors

fsimone91 avatar cherepan avatar lguzzi avatar bmjoshi avatar

Watchers

James Cloos avatar  avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.