-- ChengguangZhu - 18 Mar 2008

This web is for personal memory, careful to take as reference

Use FastCaloSim

Setup with Release 12.0.6

Basic files

  • cd  ~/myAnalysisCode/gensim
  • Download tarball, tag FastCaloSim-00-00-27
  • mkdir -p Simulation/FastShower/12.0.6
  • cd  Simulation/FastShower/12.0.6
  • tar zxvf  FastCaloSim.tar.gz
  • cp /afs/cern.ch/atlas/offline/data/FastCaloSim/v1/ParticleEnergyParametrization.root Simulation/FastShower/FastCaloSim/share/ (100M )


  • set up athena release 12.0.6 according to your working area ref
  • set CMTPATH=~/myAnalysisCode/gensim/Simulation/FastShower/12.0.6:$CMTPATH
    • Notion: "12.0.6" must be the name of last directory of the CMTPATH which you set
    • cmt will regard your CMTPATH as one project and take the name of the last directory as the project release.
    • FastCaloSim used this project release to distinguish the athena release you are using with pre-compiling statement.
  • cd ~/myAnalysisCode/gensim/Simulation/FastShower/12.0.6/FastCaloSim/cmt/
  • cmt config
  • source setup.sh
  • gmake

Run jobs

  • mkdir ~/myAnalysisCode/gensim/Simulation/FastShower/12.0.6/FastCaloSim/run
  • cd ~/myAnalysisCode/gensim/Simulation/FastShower/12.0.6/FastCaloSim/run
  • athena ../share/FastCaloSimFromTruth.py

problem1 in run

    • Got this error when ApplicationMgr  try to load modules:  FastCaloSim
 *** Break *** segmentation violation
 Generating stack trace...
 0x0060a9b2 in std::__default_alloc_template<true, 0>::allocate(unsigned int) + 0x82 from /usr/lib/libstdc++.so.5
 0x00610178 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned int, std::allocator<char> const&) + 0x78 from /usr/lib/libstdc++.so.5
 0x006102a9 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_clone(std::allocator<char> const&, unsigned int) + 0x49 from /usr/lib/libstdc++.so.5
    • The error is because, mix using athena release 12.0.6 and Scientific Linux SL release 4.6 (Beryllium) and this package. to check with cat /etc/redhat-release
    • correct it with export PATH=/home/atls/prod/releases/rel_13-4/external/slc3compat/1.0.0/bin/i686-slc3-gcc323:${PATH}
    • Redo the gmake and run job again..... this problem disappear, problem2 comes.

problem2 in run

  • Use evgen file as input, but can't find where to set the evgen file.
  • So set PoolRDOInput=["my.evgen.pool.root"] and set readESD=False,
  • run job results in error message.
  • The reason is
    • the job option file FastCaloSimFromTruth.py is configured for read evgen file,
    • for athena all pool files are the same, whether they contain evgen, RDO, ESD or something else. Internally all the different PoolXXXInput file names are mapped to the same property of EventSelector. So FastCaloSimFromTruth.py runs RecExCommon_topOptions.py with an ESD input option, but reads evgen. The various other settings will let it run in the end
  • So just use the official FastCaloSimFromTruth.py and set PoolESDInput = ["my.evgen.pool.root"]
  • Run job athena FastCaloSimFromTruth.py
  • Success with ntuple output
  • NOTE: FastCaloSimFromTruth.py runs only a calorimeter simulation, so you will not have any tracks or muons

release 13.0.3

  • dq2_get -rv misal1_mc12.005205.AcerMCttbar.digit.RDO.v12000605 RDO.014198._00001.pool.root.2 RDO.014198._00002.pool.root.3 RDO.014198._00003.pool.root.3
  • setup 13.0.3
  • csc_recoFastCaloSim_trf.py RDO.014198._00001.pool.root.2 AOD.pool.root AANT.root 100 0 "ATLAS-CSC-01-02-00" NONE

Use FatRas

work with release 14.0.0

  • Use Fatras release 00-01-28
  • Exactly follow the instruction on FatrasTutorial, job on lxplus.cern.ch is succesful
  • Move to athena STANDALONE cite, set athena env as ref, the run result in
  • Use same method as in FatrasTutorial to setup athena 14.0.0 on STANDALONE cite, and use source setup.sh -tag = 14.0.0 or source setup.sh -tag = 14.0.0,fatras_14. both runs result in the same error message as above.
    • the requirement file is
set   SITEROOT /home/atls/prod/releases/rel_14-0
macro ATLAS_TEST_AREA ${HOME}/myAnalysisCode/gensim/Simulation/Fatras/14.0.0

tag fatras_14 public groupArea oneGroup
macro ATLAS_GROUP_AREA /afs/cern.ch/atlas/groups/fatras/fatras_14.0.0

use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
apply_tag setup
apply_tag 32
apply_tag oneTest

work with Release 13.0.30 (problem in running)

Basic file

  • mkdir -p ~/myAnalysisCode/gensim/Simulation/Fatras/13.0.30
  • downloa taball, tag FatrasExamples-00-1-21.
  • cd ~/myAnalysisCode/gensim/Simulation/Fatras/13.0.30
  • tar zxvf FatrasExamples.tar.gz

Setup env

  • set up athena release 13.0.30 according to your working area ref
  • set CMTPATH=~/myAnalysisCode/gensim/Simulation/Fatras/13.0.30:$CMTPATH
    • use cmt version is v1r20p20070720
    • Here, you have to set the CMTPATH with a short path of the path where the package is unziped (below), for example: ~ or ~/myAnalysisCode/gensim or ~/myAnalysisCode/gensim/Simulation/Fatras/13.0.30, but never to be ~/myAnalysisCode/gensim/XXXX/, Other wise CMTINSTALLAREA is not corrected set by cmt.
    • don't know it's a feature or a bug
  • cd ~/myAnalysisCode/gensim/Simulation/Fatras/13.0.30/FatrasExample/cmt
  • cmt config
  • source setup.sh
  • gmake

Run Job

  • cd ~/myAnalysisCode/gensim/Simulation/Fatras/13.0.30/FatrasExample/run
  • athena ../share/jobOptions.py

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt error1.txt r1 manage 15.3 K 2008-04-15 - 12:30 UnknownUser  
Unknown file formatlog2 fastCalo.log2 r1 manage 392.3 K 2008-03-29 - 17:53 UnknownUser  
Unknown file formatlog fat.log r2 r1 manage 3.7 K 2008-03-30 - 20:32 UnknownUser  
Texttxt log_cppm.txt r1 manage 62.8 K 2008-04-01 - 17:19 UnknownUser  
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r16 - 2008-04-15 - unknown
    • 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