You are here: Foswiki>AtlasSingleTop Web>MakeDPDs (revision 2)EditAttach

Introduction

This describes how to make the DPDs necessary for our analysis. The DPDs are made with the TopPhysDPDMaker, which relies on the TopViewTools package. This is the successor to TopView for ATHENA versions 13 and greater. The instructions are for the MSU cluster at CERN.

Information from this page was taken from following:

Top Physics DPD Maker - Getting Started

ATLAS Workbook - Account Setup

Setup Work Space

Create Directories

You should make the following directories somewhere on your scratch space since the amount of material that will be contained in these directories is large. The current version of the code at the time this note was written was 13.0.40.
$> mkdir -p TopPhysDPDMaker/cmthome TopPhysDPDMaker/testarea/13.0.40/

Setup CMT

Create a file called "requirements" in the cmthome directory and paste the code listed below into this file.

$> cd TopPhysDPDMaker/cmthome
$> emacs requirements &

Code which goes into requirements (cut and paste):
set CMTSITE CERN
set SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist

# use optimised version by default
apply_tag  opt
apply_tag  runtime 
# simple workarea directories
apply_tag  simpleTest
apply_tag  oneTest 
apply_tag  setup
apply_tag  32

# Set the location of your preferred development area
macro ATLAS_GROUP_AREA "/afs/cern.ch/atlas/groups/PAT/Tutorial/EventViewGroupArea/EVTags-13.0.40.2"

macro ATLAS_TEST_AREA "" \
  12.0.7 "${HOME}/scratch0/athena/12.0.7" \
  13.0.40 "${HOME}/scratch0/athena/13.0.40" 

use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)

Edit the line
 13.0.40 "/work/jever/pryan/atlas/TopPhysDPDMaker/testarea/13.0.40/"
to correspond to the present version of the code and your directory.

Setup CMT Environment

In the cmthome directory do the following to get version v1r20p20080222 of CMT. Note that this command only works on the CERN cluster.
$> source /afs/cern.ch/sw/contrib/CMT/v1r20p20080222/mgr/setup.sh

Copy the required scripts into the cmthome directory.
$> cmt config

Set Group Area

This command will has to be executed in each new shell before you start working
$> source setup.sh -tag=13.0.40,groupArea

Checkout packages

Go to testarea/13.0.40 directory
$> cd ../testarea/13.0.40

Get packages
$> cmt co -r TopPhysTools-13-00-40-06 PhysicsAnalysis/TopPhys/TopPhysTools
$> cmt co -r TopPhysDPDMaker-00-00-10 PhysicsAnalysis/TopPhys/TopPhysDPDMaker

Compile Packages

For TopPhysTools
cd PhysicsAnalysis/TopPhys/TopPhysTools/cmt
source setup.sh
cmt bro make

For TopPhysDPDMaker
cd PhysicsAnalysis/TopPhys/TopPhysDPDMaker/cmt
source setup.sh
cmt bro make

-- PatRyan - 30 May 2008
Edit | Attach | Print version | History: r15 | r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r2 - 02 Jun 2008, PatRyan
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback