Ideal 5-module PHOS geometry
[u/mrichter/AliRoot.git] / PHOS / macros / AlignmentDB / AliPHOSDisalign.C
CommitLineData
49c37ad8 1/* $Id$ */
2
699243a3 3// Run simulations with PHOS alignment parameters read from CDB.
4// CDB storage should be defined by environment variable CDB_PATH before
5// the aliroot session, otherwise the default hard-coded geometry will be used
6// The alignment object is located in the local file
7// $CDB_PATH/PHOS/Alignment/Geometry/RunXXX.root
49c37ad8 8//
9// Author: Yuri Kharlov
699243a3 10// 7 March 2006
49c37ad8 11
699243a3 12void AliPHOSDisalign(Int_t nevents=1)
49c37ad8 13{
49c37ad8 14 AliSimulation sim ;
699243a3 15 sim.SetMakeSDigits("PHOS") ;
16 sim.SetMakeDigits("PHOS") ;
49c37ad8 17 sim.Run(nevents) ;
18}