r5 - 05 Jun 2008 - 18:02:21 - RobertHarringtonYou are here: TWiki >  AtlasSoftware Web > USAtlasHowTo

US Atlas How-To

Accessing conditions DB from Tier 1

Make the following symbolic link in your run directory:

> ln -s /afs/cern.ch/user/a/atlcond/coolrep/sqlite200/COMP200.db sqlite200/ALLP200.db
And add the following lines to the end of your jobOptions:
svcMgr.PoolSvc.SortReplicas=True
from DBReplicaSvc.DBReplicaSvcConf import DBReplicaSvc
svcMgr+=DBReplicaSvc()
svcMgr.DBReplicaSvc.UseCOOLSQLite=False

Running analysis job at Tier 2 using pathena

Thanks to Nurcan Ozturk for these instructions!

(see also here: http://www.usatlas.bnl.gov/twiki/bin/view/AtlasSoftware/PathenaOnFDRData.html)

Setup athena for 13.0.30:

> source setup.sh -tag=13.0.30,32

(In case of difficulty please refer to: AtlasSWReleases)

Check out pathena:

> cmt co PhysicsAnalysis/DistributedAnalysis/PandaTools

Check out SUSYValidation package:

> cmt co -r SUSYValidation-00-00-07-02 PhysicsAnalysis/SUSYPhys/SUSYValidation

Compile everything.

Get the job option file into your run area:

> get_files SUSYValidation_jobOptions.py

Setup Grid and do a "grid-proxy-init":

> source /afs/usatlas.bnl.gov/lcg/current/etc/profile.d/grid_env.sh
> grid proxy-init

Run pathena on a SU3 sample (available at Tier2's):

> pathena --inDS valid2_valid1.005403.SU3_jimmy_susy.recon.AOD.v13003003 --outDS user.YourName.test --site ANALY_SWT2_CPB SUSYValidation_jobOptions.py

Check the replicas of the sample by:

> source /afs/usatlas.bnl.gov/Grid/Don-Quijote/DQ2_0_3_client/dq2.sh
> dq2-list-dataset-replicas valid2_valid1.005403.SU3_jimmy_susy.recon.AOD.v13003003
 INCOMPLETE: UTA,NDGFT1DISK
 COMPLETE: BNLPANDA,AGLT2_SRM,SLACXRD,BU_DDM,MWT2_UC,WISC,OUHEP,MWT2_IU,SWT2_CPB,OU

Check the status of the job from Panda monitor:

http://pandamon.usatlas.bnl.gov:25880/server/pandamon/query?dash=analysis

Once the job is completed, get the output ntuple (root file) by:

> dq2_get -rv user.YourName.test

Run a root macro from SUSYValidation package to make plots:

> get_files susy_RTT.C
> root -b -q susy_RTT.C\(\"nameOfRootFile\"\)

This will create png files for plots. You can see them on your web browser if you like:

> get_files plot_SU3.html

Put the png files and plot_SU3.html on your web server and look at plot_SU3.html on your browser.

Caution: SUSYValidation-00-00-07-02 version of the package has been used mainly for electron/jet/missingET validation. The head version of the package includes more validated plots for muon, tau, trigger and SUSY specific variables.

You can send the job to other sites by specifying the site name: ANALY_OU_OCHEP_SWT2, ANALY_AGLT2, ANALY_NET2, ANALY_SLAC, ANALY_MWT2, ANALY_GLOW-ATLAS


Major updates:
-- TWikiAdminGroup - 25 Jun 2018

About This Site

Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.


Attachments

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