FEDRA emulsion software from the OPERA Collaboration
check_linked.C File Reference

Functions

void check_ang0 ()
 
void check_ang2 ()
 
void check_linked ()
 
void check_puls ()
 
void check_puls1 ()
 
void check_surf ()
 

Function Documentation

◆ check_ang0()

void check_ang0 ( )
12 {
13  TCanvas *c = new TCanvas("a0","angular distribution");
14  c->Clear();
15  couples->Draw("s.eTY:s.eTX");
16  c->SaveAs("ang0.gif");
17 }
TTree * couples
Definition: check_cp.C:50
new TCanvas()

◆ check_ang2()

void check_ang2 ( )
21 {
22  TCanvas *c = new TCanvas("a2","angles");
23  c->Clear();
24  c->Divide(2,2);
25 
26  a2_1->cd(); couples->Draw("s.eTX");
27  a2_2->cd(); couples->Draw("s.eTY");
28  a2_3->cd(); couples->Draw("eCHI2");
29  a2_4->cd(); couples->Draw("eCHI2:sqrt(s.eTX*s.eTX+s.eTY*s.eTY)","","",20000);
30 
31  c->SaveAs("ang2.gif");
32 }

◆ check_linked()

void check_linked ( )
2 {
3  check_ang0();
4  check_ang2();
5  check_surf();
6  check_puls1();
7  check_puls();
8 }
void check_ang0()
Definition: check_linked.C:11
void check_puls()
Definition: check_linked.C:64
void check_puls1()
Definition: check_linked.C:44
void check_surf()
Definition: check_linked.C:35
void check_ang2()
Definition: check_linked.C:20

◆ check_puls()

void check_puls ( )
65 {
66  TCanvas *c = new TCanvas("ph","puls distributions",700,800);
67  c->Clear();
68  c->Divide(2,3);
69 
70  TCut p = "abs(s.eTY)<.02&&abs(s.eTX+.3)<.02";
71  TCut sp = "sqrt(s.eTX*s.eTX+s.eTY*s.eTY)<.33&&sqrt(s.eTX*s.eTX+s.eTY*s.eTY)>.27";
72 
73  ph_1->cd(); couples->Draw("eCHI2", p );
74  ph_2->cd(); couples->Draw("eCHI2", sp && !p );
75  ph_3->cd(); couples->Draw("s.eW", p );
76  ph_4->cd(); couples->Draw("s.eW", sp && !p );
77  ph_5->cd(); couples->Draw("s.eW", sp && !p && "eCHI2<1.2" );
78  ph_6->cd(); couples->Draw("s.eW", sp && !p && "eCHI2>1.2" );
79 
80  c->SaveAs("puls.gif");
81 }
p
Definition: testBGReduction_AllMethods.C:8

◆ check_puls1()

void check_puls1 ( )
45 {
46  TCanvas *c = new TCanvas("ph1","puls distributions",700,800);
47  c->Clear();
48  c->Divide(2,3);
49 
50  TCut p = "abs(s.eTY)<.02&&abs(s.eTX+.3)<.02";
51  TCut sp = "sqrt(s.eTX*s.eTX+s.eTY*s.eTY)<.33&&sqrt(s.eTX*s.eTX+s.eTY*s.eTY)>.27";
52 
53  ph1_1->cd(); couples->Draw("eCHI2", p );
54  ph1_2->cd(); couples->Draw("eCHI2", sp && !p );
55  ph1_3->cd(); couples->Draw("s1.eW", p );
56  ph1_4->cd(); couples->Draw("s1.eW", sp && !p );
57  ph1_5->cd(); couples->Draw("s1.eW", sp && !p && "eCHI2<1.2" );
58  ph1_6->cd(); couples->Draw("s1.eW", sp && !p && "eCHI2>1.2" );
59 
60  c->SaveAs("puls1.gif");
61 }

◆ check_surf()

void check_surf ( )
36 {
37  TCanvas *c = new TCanvas("sf","track density on the plate");
38  c->Clear();
39  couples->Draw("s.eY:s.eX");
40  c->SaveAs("surf.gif");
41 }