]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/macros/AlignmentDB/AliPHOSDisalign.C
Remove CDB setting from the script. It is passed via env.variable
[u/mrichter/AliRoot.git] / PHOS / macros / AlignmentDB / AliPHOSDisalign.C
1 /* $Id$ */
2
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
8 //
9 // Author: Yuri Kharlov
10 // 7 March 2006
11
12 void AliPHOSDisalign(Int_t nevents=1)
13 {
14   AliSimulation sim ; 
15   sim.SetMakeSDigits("PHOS") ;
16   sim.SetMakeDigits("PHOS") ;
17   sim.Run(nevents) ;  
18 }