# | Line 472 | Line 472 | Color_t samplecollection::GetColor(int s | |
---|---|---|
472 | ||
473 | TLegend* samplecollection::allbglegend(string title, TH1F *data,float posx=0.65, float posy=0.60) { | |
474 | // TLegend *leg = new TLegend(0.65,0.60,0.89,0.77); | |
475 | < | TLegend *leg = new TLegend(posx,posy,0.89,0.77); |
475 | > | TLegend *leg = new TLegend(posx,posy,0.89,0.89); |
476 | if(title!="") leg->SetHeader(title.c_str()); | |
477 | if(data->GetName()!="nothing") leg->AddEntry(data,"Data","p"); | |
478 | leg->SetFillColor(kWhite); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |