Skip to content

January 2021 Production

Abraham Tishelman-Charny edited this page Jan 19, 2021 · 9 revisions

Clone Flashgg

Begin by changing to the directory where you will clone flashgg:

cd /<FlashggWorkingDirectory>

Then clone the HHWWgg development branch of flashgg which is done in a similar fashion to the dev_legacy_runII branch:

export SCRAM_ARCH=slc7_amd64_gcc700
cmsrel CMSSW_10_6_8
cd CMSSW_10_6_8/src
cmsenv
git cms-init
cd $CMSSW_BASE/src 
git clone -b HHWWgg_dev https://github.com/atishelmanch/flashgg.git
source flashgg/setup_flashgg.sh

If everything now looks reasonable, you can build:

cd $CMSSW_BASE/src
scram b -j 

Depending on the status of the classes compared to the version of the classes_def.xml file, you may receive an error like:

error: class 'flashgg::HHWWggTag' has a different checksum for ClassVersion 39. Increment ClassVersion to 40 and assign it to checksum 1253491559

This can be fixed by updating the class version like so:

cd flashgg
scram build updateclassversion 
mv DataFormats/src/classes_def.xml.generated DataFormats/src/classes_def.xml
scram b -j

Setup Voms Proxy

To access grid files to run the tagger on, you must run the following commands:

cd flashgg
cmsenv
voms-proxy-init --voms cms --valid 168:00

after the voms command, you should receive an output similar to:

Created proxy in /tmp/x509up_u95168

to set this proxy to your X509_USER_PROXY environment variable for the example above, simply use the command:

cd $CMSSW_BASE/src/flashgg
. MetaData/scripts/proxy.sh x509up_u95168

where x590up_u95168 would be replaced by whatever your proxy name is.

2017 Backgrounds

Test on Low Number of Events

cd flashgg
python Sub_Bkg_LowEvents.py --outDirec \<OutputDirectory\>

Full Production

cd flashgg
python Sub_Bkg_allEvents.py --outDirec \<OutputDirectory\>

2018 NLO

Low Events

cd flashgg
python Sub_2018-NLO_LowEvents.py --outDirec \<OutputDirectory\>

Full Production

cd flashgg
python Sub_2018-NLO_allEvents.py --outDirec \<OutputDirectory\>