#acl TopGroup:read,write,admin,revert,rename EditorsGroup:read,write All:read #language en #AvailablePackages '''List of pages in this category:''' <> Except for the basic classes, all packages should be usable independent of each other. <> == SFrame == repository: http://sframe.svn.sourceforge.net/viewvc/sframe/SFrame/ Main program, documentation can be found at http://sourceforge.net/apps/mediawiki/sframe/index.php?title=Main_Page It is recommmended to use one of the tagged versions, see here for the latest: https://sframe.svn.sourceforge.net/svnroot/sframe/SFrame/tags/ {{{ svn co https://sframe.svn.sourceforge.net/svnroot/sframe/SFrame/tags/SFrame-XX-XX-XX SFrame }}} == CommonSelection == repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Top/CommonSelection Package providing basic top event selection * simple cutflow histogramming * by looking at this code you will learn how to use different packages in your analysis {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Top/CommonSelection/trunk CommonSelection }}} (If this does not work, since your CERN user name differs from the one you are currently logged in with, you have to add the following lines to your ~/.ssh/config file: {{{ Host svn.cern.ch svn GSSAPIAuthentication yes GSSAPIDelegateCredentials yes Protocol 2 ForwardX11 no User user }}} where you replace user by your CERN user name.) To create the histogramming code the first time after check-out issue from CommonSelection dir: {{{ ../../Common/DesyUtilities/scripts/buildHistosSFrame.py -f config/common.par -c TopCommonSelection }}} == GoodRunsLists == repository: https://svnweb.cern.ch/trac/atlasgrp/browser/Misc/sframe/GoodRunsLists Package enabling usage of good runs lists with SFrame {{{ svn co svn+ssh://svn.cern.ch/reps/atlasgrp/Misc/sframe/GoodRunsLists/trunk GoodRunsLists }}} == EfficiencyTools == repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Common/EfficiencyTools Package to provide trigger and lepton ID efficiencies. The tool relys on the external package InsituRepresentation. You need create an soft link after you have complied the external package. Check out the package like this: {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Common/EfficiencyTools/trunk EfficiencyTools ln -s ../../External/InsituRepresentation/InsituRepresentation }}} == DesyUtilities == repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Common/DesyUtilities Package to collect utilities. You can find a nice overview in [[https://indico.desy.de/getFile.py/access?subContId=0&contribId=1&resId=0&materialId=slides&confId=3253|this]] talk given by the creator of the package at the DESY HU x-sec meeting on July 2,2010. The package has been then extended to include utilities to calculate jet shape variables (implemented in the [[https://svnweb.cern.ch/trac/atlasgrp/browser/Institutes/DESY-ZN/CommonAnalysis/Common/DesyUtilities/trunk/include/JetAnalysis.h|JetAnalysis]] class developed by Robert Riemann). To make this class fully operational, don't forget to add the following library in your cycle configuration file: {{{ }}} You can download it by typing: {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Common/DesyUtilities/trunk DesyUtilities }}} == External Packages == We have found a mechanism to incorporate external packages into SFrame, provided that they can be compiled standalone with the SFrame common Makefile (or slight additions). The idea is to 1. Check out a wrapper package with a modified Makefile and an installation script (config/setup.sh). 1. Run the installation script to check out the external package and create symbolic links to the wrapper package 1. Compile the wrapper package, which actually compiles the external package. This currently works for the following packages === InsituRepresentation === repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Common/InsituRepresentation Package to read and write the data format used in the ATLAS InsituPerformance toolkit. {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Common/InsituRepresentation/trunk InsituRepresentation cd InsituRepresentation/config source setup.sh cd .. make }}} === MultijetJESUncertaintyProvider === repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Common/MultijetJESUncertaintyProvider Package to retrieve jet energy scale uncertainties as a function of pT and eta (and optionally the number of vertices). Further documentation: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/MultijetJESUncertaintyProvider {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Common/MultijetJESUncertaintyProvider/trunk MultijetJESUncertaintyProvider cd MultijetJESUncertaintyProvider make }}} === JESUncertaintyProvider === repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Common/JESUncertaintyProvider OLD DEPRECATED package to retrieve jet energy scale uncertainties as a function of pT and eta (and optionally the number of vertices). Further documentation: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/JESUncertaintyProvider {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Common/JESUncertaintyProvider/trunk JESUncertaintyProvider cd JESUncertaintyProvider/config source setup.sh cd .. make }}} === TrkVKalVrt === repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Common/TrkVKalVrt The ATLAS standard for a standalone Kalman filter vertex fitter. Not really easy to use, we'll provide an example later... {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Common/TrkVKalVrt/trunk TrkVKalVrt cd TrkVKalVrt/config/ source setup.sh cd .. make }}} == GoDesy == repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/Top/GoDesy Package providing variables used for Likelihood cross-section measurement in cooperation with Goettingen * writes out tree with variables for TMVA input {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Top/GoDesy/trunk GoDesy }}} == FittingTools == repository: https://svnweb.cern.ch/trac/desyatfw/browser/CommonAnalysis/FittingTools Bundles code for template fitting including template morphing and Gaussian constraints. Further documentation to be done... To try it out do {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/FittingTools/trunk/ FittingTools cd FittingTools source setup.sh make cd bin ./UHTemplateFitter ../UHTemplateFitter/config.xml }}} == Beauty Root == {{{ svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/BeautyRoot BeautyRoot }}} == PileupRewConfigGenerator == Pileup reweighting requires certain config files (more info [[https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/ExtendedPileupReweighting#Generating_your_own_MC_Config_fi|here]]). To create a config file for a MC file do: {{{ cd $SFRAME_DIR/.. svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/RootCore/trunk RootCore cd Top #opt svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Top/PileupRewConfigGenerator/trunk PileupRewConfigGenerator cd .. #opt source setup.sh make cd config sh run-all.sh [inputxmlfile] }}} By default run-all creates one config file for all files under ../../../Scripts/xmls/mx12a (as long as the path exists).