showKinH5.cpp

Ivan Muzalevsky, 03/06/2018 04:12 PM

Download (15 KB)

 
1
#include <fstream>
2
#include "TCanvas.h"
3

    
4
using namespace std;
5

    
6
void showKinH5()
7
{
8
        TFile *fr = new TFile("kinH5.root", "READ");
9
        TTree *tr = (TTree*)fr->Get("kin");
10
        // cout << kin.GetHCMS().Mag() << " wtf " << endl;
11

    
12
        Reaction *r1 = new Reaction();
13
        Reaction *r2 = new Reaction();
14
        Particle *np1 = new Particle();
15
        Particle *np2 = new Particle();
16
        Particle *nh5 = new Particle();
17
        Particle *nh3 = new Particle();
18
        Particle *nhe3 = new Particle();
19

    
20

    
21
        tr->SetBranchAddress("d_3He",&r1);
22
        tr->SetBranchAddress("Hdecay",&r2);
23
        tr->SetBranchAddress("n1.",&np1);
24
        tr->SetBranchAddress("n2.",&np2);
25
        tr->SetBranchAddress("5_H.",&nh5);
26
        tr->SetBranchAddress("3_H_recoil.",&nh3);
27
        tr->SetBranchAddress("3_He.",&nhe3);
28

    
29

    
30

    
31
        // cout << r1->GetH5CMS().P() << " " << endl;
32
        // cout << h5.Mag() << " mass of h5?? " << endl;
33
        ifstream t1;
34
        /*for(Int_t i=0; i < r1->GetNumberOfOutputs(); i++){
35
                cout << endl << "d_3He" << endl;  
36
                cout << r1-> GetOutName(i) << " name of the " << i << " particle";
37
                cout << endl;
38
        }
39
        for(Int_t i=0; i < r2->GetNumberOfOutputs(); i++){
40
                cout << endl << "Hdecay" << endl;  
41
                cout << r2-> GetOutName(i) << " name of the " << i << " particle";
42
                cout << endl;
43
        }
44

45
*/
46
        // cout << r1->GetOutName(1) << " this is particle 1 " << endl;
47

    
48
        // cout << r1->GetNumberOfOutputs() << endl;
49
        // GetOutName(Int_t index);
50
        // TCut cReal = "(d_3He->GetThetaCM())*TMath::RadToDeg() > 23 && (d_3He->GetThetaCM())*TMath::RadToDeg() <32";
51
        TCut cVol = "(d_3He->GetThetaCM())*TMath::RadToDeg() > 16 && (d_3He->GetThetaCM())*TMath::RadToDeg() <39";
52
        TCut cGS = "(d_3He->GetH5CMS().Mag() - 2809.432 - 2*939.565)<2.6";
53
        TCut cChecolus = "(3_He->GetTheta())*TMath::RadToDeg() < 32 && 3_He->GetT() < 20";
54
        // TCut cVol = "(3_He->GetTheta())*TMath::RadToDeg() < 15 && 3_He->GetT() < 20";
55
        // TCut cVol = "kin.GetHeTheta()*TMath::RadToDeg() < 15 && kin.GetHeT() < 20";
56
        const Int_t ww = 1400;
57
        const Int_t wh = 1000;
58

    
59
        TH1F *htemp;
60

    
61
        TCanvas *cInt = new TCanvas("cInt", "Standard LISE++ output", ww, wh);
62
        cInt->Divide(3,2);
63

    
64
        cInt->cd(1);
65

    
66
        TPad *padInput = (TPad*)gPad;
67
        padInput->Divide(2,2);
68

    
69

    
70
        padInput->cd(1);
71
        tr->Draw("5_H.fMass - 3_H_recoil.fMass - n1.fMass - n2.fMass");
72
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
73
        htemp->GetXaxis()->SetTitle("E_{T} (MeV)");
74
        htemp->SetTitle("5H spectrum");
75

    
76
        padInput->cd(2);
77
        tr->SetLineColor(kBlack);
78
        tr->Draw("6_He.fImpulse.T() - 6_He.fMass", "");
79
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
80
        htemp->GetXaxis()->SetTitle("E_{beam} (MeV)");
81
        htemp->SetTitle("beam energy");
82

    
83
        padInput->cd(3);
84
        tr->Draw("6_He->GetTheta()", "");
85
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
86
        htemp->GetXaxis()->SetTitle("\\Theta_{beam} (rad)");
87
        htemp->SetTitle("beam direction");
88

    
89
        padInput->cd(4);
90
        tr->Draw("6_He->GetPhi()", "");
91
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
92
        htemp->GetXaxis()->SetTitle("\\Phi_{beam} (rad)");
93
        htemp->SetTitle("beam direction");
94

    
95
        cInt->cd(4);
96
        tr->SetLineColor(kBlack);
97
        tr->Draw("d_3He->GetThetaCM()*TMath::RadToDeg()");
98
        // gPad->SetLogy();
99
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
100
        htemp->GetXaxis()->SetTitle("\\Theta_{CM} (deg)");
101
        htemp->SetTitle("input reaction angle");
102

    
103
        cInt->cd(2);
104
        tr->SetMarkerColor(kBlue);
105
        // tr->Draw("3_He->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", "");
106
        tr->Draw("3_He->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", ""); // график, какой у вратислава (с вычетом из 180)
107
        tr->SetMarkerColor(kRed);
108
        tr->Draw("5_H->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", "", "same");
109
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
110
        htemp->GetXaxis()->SetTitle("\\Theta_{CM} (deg)");
111
        htemp->GetYaxis()->SetTitle("\\Theta_{lab} (deg)");
112
        htemp->SetTitle("binary reaction: no cut");        
113

    
114
        cInt->cd(3);
115
        tr->SetMarkerColor(kBlue);
116
        tr->Draw("3_He->GetT()/3.:(d_3He->GetThetaCM())*TMath::RadToDeg()", "");
117
        tr->SetMarkerColor(kRed);
118
        tr->Draw("5_H->GetT()/5.:(d_3He->GetThetaCM())*TMath::RadToDeg()","", "same");
119
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
120
        htemp->GetXaxis()->SetTitle("\\Theta_{CM} (deg)");
121
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
122
        htemp->SetTitle("binary reaction: no cut");
123

    
124
        cInt->cd(5);
125
//        tr->Draw("kin.GetHM() - 4690.362", "");
126
        tr->SetMarkerColor(kBlack);
127
        tr->Draw("3_He->GetTheta()*TMath::RadToDeg():5_H->GetTheta()*TMath::RadToDeg()", "");
128
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
129
        htemp->GetXaxis()->SetTitle("\\Theta_{lab}(5H) (deg)");
130
        htemp->GetYaxis()->SetTitle("\\Theta_{lab}(3He) (deg)");
131
        htemp->SetTitle("binary reaction: no cut");
132

    
133

    
134
        cInt->cd(6);
135
        tr->SetMarkerColor(kBlue);
136
        tr->Draw("3_He->GetT()/3.:3_He->GetTheta()*TMath::RadToDeg()", "", "");
137
        tr->SetMarkerColor(kRed);
138
        tr->Draw("5_H->GetT()/5.:5_H->GetTheta()*TMath::RadToDeg()", "", "same");
139
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
140
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
141
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
142
        htemp->SetTitle("binary reaction: no cut");
143

    
144
//        return;
145

    
146
        ////////////////////////////////////////
147
        //// canvas with 3-body results
148
        ////////////////////////////////////////
149
        TCanvas *c1 = new TCanvas("c1", "Standard LISE++ output", ww, wh);
150
        c1->Divide(3,2);
151

    
152
        c1->cd(1);
153
        tr->SetMarkerColor(kBlue);
154
        tr->Draw("3_He->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", ""); // график, какой у вратислава (с вычетом из 180)
155
        tr->SetMarkerColor(kRed);
156
        tr->Draw("5_H->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", "", "same");
157

    
158

    
159
//
160
        tr->SetMarkerColor(kGreen);
161
        tr->Draw("5_H->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", cVol, "same");
162
        tr->Draw("3_He->GetTheta()*TMath::RadToDeg():(d_3He->GetThetaCM())*TMath::RadToDeg()", cVol, "same");
163

    
164
        c1->cd(2);
165
        tr->SetMarkerColor(kBlue);
166
        tr->Draw("n1->GetT():n1->GetTheta()*TMath::RadToDeg()", "", "");
167
        tr->SetMarkerColor(kRed);
168
        tr->Draw("n2->GetT():n2->GetTheta()*TMath::RadToDeg()", "", "same");
169
//        tr->Draw("kin.GetTritonT()/3.:kin.GetTritonTheta()*TMath::RadToDeg()", "", "same");
170
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
171
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
172
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
173
        htemp->SetTitle("neutrons");
174

    
175
        c1->cd(3);
176
        tr->SetMarkerColor(kBlack);
177
        tr->Draw("3_H_recoil->GetT()/3.:3_H_recoil->GetTheta()*TMath::RadToDeg()", "", "");
178
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
179
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
180
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
181
        htemp->SetTitle("triton");
182

    
183

    
184
        c1->cd(4);
185
        tr->SetMarkerColor(kBlue);
186
        tr->Draw("3_He->GetT()/3.:3_He->GetTheta()*TMath::RadToDeg()", "");
187
        tr->SetMarkerColor(kRed);
188
        tr->Draw("5_H->GetT()/5.:5_H->GetTheta()*TMath::RadToDeg()", "", "same");
189

    
190
        tr->SetMarkerColor(kGreen);
191
        tr->Draw("3_He->GetT()/3.:3_He->GetTheta()*TMath::RadToDeg()", cVol, "same");
192
        tr->Draw("5_H->GetT()/5.:5_H->GetTheta()*TMath::RadToDeg()", cVol, "same");
193
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
194
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
195
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
196
        htemp->SetTitle("green cut: thetaLab(3He) < 32 deg && Tlab(3He) < 20 MeV");
197

    
198

    
199

    
200
        c1->cd(5);
201
        tr->SetMarkerColor(kBlack);
202
        tr->Draw("n1->GetT():n1->GetTheta()*TMath::RadToDeg()", "", "");
203
        tr->Draw("n2->GetT():n2->GetTheta()*TMath::RadToDeg()", "", "same");
204
        tr->SetMarkerColor(kGreen);
205
        tr->Draw("n1->GetT():n1->GetTheta()*TMath::RadToDeg()", cVol, "same");
206
        tr->Draw("n2->GetT():n2->GetTheta()*TMath::RadToDeg()", cVol, "same");
207
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
208
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
209
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
210
        htemp->SetTitle("neutrons: green cut");
211

    
212
        c1->cd(6);
213
        tr->SetMarkerColor(kBlack);
214
        tr->Draw("3_H_recoil->GetT()/3.:3_H_recoil->GetTheta()*TMath::RadToDeg()","","");
215
        tr->SetMarkerColor(kGreen);
216
        tr->Draw("3_H_recoil->GetT()/3.:3_H_recoil->GetTheta()*TMath::RadToDeg()", cVol, "same");
217
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
218
        htemp->GetYaxis()->SetTitle("T_{lab} (MeV/A)");
219
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
220
        htemp->SetTitle("triton: green cut");
221

    
222
        TCanvas *c2 =  new TCanvas("c2", "CMS of 5H", ww, wh);
223
        c2->Divide(4,2);
224

    
225
        c2->cd(1);
226
        TPad *padInputChoice = (TPad*)gPad;
227
        padInputChoice->Divide(1,2);
228

    
229
        padInputChoice->cd(1);
230
//        tr->Draw("kin.GetHeTheta()*TMath::RadToDeg():kin.GetHTheta()*TMath::RadToDeg()", "");
231
//        tr->Draw("kin.GetHCMS().Mag() - 4690.36244");
232
        tr->Draw("d_3He->GetH5CMS().Mag() - 2809.432 - 2*939.565");
233
        tr->SetLineColor(kRed);
234
        tr->Draw("d_3He->GetH5CMS().Mag() - 2809.432 - 2*939.565", cGS, "same");
235
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
236
        htemp->GetXaxis()->SetTitle("E_{T} (MeV)");
237
        htemp->SetTitle("5H energy spectrum");
238

    
239
        TH1F *hS1 = new TH1F("hS1","he3 spec",180,.0,180.);
240
        TH1F *hS2 = new TH1F("hS2","he3 spec cut",26,15.,40.);
241
        hS2->SetLineColor(kGreen);
242
        padInputChoice->cd(2);
243
        tr->Draw("(d_3He->GetThetaCM())*TMath::RadToDeg() ", "");
244
        tr->SetLineColor(kGreen);
245
        tr->Draw("(d_3He->GetThetaCM())*TMath::RadToDeg() ", cVol, "same");
246
        gPad->SetLogy();
247
        // cout << hS2->GetSum()/hS1->GetSum() << endl;
248
        // htemp = (TH1F*)gPad->GetPrimitive("htemp");
249
        // htemp->GetXaxis()->SetTitle("\\Theta_{CM} (deg)");
250
        // htemp->SetTitle("input reaction angle: green cut");
251

    
252
        c2->cd(2);
253
        tr->SetLineColor(kBlack);
254
        tr->Draw("Hdecay->GetTritonCMS().P()");
255
        tr->SetLineColor(kRed);
256
        tr->Draw("Hdecay->GetTritonCMS().P()", cGS, "same");
257
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
258
        htemp->GetXaxis()->SetTitle("p_{5H CM}(^{3}H) (MeV/c)");
259
        htemp->SetTitle("CMS of 5H: no cut");
260
//        htemp->SetName("beam direction");
261

    
262

    
263
        c2->cd(3);
264
        tr->SetLineColor(kBlack);
265
        tr->Draw("Hdecay->GetN1CMS().P()");
266
        tr->SetLineColor(kRed);
267
        tr->Draw("Hdecay->GetN1CMS().P()", cGS, "same");
268
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
269
        htemp->GetXaxis()->SetTitle("p_{5H CM}(n_{1}) (MeV/c)");
270
        htemp->SetTitle("CMS of 5H: no cut");
271

    
272
        // c2->cd(4);
273
        // tr->SetLineColor(kBlack);
274
        // tr->Draw("Hdecay->GetN2CMS().P()");
275
        // tr->SetLineColor(kRed);
276
        // tr->Draw("Hdecay->GetN2CMS().P()", cGS, "same");
277
        // htemp = (TH1F*)gPad->GetPrimitive("htemp");
278
        // htemp->GetXaxis()->SetTitle("p_{5H CM}(n_{2}) (MeV/c)");
279
        // htemp->SetTitle("CMS of 5H: no cut");
280

    
281

    
282

    
283
        c2->cd(5);
284
        tr->SetMarkerColor(kBlue);
285
//        tr->Draw("kin.GetHeT()/3.:kin.GetHeTheta()*TMath::RadToDeg()", "");
286
        tr->Draw("3_He.fImpulse.P()/3.:3_He->GetTheta()*TMath::RadToDeg()","");
287
        tr->SetMarkerColor(kRed);
288
//        tr->Draw("kin.GetHT()/5.:kin.GetHTheta()*TMath::RadToDeg()", "", "same");
289
        tr->Draw("5_H.fImpulse.P()/5.:5_H->GetTheta()*TMath::RadToDeg()", "", "same");
290

    
291

    
292
        tr->SetMarkerColor(kGreen);
293
        tr->Draw("3_He.fImpulse.P()/3.:3_He->GetTheta()*TMath::RadToDeg()", cVol, "same");
294
        tr->Draw("5_H.fImpulse.P()/5.:5_H->GetTheta()*TMath::RadToDeg()", cVol, "same");
295
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
296
        htemp->GetYaxis()->SetTitle("|p|_{lab} (MeV.A^{-1}.c^{-1})");
297
        htemp->GetXaxis()->SetTitle("\\Theta_{lab} (deg)");
298
        htemp->SetTitle("kinematics: green cut");
299

    
300

    
301
        c2->cd(6);
302
        tr->SetLineColor(kGreen);
303
        tr->Draw("Hdecay->GetTritonCMS().P()", cVol, "");
304
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
305
        htemp->GetXaxis()->SetTitle("p_{5H CM}(^{3}H) (MeV/c)");
306
        htemp->SetTitle("CMS of 5H: green cut");
307

    
308
        c2->cd(7);
309
//        tr->SetLineColor(kBlack);
310
        tr->Draw("Hdecay->GetN1CMS().P()", cVol);
311
//        tr->SetLineColor(kRed);
312
//        tr->Draw("kin.GetN1CMS().P()", cGS, "same");
313
//        tr->SetLineColor(kRed);
314
        htemp = (TH1F*)gPad->GetPrimitive("htemp");
315
        htemp->GetXaxis()->SetTitle("p_{5H CM}(n_{1}) (MeV/c)");
316
        htemp->SetTitle("CMS of 5H: green cut");
317

    
318
// //        tr->SetLineColor(kBlack);
319
//         tr->Draw("Hdecay->GetN2CMS().P()", cVol);
320
// //        tr->SetLineColor(kRed);
321
// //        tr->Draw("kin.GetN2CMS().P()", cGS, "same");
322
//         htemp = (TH1F*)gPad->GetPrimitive("htemp");
323
//         htemp->GetXaxis()->SetTitle("p_{5H CM}(n_{2}) (MeV/c)");
324
//         htemp->SetTitle("CMS of 5H: green cut");
325

    
326

    
327
 // Double_t a = v1.Angle(v2.Vect());  // get angle between v1 and v2
328

    
329
        TLorentzVector n1,n2,n1CM,n2CM;
330
        TH1F *hn1 = new TH1F("hn1","theta between n1 and n2",50,0.,50.);
331
        TH1F *hn1CM = new TH1F("hn1CM","thetaCM between n1 and n2",50,0.,180.);
332
        TH1F *hn1cut = new TH1F("hn1cut","theta between n1 and n2 cut",50,0.,50.);
333
        TH1F *hn1CMcut = new TH1F("hn1CMcut","thetaCM between n1 and n2 cut",50,0.,180.);
334
        // TH1F *hn2 = new TH1F("hn2","theta n2",50,0.,180.);
335
        Double_t angle,angleCM,a1,a2;
336
        for(Int_t i=0;i<tr->GetEntries();i++){
337
        // for(Int_t i=0;i<5;i++){
338
                tr->GetEntry(i);
339
                n1 = np1->Get4Vector();
340
                n2 = np2->Get4Vector();
341
                n1CM = r2->GetN1CMS();
342
                n2CM = r2->GetN2CMS();
343

    
344
                angle = n1.Angle(n2.Vect())*TMath::RadToDeg();  // get angle between v1 and v2
345
                angleCM = n1CM.Angle(n2CM.Vect())*TMath::RadToDeg();
346
                hn1->Fill(angle);
347
                hn1CM->Fill(angleCM);
348

    
349
                if((r1->GetThetaCM())*TMath::RadToDeg() > 16 && (r1->GetThetaCM()*TMath::RadToDeg() < 39)){
350
                // if(nhe3->GetTheta()*TMath::RadToDeg() < 32 && nhe3->GetT() < 20) {
351
                        hn1cut->Fill(angle);
352
                        hn1CMcut->Fill(angleCM);
353
                }
354

    
355

    
356
        }
357
        c2->cd(4);
358
        hn1->Draw();
359
        hn1cut->SetLineColor(8);
360
        hn1cut->Draw("same");
361
        c2->cd(8);
362
        hn1CM->Draw();
363
        hn1CMcut->SetLineColor(8);
364
        hn1CMcut->Draw("same");
365
        // c3->cd(1);
366

    
367

    
368
        // TCanvas *c3 =  new TCanvas("c3", "test", ww, wh);
369
        // c3->Divide(1,2);
370
        // c3->cd(1);
371
        // // TH1F *hS1 = new TH1F("hS1","he3 spec",180,.0,180.);
372
        // // TH1F *hS2 = new TH1F("hS2","he3 spec cut",26,15.,40.);
373
        // // hS2->SetLineColor(kGreen);
374
        // tr->SetLineColor(kBlue);
375
        // tr->Draw("(d_3He->GetThetaCM())*TMath::RadToDeg() ", "");
376
        // tr->SetLineColor(kGreen);
377
        // tr->Draw("(d_3He->GetThetaCM())*TMath::RadToDeg() ", cVol, "same");
378
        // gPad->SetLogy();
379
        // // cout << hS2->GetSum()/hS1->GetSum() << endl;
380

    
381

    
382
        // c3->cd(2);
383
        // TH1F *hS3 = new TH1F("hS3","he3 spec cut",12,22.,33.);
384
        // hS3->SetLineColor(kGreen);
385
        // hS1->Draw();
386
        // tr->SetLineColor(kGreen);
387
        // tr->Draw("(d_3He->GetThetaCM())*TMath::RadToDeg() >> hS3", cReal, "same");
388
        // cout << hS3->GetSum()/hS1->GetSum() << endl;
389
        // cout << hS2->GetSum()/hS1->GetSum() << endl;
390
/*
391

392
        c3->Divide(2,2);
393
        c3->cd(1);
394
        tr->Draw("n1->GetTheta()*TMath::RadToDeg()");
395
        c3->cd(2);
396
        tr->Draw("n2->GetTheta()*TMath::RadToDeg()");
397
        c3->cd(3);
398
        
399
        TF1 *fitCos = new TF1("fitCos","[0]*sin(x*[1])",0.,180.); 
400
        fitCos->SetParLimits(1,0.,0.1);
401
        fitCos->SetParLimits(0,200.,700.);
402
        TLorentzVector n1,n2,h5,h3,suma;
403
        Double_t tcmn1,tcmn2;
404
        TH1F *hn1 = new TH1F("hn1","theta n1",50,0.,180.);
405
        TH1F *hn2 = new TH1F("hn2","theta n2",50,0.,180.);
406
        for(Int_t i=0;i<tr->GetEntries();i++){
407
        // for(Int_t i=0;i<3;i++)
408
                tr->GetEntry(i);
409
                n1 = np1->Get4Vector();
410
                n2 = np2->Get4Vector();
411
                h5 = nh5->Get4Vector();
412
                h3 = nh3->Get4Vector();
413
                // suma = h3 + n1 + n2;
414
                // cout << suma.Px() << " " << suma.Py() << " " << suma.Pz() << " " << suma.E() << endl;
415
                // cout << h5.Px() << " " << h5.Py() << " " << h5.Pz() << " " << h5.E() << endl;
416
                TVector3 bVect = h5.BoostVector();
417
                n1.Boost(-bVect);
418
                n2.Boost(-bVect);
419
                tcmn1 = n1.Theta()*TMath::RadToDeg();
420
                tcmn2 = n2.Theta()*TMath::RadToDeg();
421
                // cout<< tcmn1 << "  " << tcmn2 << endl;
422
                hn1->Fill(tcmn1);
423
                hn2->Fill(tcmn2);
424
        }
425
        hn1->Draw();
426
        hn1->Fit("fitCos");
427
        c3->cd(4);
428
        hn2->Draw();
429
        hn2->Fit("fitCos");
430
*/
431
//        return;
432

    
433
        cInt->Print("output.pdf");
434
        cInt->Print("output.pdf[");
435
        cInt->Print("output.pdf");
436
        c1->Print("output.pdf");
437
        c2->Print("output.pdf");
438
        c2->Print("output.pdf]");
439

    
440
}