As of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 1 Getting Started with GEM Shuei YAMADA ICEPP, University of Tokyo What is GEM? Before you start.

Slides:



Advertisements
Similar presentations
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Advertisements

BASIS Quick Start Guide by Andreas Schuh.  Introduction  Installing BASIS  Creating a New Project  Installing Your Project  Adding Executables 
MEG-Review Feb MEG Software Group MEG Software Status Framework for MC, Schedule, DC reconstruction update and Discussion on a ROOT-based offline.
Compiling with Pythia 8.1 (HEP event generator) on local Linux servers
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
Software Installation The full set of lecture notes of this Geant4 Course is available at
FULL CHAIN SIMULATION of CMS DETECTOR Ijaz Ahmed National centre for Physics, Islamabad.
STAR Software Basics Introduction to the working environment Lee Barnby - Kent State University.
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
Introduction to Hall-D Software February 27, 2009 David Lawrence - JLab.
Development tools cvs, tkdiff, JBuilder, building GATE from the sources.
Simulations Progress at Regina ➔ Event generation with genr8 – output in ascii format ➔ Conversion to either HDFast input (stdhep) or HDGeant input (hddm)
Paul Scherrer Institut 5232 Villigen PSI ROME / / Matthias Schneebeli ROME Root based Object oriented Midas Extension Presented by Matthias.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
PHENIX Simulation System 1 July 7, 1999 Simulation Progress and ROOT-in-PISA Charles Maguire Vanderbilt University July ‘99 Software Meeting.
I3PropagatorMMC module Dmitry Chirkin, LBNL IceCube meeting, Uppsala, 2004.
Overview of LHCb applications and software environment LHCb software tutorial - March
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
26 Jan, MEG Software Status Framework for MEG MC, Unification of LargePrototype/beam test, Schedule and DC reconstruction MEG Software Group.
14 February 2007Fabrizio Cei1 INFN and University of Pisa PSI Review Meeting PSI, 14 February 2007 Status of MEG Software.
PHENIX Simulation System 1 December 7, 1999 Simulation: Status and Milestones Tarun Ghosh, Indrani Ojha, Charles Vanderbilt University.
R.T. Jones, Newport News, May The GlueX Simulation Framework GEANT4 Tutorial Workshop Newport News, May 22-26, 2006 R.T. Jones, UConn Monte Carlo.
An overview of EUSO publicaly available software SLAST (Shower Initiated Light Attenuated to the Space Telescope) STAR (Space Telescope Analysis and Reconstruction)
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
ROOT What & Why? ROOT Status ROOT Application ROOT Install ROOT Example ROOT References Introduction to March 13, 2003 Dae Jung CHEP.
Code and Document Management Paul E. Reimer 21 June 2008.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
1 CSE306 Operating Systems Projects CVS/SSH tutorial.
Login & environment variable setting in CVS Presented by Pooja Jain.
Status of OPAL data Matthias Schröder
Paul Scherrer Institut 5232 Villigen PSI CHEP 2006 in Mumbay / / Matthias Schneebeli ROME CHEP 2006 Presented by Matthias Schneebeli a universally.
GLAST LAT Offline SoftwareCore review, Jan. 17, 2001 Review of the “Core” software: Introduction Environment: THB, Thomas, Ian, Heather Geometry: Joanne.
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
CERN IT Department t LHCb Software Distribution Roberto Santinelli CERN IT/GS.
Paul Scherrer Institut 5232 Villigen PSI ROME / / Matthias Schneebeli ROME Collaboration Meeting in Pisa Presented by Matthias Schneebeli.
27 June 2006 Shuei YAMADA, MEG PSI 1 MEG Software Status and Prospects MEG Software group.
Computing R&D and Milestones LHCb Plenary June 18th, 1998 These slides are on WWW at:
More Unix Naomi Altman. Directories Directory = folder mkdir - makes a new directory rmdir - removes an empty directory cd mydirectory - moves you into.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
10/2/2000LHCb Computing, CHEP Use of Configuration Management tool in LHCb software J. Harvey, P. Mato, F. Ranjard CERN (Switzerland)
Paul Scherrer Institut 5232 Villigen PSI ROME / / Matthias Schneebeli ROME Root based Object oriented Midas Extension Presented by Matthias.
Mokka, main guidelines and future P. Mora de Freitas Laboratoire Leprince-Ringuet Ecole polytechnique - France Linear collider Workshop 2004, Paris.
BESIII Offline Software Development Environment Ma qiumei * Development environment * Configuration & management tool * Software development.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
CERN Tutorial, September Overview of LHCb applications and software environment.
Implementation of Embedded OS
27/02/04 ATLAS weekTileCal Athena tutorial, part 21 TileCal Athena tutorial Part 2: Reading GEANT hits from ZEBRA and POOL Reading HLT and testbeam ByteStream.
Preservation of LEP Data There is still hope Is there? Marcello Maggi, Ulrich Schwickerath, Matthias Schröder, , DPHEP7 1.
Proposal for the MEG Offline System Assisi 9/21/2004Corrado Gatto General Architecture Computing Model Organization & Responsibilities Milestones.
Thomas Ruf, CERN EP Experience with C++ and ROOT used in the VX Beam Test Thomas Ruf, CERN, EP  Why? Event structure for VX-data rather complex: raw hits.
Paul Scherrer Institut 5232 Villigen PSI ROME / / Matthias Schneebeli ROME Root based Object oriented Midas Extension Presented by Matthias.
CLHEP Infrastructure Improvements CHEP 2004 Lynn Garren, FNAL and Andreas Pfeiffer, CERN.
1 Simulations Purpose of the simulation codes Structure of the E866 simulation codes Issues of simulations for E906 Jen-Chieh Peng University of Illinois.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Starting Analysis with Athena (Esteban Fullana Torregrosa) Rik Yoshida High Energy Physics Division Argonne National Laboratory.
9 Feb, MEG Software Status -for the coming review committee- Question from A.Blondel Our answer Schedule and Man power MEG Software Group.
1 Jupiter, Satellites and SimTools Akiya Miyamoto KEK 16-March-2005 Simulation Mini Workshop Based on acfa-sim-j activity.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Monthly video-conference, 18/12/2003 P.Hristov1 Preparation for physics data challenge'04 P.Hristov Alice monthly off-line video-conference December 18,
Installation of the ALICE Software
User Documents and Examples I
GPAMELA Alessandro Bruno.
Software Installation
CVS Concurrent Versioning System
Presentation transcript:

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 1 Getting Started with GEM Shuei YAMADA ICEPP, University of Tokyo What is GEM? Before you start Downloading Compilation Running the simulation Output & Analysis

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 2 What is GEM? Detector simulation for the MEG experiment XECAL : Liquid Xe calorimeter (final detector) MC for the Large Prototype is called “TBEAM” DCH : Drift chamber TICP : Timing counter for Phi direction TICZ : Timing counter for Z direction MAG : Cobra magnet TAR : muon stopping target... Based on FORTRAN77 + GEANT3 The history of its naming has been lost

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 3 Before You Start... (1) Requirements Knowledge of UNIX Knowledge of ROOT or/and PAW Standard UNIX-like environment e.g. Redhat 9, Scientific Linux, CERN linux, PSI linux, etc. GEM is developed and tested under linux AFS account in PSI Required for CVS access CERNLIB

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 4 Before you Start... (2) Install CERNLIB Download CERNLIB See following URL for the proper version Install CERNLIB Ungzip and Untar following files to proper directory e.g. /cern cernbin.tar.gz cernglib.tar.gz cernlib.tar.gz geant321.tar.gz mclibs.tar.gz RH9/RH10/FC1 users can copy from pc4465.psi.ch:/cern/2003 or pc4466.psi.ch:/cern/2003

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 5 bash/zsh users: add following variables to your.bashrc /.zshrc export CERN=/cern export CERN_LEVEL=2003 export export CVS_RSH=ssh export MEG_DIR=~/meg export RULESSRC=${MEG_DIR}/Rules export PROJRULES=${MEG_DIR}/MegRules export GEANT=geant321 Before you Start... (3a) Set environment variables – bash/zsh This have to be same as the CERNLIB version you installed Replace with your AFS account in PSI

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 6 tcsh/csh users: add following variables to your.tcshrc /.cshrc setenv CERN /cern setenv CERN_LEVEL 2003 setenv CVSROOT setenv CVS_RSH ssh setenv MEG_DIR ~/meg setenv RULESSRC ${MEG_DIR}/Rules setenv PROJRULES ${MEG_DIR}/MegRules setenv GEANT geant321 Before you Start... (3b) Set environment variables – tcsh/csh This have to be same as the CERNLIB version you installed Replace with your AFS account in PSI

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 7 Download the Source Code Source tree of GEM is available from the CVS repository Go to your home directory % cd ~ Check out the repository % cvs co meg Directory named “meg” will appear in your home directory To update your working meg in sync with repository % cd ~/meg % cvs update

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 8 Compilation Build the program in your ${MEG_DIR}; % cd ~/meg % make All the libraries and executables will be compiled

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 9 Running the Simulation The executable program is ~/meg/gem/gem/gem.sub Parameters for GEM are given by CARD provided by CERNLIB, i.e. FFGO. Each sub-detector component have its own CARD files See appendix or ~/meg/gem/gem/gem.sub for the list of CARD files. Description and synopsis of parameters are described in each CARD file.

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 10 Outputs of the Simulation 3 output files are created in ~meg/gem/gem/output Log file : gem.ascii Histograms: gem.hbk Histograms for basic statistics ZEBRA output : gem.rz Run headers : geometry configuration, LXe parameters, etc. Event by event : True track, Energy deposit, etc.

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 11 Analysis Tool (1) gemframework Based on ROME Converts ZEBRA to ROOT Temporary software until MegRoot available -or- for personal computer analysis Just a framework : calculations & reconstructions need to be implemented gem.root gemframework. exe gem.rz

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 12 Analysis Tool (2) Install ROOT Download ROOT See Install ROOT Unzip and Untar following file to proper directory e.g. /cern/root root_v Linux.slc3.gcc3.2.3.tar.gz Set environmental variables bash/zsh : export ROOTSYS=/cern/root PATH=$ROOTSYS/bin:$PATH tcsh/csh setenv ROOTSYS /cern/root set path=($ROOTSYS/bin $path) This have to be same as where you installed ROOT Download suitable to your operating system & compiler

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 13 Analysis Tool (3) Install ROME Download ROME Go to your home directory % cd ~ Check out the repository % cvs co rome Directory named “rome” will appear in your home directory Set environmental variables bash/zsh : export ROMESYS=~/rome tcsh/csh setenv ROMESYS ~/rome Compile ROME % cd rome % make See for detailshttp://midas.psi.ch/rome/

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 14 Analysis Tool (4) Install gemframework Install gsl (Gnu Scientific Library) See Download gemframework Go to your home directory % cd ~ Check out the repository % cvs – d co gemframework Directory named “gemframework” will appear in your home directory Compile gemframework % cd gemframework % $ROMESYS/bin/romebuilder.exe GEMframework.xml Replace with your AFS account in PSI

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 15 First, run gemframework.exe in order to generate the default configuration file: % gemframework.exe Edit the configuration file : romeConfig.xml. + zebra +./ Directory where you like to write data. + Configure other parameters as you like. Run gemframework %./gemframework.exe – r 1 – f ~/meg/gem/gem/output/gem.rz A Root file is created : gem.root See file://~/gemframework/GEMframework.html for details.file://~/gemframework/GEMframework.html Analysis Tool (4) running gemframework At the present, a DUMMY run # is required Path to your ZEBRA output from GEM

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 16 Enjoy your MC life !!

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 17 End of Slides

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 18 Convert ZEBRA to NTUPLE: ~/meg/rz2nt/gem2nt/gem2nt.sh Process RAW MC data To have a look on statistics # of hits Energy deposit distribution Etc… Reconstructions are not yet implemented Card file : ~/meg/rz2nt/gem2nt/cards/gem2nt.cards Output : ~/meg/rz2nt/gem2nt/output/gem2nt.hbk Appendix Yet another analysis tool : RZ2NT gem2nt.hb k gem2nt.sh gem.rz

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 19 Appendix List of card files For controlling the entire simulation: meg/gem/gem/cards/gem.cards, meg/gem/gem/cards/rem.cards, meg/gem/gem/cards/io.cards For the event generator: meg/megeve/cards/megeve.cards For DCH: meg/gem/dch/cards/dch.cards, meg/gem/dch/cards/dchdc.cards, meg/gem/dch/cards/dchring.cards, meg/gem/dch/cards/dchcd.cards, meg/gem/dch/cards/dchhebg.cards, meg/gem/dch/cards/dchrt.cards For TICP/TICZ: meg/gem/ticz/cards/ticz.cards, meg/gem/ticz/cards/ticzbar.cards, meg/gem/ticz/cards/ticzsect.cards, meg/gem/ticz/cards/ticzpmt.cards, meg/gem/ticp/cards/ticp.cards, meg/gem/ticp/cards/ticpbar.cards, meg/gem/ticp/cards/ticpsect.cards, meg/gem/ticp/cards/ticppmt.cards For XECAL: meg/gem/xecal/cards/xecal.cards For Target & Magnet meg/magnet/cards/magnet.cards, meg/target/cards/target.cards, meg/bfield/cards/bfield.cards For drawing: meg/draw/cards/draw.cards

as of 28 Juni 2005Getting Starged with GEM - Shuei Yamada 20 Appendix CVS To learn more about CVS see following WEB sites: in Japanese: in English: html