This page explains how to get going with PyCool if you can not use CMT to get your environment setup. The information here is probably very specific for people using the ATLAS online software.

COOL is a framework used by ATLAS to store conditions data. A good introduction can be found on the COOL twiki page

Setting up

See the attached pycool_env for a "working" environment. Unfortunately it is up to you to figure out what needs setting and what does not. Chances are you just need the things in PYTHONPATH though.

https://twiki.cern.ch/twiki/bin/view/Atlas/CoolPython has examples of what you can do with PyCool, it also covers how to setup your environment. It claims having

use COOL

in your requirements file should sort you out when using CMT to setup your env but for atlas online this seems to not hold. Using

$ source /afs/cern.ch/sw/lcg/app/spi/tools/test/setup/lcgspi.sh
$ pushd $SITEROOT/sw/lcg/app/releases/COOL/COOL_2_2_0/src/config/cmt
$ source setup.sh
$ popd

works.

PyCool Examples

CoolConsole is like a shell for COOL. It has a Twiki page

ATLAS/PyCool (last edited 2008-03-27 13:54:16 by localhost)