TWiki
>
AtlasSandbox Web
>
InstitutePages
>
AtlasManchester
>
ManTree
(2012-07-11,
MarkOwen
)
(raw view)
E
dit
A
ttach
P
DF
---+!!<nop> manTree Root Trees & Analysis Framework %TOC% *Important: For 2012 analysis with D3PDs see AtlasSandbox.SFrameD3PD.* ---+ Introduction The manTree package contains a set of classes for storing physics objects for final analysis. It can be used outside of athena, for example in SFrame. The code is in [[https://svnweb.cern.ch/trac/atlasgrp/browser/Institutes/Manchester/SFrame/manTree][svn]] and the html descriptions of the classes can be found [[http://www.hep.manchester.ac.uk/u/mark/manTree][here]]. This page covers the release 17 version of the code, for release 16 please see ManTreeRel16. The recommended way to compile the package is to follow the instructions [[#FirstTimeSetup][below]]. ---+ Analysis Framework In order to do a complete analysis, there are a set of packages provided by ATLAS for applying common prescriptions. These packages are made available through the AtlasProtected.TopRootCore package and we interface to these packages using the topUtils package. ---++ First Time Setup #FirstTimeSetup The following instructions should be followed to setup up & compile sframe, manTree and the common analysis packages: <verbatim> Commands to be entered into the terminal start with '>' Export CERN_USER variable: > export CERN_USER=yourcernlxplususername Setup root core (note this also sets up root v5.28.00): > source /nfs/software/AtlasSoftware/RootCore/Root_v528_Rel17_ICHEP12/RootCore/scripts/setup.sh Export SVNMAN variable: > export SVNMAN=svn+ssh://$CERN_USER@svn.cern.ch/reps/atlasinst/Institutes/Manchester Go to a directory where you want to work from: > cd somedir Check out sframe: > svn co https://sframe.svn.sourceforge.net/svnroot/sframe/SFrame/tags/SFrame-03-04-23 SFrameArea > cd SFrameArea Patch sframe: > patch core/include/SCycleBaseNTuple.icc /afs/hep.man.ac.uk/g/atlas/SFramePatches/16June11/SCycleBaseNTuple.icc.patch Build sframe: > source ./setup.sh > make Check out manTree packages: > svn co $SVNMAN/SFrame/manTree/trunk manTree > svn co $SVNMAN/SFrame/SFToolInterfaces/tags/SFToolInterfaces-00-00-01 SFToolInterfaces > svn co $SVNMAN/SFrame/manTreeSFrameBase/trunk manTreeSFrameBase > svn co $SVNMAN/SFrame/topUtils/branches/topUtils-01-02-06-branch topUtils > svn co $SVNMAN/SFrame/exampleManTreeCycle/trunk exampleManTreeCycle Build manTree packages: > cd manTree > make > cd ../manTreeSFrameBase > make > cd ../topUtils > make > cd ../exampleManTreeCycle > make Make a soft link to the RootCore par file (needed for proof running): cd $SFRAME_LIB_PATH ln -s $ROOTCOREDIR/../RootCore.par . </verbatim> ---++ Setup for Each Session #SetupCmds Each time you start a new terminal and want to work on the analysis you need to do the following steps: <verbatim> Go to your sframe directory: > cd pathto/SFrameArea Export CERN_USER variable: > export CERN_USER=yourcernlxplususername Setup root core (also sets up root v5.28): > source /nfs/software/AtlasSoftware/RootCore/Root_v528_Rel17_ICHEP12/RootCore/scripts/setup.sh setup sframe: > source ./setup.sh </verbatim> It's probably most convenient to put these commands into a script to save typing them in each time. ---++ Running the Example Cycle There is an example sframe cycle in exampleManTreeCycle. It can be run with the following (don't forget the [[#SetupCmds][setup commands]]): <verbatim> > cd $SFRAME_DIR > cd exampleManTreeCycle > sframe_main config/TestCycle_config.xml </verbatim> </verbatim> ---+ Making manTrees Instructions for making manTrees are at ManTreeMaking. ---+ manTree Samples A list of currently available samples can be found at ManTreeSamples. -- Main.MarkOwen - 16-Sep-2011
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r40
<
r39
<
r38
<
r37
<
r36
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r40 - 2012-07-11
-
MarkOwen
Log In
AtlasSandbox
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
Altair
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
ATLAS Home
Detectors
Computing
Physics
Help
Create
a LeftBar for this page
Welcome Guest
Login
or
Register
Search
Cern Search
TWiki Search
Google Search
Atlas
All webs
Copyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback