Skip to content

sgnoohc/www

Repository files navigation

WWW analysis code

First time installing

git clone --recursive git@github.com:sgnoohc/www.git
cd www/
source scripts/setup.sh
compile.sh

Second time

source scripts/setup.sh

To further skim VVV baby ntuples to a smaller size. (output TTree root files.)

run.sh -c WWW_ScanChain.C output.root t -1 doskim /hadoop/cms/store/user/bhashemi/AutoTwopler_babies/merged/VVV/WWW_v0.1.16/skim/www_2l_ext1_mia_skim_1.root
                                           ^^^^^^
                                           keyword

To run the analysis code on the VVV baby ntuple directly. (outputs histograms.)

run.sh -c WWW_ScanChain.C output.root t -1 v0.1.16 /hadoop/cms/store/user/bhashemi/AutoTwopler_babies/merged/VVV/WWW_v0.1.16/skim/www_2l_ext1_mia_skim_1.root
                                           ^^^^^^^
                                           Provide the version

To run over ALL ntuples

run.sh -c WWW_ScanChain.C output.root t -1 v0.1.16 '/hadoop/cms/store/user/bhashemi/AutoTwopler_babies/merged/VVV/WWW_v0.1.16/skim/*.root'
                                           ^^^^^^^
                                           Provide the version

October 19th sync example.

We agreed to generate event lists for three samples in three different regions.
I wrote a small script to run these.

sh dosync.sh

Currently in the repository things are commented out other than www.
So the user should uncomment for full result.

run.sh -c WWW_ScanChain.C output.root t -1 dosync /hadoop/cms/store/user/bhashemi/AutoTwopler_babies/merged/VVV/WWW_v0.1.16/skim/www_2l_ext1_mia_skim_1.root
run.sh -c WWW_ScanChain.C output.root t -1 dosync '/hadoop/cms/store/user/bhashemi/AutoTwopler_babies/merged/VVV/WWW_v0.1.16/skim/ttbar_1ltop_mgmlm_ext1*.root'
run.sh -c WWW_ScanChain.C output.root t -1 dosync '/hadoop/cms/store/user/bhashemi/AutoTwopler_babies/merged/VVV/WWW_v0.1.16/skim/wz_3l*.root'

To run over all sample and making some plots with a skim created around mid october

run.sh -c WWW_ScanChain.C output.root t -1 doana /hadoop/cms/store/user/phchang/metis/wwwlooper/v16_skim_v2_2/WWW_v0_1_16_v16_skim_v2_2_allmerged.root
python wwwplot.py

NOTE: it runs faster if you copy it from hadoop to home area. (it's 3.6GB though)

Renaming of skimmed samples

The code resides in WWW_CORE.

cd WWW_CORE/
make rename

Then,

./rename ../mapping.txt /hadoop/cms/store/path/to/where/the/metis/skim/output/is

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published