Giter VIP home page Giter VIP logo

susycommon's Introduction

#------------------------------------------------------------------------------------
#  SusyCommon
#
#  A RootCore package for common UCI SUSY analysis
#------------------------------------------------------------------------------------

# For useful information on using these packages, please consult the TWiki:
https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/UCISusyNtuples

# Link to code in SVN browser
https://svnweb.cern.ch/trac/atlasinst/browser/Institutes/UCIrvine/SUSYAnalysis/SusyCommon

# To checkout the package trunk
svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/UCIrvine/SUSYAnalysis/SusyCommon/trunk SusyCommon

# For the currently recommended tag, please see the TWiki
svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/UCIrvine/SUSYAnalysis/SusyCommon/tags/SusyCommon-XX-YY-ZZ SusyCommon

# To make a tag, use the script/makeTag.sh script (only for developers)
./scripts/makeTag.sh SusyCommon-XX-YY-ZZ "Some message"


# To install, check out SusyNtuple, the MultiLep Common code, and run the MultiLep install script 
# NOTE that this snippet will checkout the trunks of each code.  If you need to use specific tags, use the appropriate svn commands
# It is recommended that you do this installation in a clean workarea, to avoid conflicts with other package tags.
svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/UCIrvine/SUSYAnalysis/SusyNtuple/trunk SusyNtuple
svn co svn+ssh://svn.cern.ch/reps/atlasphys/Physics/SUSY/Analyses/WeakProduction/MultiLep/trunk MultiLep
source MultiLep/installscripts/install_script.sh
# Or, for convenience, these commands have been put in one script (kinit first):
source SusyCommon/scripts/install.sh

# for examples, here is my analysis code which depends on this package
https://svnweb.cern.ch/trac/atlasinst/browser/Institutes/UCIrvine/sfarrell/SusyAna


#------------------------------------------------------------------------------------
# Overview of the package
#------------------------------------------------------------------------------------

SusyD3PDInterface
  - TSelector for processing Susy D3PDs
  - Provides access to d3pd objects via 'd3pd' container

SusyD3PDAna
  - Inherits from SusyD3PDInterface
  - Holds all the functionality for doing the analysis out of d3pds.
    Object selection, event cleaning, reweighting, etc.

SusyNtMaker
  - Inherits from SusyD3PDAna
  - Applies cleaning cuts and event filtering
  - Writes a SusyNt tree


# Executables
SusyD3PDTest
  - Just dumps D3PD variables, for testing

NtMaker
  - Runs the SusyNtMaker

SusyNtTest
  - Example executable for processing SusyNt



#------------------------------------------------------------------------------------
# Examples on how to run
#------------------------------------------------------------------------------------

##################
# To Make SusyNt #
##################

1.) compile with Rootcore, or in standalone mode
2.) cd run/
3.) Create a list of d3pd files into a text file

command: NtMaker -s SAMPLE -f FILELIST.txt

The '-s' option sets the sample name and is used to control data/MC toggle.
If the sample name contains 'data' (case insensitive), the job will treat the input as data.
This is necessary when running on data so the job will not try to access MC specific branches of the D3PD.

Also, NtMaker -h will show you the current list of options.  

After you run NtMaker, it will spit out a susyNt.root which will contain the tree.

For more advanced grid production of SusyNt, please see the scripts under
[https://github.com/gerbaudo/susynt-submit](https://github.com/gerbaudo/susynt-submit)


susycommon's People

Contributors

brendlin avatar gerbaudo avatar mrelich avatar sparticlesteve avatar

Watchers

 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.