|
FEDRA emulsion software from the OPERA Collaboration
|
Functions | |
| c | cd (1) |
| c | cd (2) |
| c | cd (3) |
| c | cd (4) |
| c | cd (5) |
| c | cd (6) |
| cout<< endl;cout<< "Plot 1 : Number of BT per shower"<< endl;cout<< "Plot 2 : Neural Network output with 15 plates (1:e-; 0:pion)"<< endl;cout<< "Plot 3 : NN output versus Nb of BT (showers with 90% efficiency & 1% pion contamination)"<< endl;cout<< "Plot 4 : Shower (X-Y) with 90% eff & 1% pion contamination & highest Nb of BT"<< endl;cout<< "Plot 5 : Shower (Y-Z) with 90% eff & 1% pion contamination & highest Nb of BT"<< endl;cout<< "Plot 6 : Shower (X-Y-Z) with 90% eff & 1% pion contamination & highest Nb of BT"<< endl;TCanvas *c=new TCanvas("check_shower","check_shower", 1024, 900);c-> | Divide (2, 3) |
| t | Draw ("output15:sizeb>>NN15vsNbBT", cut3 &&cut2 &&cut) |
| t | Draw ("output15>>NN15", cut2) |
| t | Draw ("sizeb>>NbBT", cut2) |
| t | Draw ("xb:yb:zb>>xyz", cut &&cut2 &&cut3 &&cut4) |
| t | Draw ("xb:yb>>xy", cut &&cut2 &&cut3 &&cut4) |
| t | Draw ("yb:zb>>yz", cut &&cut2 &&cut3 &&cut4) |
| NN15vsNbBT | Draw () |
| for (int i=0;i< nentries;i++) | |
| if (max<=10) return | |
| t | SetBranchAddress ("sizeb", &sizeb) |
| NN15vsNbBT | SetMarkerStyle (20) |
| NN15 | SetTitle ("NN ouput with 15 plates") |
| NN15vsNbBT | SetTitle ("NN output (15 plates) VS Nb of BT (90% Eff & 1% Cont)") |
| NbBT | SetTitle ("Number of BT per shower") |
Variables | |
| TCut | cut = "eProb90==1&&eProb1==1" |
| TCut | cut2 = "output15>=0" |
| TCut | cut3 = "sizeb>10" |
| TCut | cut4 =s |
| int | max =0 |
| int | nentries = t->GetEntries() |
| s = max | |
| int | sizeb |
| TTree * | t = (TTree*)f.Get("treebranch") |
| canv cd | ( | 1 | ) |
| canv cd | ( | 2 | ) |
| canv cd | ( | 3 | ) |
| c cd | ( | 4 | ) |
| c cd | ( | 5 | ) |
| c cd | ( | 6 | ) |
| cout<< endl; cout << "Plot 1 : Number of BT per shower" << endl; cout << "Plot 2 : Neural Network output with 15 plates (1:e-; 0:pion)" << endl; cout << "Plot 3 : NN output versus Nb of BT (showers with 90% efficiency & 1% pion contamination)"<< endl; cout << "Plot 4 : Shower (X-Y) with 90% eff & 1% pion contamination & highest Nb of BT" << endl; cout << "Plot 5 : Shower (Y-Z) with 90% eff & 1% pion contamination & highest Nb of BT" << endl; cout << "Plot 6 : Shower (X-Y-Z) with 90% eff & 1% pion contamination & highest Nb of BT" << endl; TCanvas *c = new TCanvas("check_shower","check_shower",1024,900); c-> Divide | ( | 2 | , |
| 3 | |||
| ) |
| pt Draw | ( | ) |
| for | ( | ) |
| if | ( | max<= | 10 | ) |
| t SetBranchAddress | ( | "sizeb" | , |
| & | sizeb | ||
| ) |
| xyz SetMarkerStyle | ( | 20 | ) |
| NN15 SetTitle | ( | "NN ouput with 15 plates" | ) |
| NN15vsNbBT SetTitle | ( | "NN output (15 plates) VS Nb of BT (90% Eff & 1% Cont)" | ) |
| NbBT SetTitle | ( | "Number of BT per shower" | ) |
| TCut cut = "eProb90==1&&eProb1==1" |
| TCut cut2 = "output15>=0" |
| TCut cut3 = "sizeb>10" |
| cut4 =s |
| int max =0 |
| int nentries = t->GetEntries() |
| s = max |
| int sizeb |
| TTree* t = (TTree*)f.Get("treebranch") |