atishelmanch / flashgg

https://twiki.cern.ch/twiki/bin/viewauth/CMS/FLASHggFramework
0 stars 3 forks source link

flashgg

Before you start, please take note of these warnings and comments:

Currently two releases are supported:

Recently deprecated:

80X: Get everything you need, starting from a clean area:

94X: Get everything you need, starting from a clean area:

 cmsrel CMSSW_9_4_9
 cd CMSSW_9_4_9/src
 cmsenv
 git cms-init
 cd $CMSSW_BASE/src
 git clone https://github.com/cms-analysis/flashgg flashgg
 source flashgg/setup_9_4_X.sh

If everything now looks reasonable, you can build:

 cd $CMSSW_BASE/src
 scram b -j 3

In 94X after building you need to run:

 source flashgg/afterbuild_9_4_X.sh

And a very basic workflow test:

 cd $CMSSW_BASE/src/flashgg
 cmsRun MicroAOD/test/microAODstd.py processType=sig datasetName=glugluh # or processType=data depending on input file
 cmsRun Taggers/test/simple_Tag_test.py
 cmsRun Taggers/test/diphotonsDumper_cfg.py
 cmsRun Systematics/test/workspaceStd.py processId=ggh_125 doHTXS=1

These are just some test examples; the first makes MicroAOD from a MiniAOD file accessed via xrootd, the second produces tag objects and screen output from the new MicroAOD file, and the other two process the MicroAOD file to test ntuple and workspace output.

The setup code will automatically change the initial remote branch's name to upstream to synchronize with the project's old conventions.
The code will also automatically create an "origin" repo based on its guess as to where your personal flashgg fork is. Check that this has worked correctly if you have trouble pushing. (See setup_*.sh for what it does.)