ATO-98 - connect distortion trees - with custom description ()
[u/mrichter/AliRoot.git] / TPC / AliTPCCreatePRF.C
1 /// \file AliTPCCreatePRF.C
2 /// create prf
3 /// with given parameters
4
5 void AliTPCCreatePRF()
6
7
8   TFile *f=TFile::Open("AliTPCprf2d.root","recreate");
9   AliTPCPRF2D prf;
10   prf.SetPad(0.4,0.75);
11   prf.SetChevron(0.75,0,0);
12   prf.SetGati(0.56,0.68,0.2);
13   prf.SetY(-0.5,0.5,5);
14   prf.Update();
15   prf->Write("prf_07504_Gati_056068_d02");
16
17   prf.SetPad(0.6,1.);
18   prf.SetChevron(1.,0,0);
19   prf.SetGati(0.47,0.51,0.3);
20   prf.SetY(-0.875,0.875,8);
21   prf.Update();
22   prf.Write("prf_10006_Gati_047051_d03");
23
24   prf.SetPad(0.6,1.5);
25   prf.SetChevron(1.5,0,0);
26   prf.SetGati(0.47,0.51,0.3);
27   prf.SetY(-1.125,1.125,10);
28   prf.Update();
29   prf.Write("prf_15006_Gati_047051_d03");
30
31
32   f->Close();
33 }
34
35
36
37