doxy: TPC/macros root converted
[u/mrichter/AliRoot.git] / TPC / AliTPCCreatePRFGEM.C
CommitLineData
a7a1dd76 1/// \file AliTPCCreatePRFGEM.C
2/// create prf
3/// with given parameters
4
7c6ab170 5void AliTPCCreatePRFGEM()
6{
a7a1dd76 7
7c6ab170 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