Skip to content

InnaKucher/flashgg

 
 

Repository files navigation

flashgg

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

  • N.B. Make sure you are on lxplus6 or otherwise using an SLC6 machine. Make sure SCRAM_ARCH is slc6_amd64_gcc491 (or later for 80X).
  • N.B. The setup script will check out many packages and take a while!
  • N.B. You can ignore "error: addinfo_cache" lines.
  • N.B. This is to set up the latest area in a self-consistent way. If you want a particular flashgg version corresponding to other samples, please see https://twiki.cern.ch/twiki/bin/viewauth/CMS/FLASHggFramework#Instructions_for_users

Get everything you need, starting from a clean area:

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

If everything now looks reasonable, you can build:

cd $CMSSW_BASE/src
scram b -j 9

Then after building there is one new step:

source flashgg/afterbuild_setup.sh

And a very basic workflow test:

cd $CMSSW_BASE/src/flashgg
cmsRun MicroAOD/test/microAODstd.py
cmsRun Taggers/test/simple_Tag_test.py
cmsRun Taggers/test/diphotonsDumper_cfg.py
cmsRun Systematics/test/workspaceStd.py processId=wzh_125

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.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 65.7%
  • C++ 19.5%
  • Python 13.7%
  • Other 1.1%