Update timestamps for new AMANDA simulation (17/02/2015)
[u/mrichter/AliRoot.git] / TPC / AliTPCCreatePRFGEM.C
1 /// \file AliTPCCreatePRFGEM.C
2 /// create prf
3 /// with given parameters
4
5 void AliTPCCreatePRFGEM()
6
7
8   TFile *f=TFile::Open("AliTPCprf2dGEM.root","recreate");
9   AliTPCPRF2D prf;
10   prf.SetPad(0.4,0.75);
11   prf.SetChevron(0.75,0,0);
12   prf.SetGauss(0.025,0.0251,1 );
13   prf.SetY(-0.36,0.35,50);
14   prf.Update();
15   prf.DrawPRF(-1,1,-1,1,50,50);
16   prf.Write("prf0");
17
18   prf.SetPad(0.6,1.);
19   prf.SetChevron(1.,0,0);
20   prf.SetGauss(0.025,0.0251,1 );
21   prf.SetY(-0.5,0.5,50);
22   prf.Update();
23   prf.Write("prf1");
24
25   prf.SetPad(0.6,1.5);
26   prf.SetChevron(1.5,0,0);
27   prf.SetGauss(0.025,0.025,1 );
28   prf.SetY(-0.75,0.75,50);
29   prf.Update();
30   prf.Write("prf2");
31
32
33   f->Close();
34 }
35
36
37
38