]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
misalignment macros with substituted TRandom generator with TRandom3
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 07:23:54 +0000 (07:23 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 07:23:54 +0000 (07:23 +0000)
T0/MakeT0FullMisAlignment.C
T0/MakeT0ResMisAlignment.C

index c1ec9beee3ba81dbc24c0e68725d63058e0b5e23..1c7073fc38bf9fec34677614979162199732bf61 100644 (file)
@@ -5,7 +5,7 @@ void MakeT0FullMisAlignment(){
   TClonesArray &alobj = *array;
 
   Double_t dx, dy, dz, dpsi, dtheta, dphi;
-  TRandom *rnd   = new TRandom(4321);
+  TRandom3 *rnd   = new TRandom3(4321);
   Double_t sigmatr = 0.006; // sigma for shifts in cm
   Double_t sigmarot = 0.001; // sigma for tilts in degrees
 
index cdf322ef05145047a902d0ad1e0e0d71bf0e33ff..8de03af29e839ccabddaf66c1cc69f0ea455c8f3 100644 (file)
@@ -5,7 +5,7 @@ void MakeT0ResMisAlignment(){
   TClonesArray &alobj = *array;
 
   Double_t dx, dy, dz, dpsi, dtheta, dphi;
-  TRandom *rnd   = new TRandom(4321);
+  TRandom3 *rnd   = new TRandom3(4321);
   Double_t sigmatr = 0.006; // max shift in cm
   Double_t sigmarot = 0.001; // max rot in degrees