ATO-98 - Connecting distortion trees - selection as an argument
[u/mrichter/AliRoot.git] / TPC / AliTPCCreatePRFGEM.C
CommitLineData
7c6ab170 1void AliTPCCreatePRFGEM()
2{
3 //create prf
4 //with given parameters
5 TFile *f=TFile::Open("AliTPCprf2dGEM.root","recreate");
6 AliTPCPRF2D prf;
7 prf.SetPad(0.4,0.75);
8 prf.SetChevron(0.75,0,0);
9 prf.SetGauss(0.025,0.0251,1 );
10 prf.SetY(-0.36,0.35,50);
11 prf.Update();
12 prf.DrawPRF(-1,1,-1,1,50,50);
13 prf.Write("prf0");
14
15 prf.SetPad(0.6,1.);
16 prf.SetChevron(1.,0,0);
17 prf.SetGauss(0.025,0.0251,1 );
18 prf.SetY(-0.5,0.5,50);
19 prf.Update();
20 prf.Write("prf1");
21
22 prf.SetPad(0.6,1.5);
23 prf.SetChevron(1.5,0,0);
24 prf.SetGauss(0.025,0.025,1 );
25 prf.SetY(-0.75,0.75,50);
26 prf.Update();
27 prf.Write("prf2");
28
29
30 f->Close();
31}
32
33
34
35