569{
570
571 float x{},
y{}, nt0{}, chp{}, brd{}, lay{},
mod{},
det{};
572 int color[7] = {0, 46, 38, 8, 16, 1, 2};
573
574 Levtuple->SetBranchAddress(
"x", &
x);
575 Levtuple->SetBranchAddress(
"y", &
y);
576 Levtuple->SetBranchAddress("nt0", &nt0);
577 Levtuple->SetBranchAddress("chp", &chp);
578 Levtuple->SetBranchAddress("brd", &brd);
579 Levtuple->SetBranchAddress("lay", &lay);
580 Levtuple->SetBranchAddress("mod", &mod);
581 Levtuple->SetBranchAddress("det", &det);
582
583 Levtuple->Draw(">>tmplist0", Form("nt0*(det==%i)", detector));
584 Levtuple->Draw(">>tmplist1", Form("nt0*(ftype==1 && det==%i)", detector));
585 Levtuple->Draw(">>tmplist2", Form("nt0*(ftype==2 && det==%i)", detector));
586 Levtuple->Draw(">>tmplist3", Form("nt0*(ftype==3 && det==%i)", detector));
587 Levtuple->Draw(">>tmplist4", Form("nt0*(ftype==4 && det==%i)", detector));
588 Levtuple->Draw(">>tmplist5", Form("nt0*(ftype==5 && det==%i)", detector));
589 Levtuple->Draw(">>tmplist6", Form("nt0*(ftype==6 && det==%i)", detector));
597
598 for (int igr = 0; igr <= 6; igr++)
599 {
600 graph[igr] =
new TGraph();
601 graph[igr]->SetMarkerStyle(20);
602 graph[igr]->SetMarkerSize(markersize);
604 int ipnt = 0;
605 for (
int ib = 0;
ib <
elist[igr]->GetN();
ib++)
606 {
607 ipnt++;
608 Levtuple->GetEntry(
elist[igr]->GetEntry(ib));
609
610 graph[igr]->SetPoint(ipnt,
x,
y);
611 }
612 graph[igr]->RemovePoint(0);
613 }
614 graph[0]->SetMarkerSize(0.1);
615}