CoEPPPyTools is a set of python tools for quickly running analysis on dervied ntuples output by the CoEPPNtupGen package.


  • AtlasStyle - standard atlas style package
  • config - standard config for samples, input files, plots
  • scripts - command line tools (added to path in
  • share - the analysis scripts for Tau ID/Trigger/TES are container here
  • src - core framework of the package
  • tutorials - some introductory tutorials (still to be developed)

Latest News



First, checkout the LATEST tag of CoEPPPyTools (you should check which is latest in SVN):
  • svn co svn+ssh:// CoEPPPyTools

CoEPPPyTools is essentially a framework that implements PyROOT. Therefore, all you need to do is setup so that PyROOT works.

Setup Using Athena (Easiest way):

  1. setup an athena release (eg. 'asetup -r 16.0.0' on many machines)
  2. go to top of CoEPPPyTools package and issue command:

Setup Using ROOT (If you want to run without an athena install, eg. on a laptop):

  1. setup any root version that has the PyROOT module compiled against python2.2 or later (I believe this is now common in the precompiled ROOT binaries)
  2. same as above

Analysis Example

This example will show you how to run a full analysis on derived ntuples produced with CoEPPNtupGen.

First, download these preprepared ntuples (~1.5GB):

dq2-get user.wdavey.CoEPP.NTUP.r16

Then follow these steps:

  • Go to CoEPPPyTools directory.
  • Edit config/, and make sure dir='/media/Data/CoEPPNtupGen/MergedNtuples4' points to the directory where you downloaded the preprepared ntuples.
  • In the CoEPPPyTools top dir, issue these commands:
mkdir run
cd run
cp ../share/TauID/ .

Done, you just performed the tag and probe analysis to produce validation plots of the MV-IDs. To produce plots of all the ID input and kinematic variables, edit the script and set the line:

plotMVOnly = False


There are a number of introductory tutorials in the CoEPPPyTools/tutorials directory, which are designed to give you a better understanding of what's going on under the hood of CoEPPPyTools than the Analysis Example. The list of tutorials is still very much under development.

-- WillDavey - 21-Nov-2011

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-11-21 - WillDavey
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback