GithubHelp home page GithubHelp logo

thongonary / flashgg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cms-analysis/flashgg

0.0 2.0 0.0 305.69 MB

Home Page: https://twiki.cern.ch/twiki/bin/viewauth/CMS/FLASHggFramework

C++ 19.90% Python 18.39% Shell 0.80% C 60.34% HTML 0.58%

flashgg's Introduction

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

Currently two releases are supported:

  • 8_0_28 for Legacy 2016 processing
  • 9_4_9, version for 2017 v2 processing and met corrections, recipe still being developed

Recently deprecated:

  • 9_2_8

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

  • WARNING (24 April) this does not currently compile, due to increasing divergence of code with 94X. A new branch will be provided within 1 week.
cmsrel CMSSW_8_0_28
cd CMSSW_8_0_28/src
cmsenv
git cms-init
cd $CMSSW_BASE/src 
git clone https://github.com/cms-analysis/flashgg flashgg
source flashgg/setup_8_0_X.sh

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

flashgg's People

Contributors

sethzenz avatar ferriff avatar musella avatar camilocarrillo avatar vtavolar avatar olivierbondu avatar yhaddad avatar innakucher avatar malcles avatar saghosh avatar martinamalberti avatar matteosan1 avatar kmondal avatar andreh7 avatar junquantao avatar gkrintir avatar mdonega avatar simonepigazzini avatar bmarzocc avatar edjtscott avatar hbakhshi avatar gourangakole avatar arnabpurohit avatar andreh12 avatar mmachet avatar michelif avatar andreypz avatar vciriolo avatar threiten avatar mgouzevi avatar

Watchers

James Cloos avatar Thong Q. Nguyen 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.