TFile* file = new TFile(Form("/tmp/TRD.TrackListMacroData_%s.root", gSystem->Getenv("USER")), "READ");
if (!file)
{
- Error("Draw histograms", Form("Cannot open file \"/tmp/TRD.TrackListMacroData_%s.root\"",
- gSystem->Getenv("USER")));
+ Error("Draw histograms", "Cannot open file \"/tmp/TRD.TrackListMacroData_%s.root\"",
+ gSystem->Getenv("USER"));
new TGMsgBox(gClient->GetRoot(), GetMainFrame(), "Error - Draw histograms",
Form("Cannot open file \"/tmp/TRD.TrackListMacroData_%s.root\"", gSystem->Getenv("USER")),
kMBIconExclamation, kMBOk);
if (myHist != 0) myHist->Draw();
else
{
- Error("Draw histograms", Form("No histogram for histo macro \"%s\" found!",
- fM->fDataFromMacroList->At(indexOfHistoMacro)->GetName()));
+ Error("Draw histograms", "No histogram for histo macro \"%s\" found!",
+ fM->fDataFromMacroList->At(indexOfHistoMacro)->GetName());
new TGMsgBox(gClient->GetRoot(), GetMainFrame(), "Error - Draw histograms",
Form("No histogram for histo macro \"%s\" found!",
fM->fDataFromMacroList->At(indexOfHistoMacro)->GetName()), kMBIconExclamation, kMBOk);
}
else
{
- Error("Draw histograms", Form("No data for histo macro \"%s\" found!\nMaybe no tracks have been selected.",
- fM->fDataFromMacroList->At(indexOfHistoMacro)->GetName()));
+ Error("Draw histograms", "No data for histo macro \"%s\" found!\nMaybe no tracks have been selected.",
+ fM->fDataFromMacroList->At(indexOfHistoMacro)->GetName());
new TGMsgBox(gClient->GetRoot(), GetMainFrame(), "Error - Draw histograms",
Form("No data for histo macro \"%s\" found!\nMaybe no tracks have been selected.",
fM->fDataFromMacroList->At(indexOfHistoMacro)->GetName()), kMBIconExclamation, kMBOk);
indexOfMacro1 = i;
if (!(t = (TTree*)file->Get(Form("TrackData%d", i))))
{
- Error("Draw histograms", Form("No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
- fM->fDataFromMacroList->At(i)->GetName()));
+ Error("Draw histograms", "No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
+ fM->fDataFromMacroList->At(i)->GetName());
new TGMsgBox(gClient->GetRoot(), GetMainFrame(), "Error - Draw histograms",
Form("No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
fM->fDataFromMacroList->At(i)->GetName()), kMBIconExclamation, kMBOk);
indexOfMacro2 = i;
if (!(tFriend1 = (TTree*)file->Get(Form("TrackData%d", i))))
{
- Error("Draw histograms", Form("No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
- fM->fDataFromMacroList->At(i)->GetName()));
+ Error("Draw histograms", "No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
+ fM->fDataFromMacroList->At(i)->GetName());
new TGMsgBox(gClient->GetRoot(), GetMainFrame(), "Error - Draw histograms",
Form("No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
fM->fDataFromMacroList->At(i)->GetName()),
indexOfMacro3 = i;
if (!(tFriend2 = (TTree*)file->Get(Form("TrackData%d", i))))
{
- Error("Draw histograms", Form("No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
- fM->fDataFromMacroList->At(i)->GetName()));
+ Error("Draw histograms", "No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
+ fM->fDataFromMacroList->At(i)->GetName());
new TGMsgBox(gClient->GetRoot(), GetMainFrame(), "Error - Draw histograms",
Form("No data for macro \"%s\" found!\nMaybe no tracks have been selected.",
fM->fDataFromMacroList->At(i)->GetName()), kMBIconExclamation, kMBOk);
new TMacroData(macro->GetName(), macro->GetPath(), macro->GetType()));
else
{
- Error("AliEveTRDTrackListEditor::InheritMacroList", Form("Failed to inherit the macro \"%s\"!", key->GetName()));
+ Error("AliEveTRDTrackListEditor::InheritMacroList", "Failed to inherit the macro \"%s\"!", key->GetName());
}
}
new TMacroData(macro->GetName(), macro->GetPath(), macro->GetType()));
else
{
- Error("AliEveTRDTrackListEditor::SaveMacroList", Form("Failed to inherit the macro \"%s\"!", key->GetName()));
+ Error("AliEveTRDTrackListEditor::SaveMacroList", "Failed to inherit the macro \"%s\"!", key->GetName());
}
}
}
else
{
Error("AliEveTRDTrackListEditor::UpdateMacroList()",
- Form("Macro \"%s/%s.C\" is neither a selection macro nor a process macro!",
- macro->GetPath(), macro->GetName()));
+ "Macro \"%s/%s.C\" is neither a selection macro nor a process macro!",
+ macro->GetPath(), macro->GetName());
}
}
else
{
Error("AliEveTRDTrackListEditor::UpdateMacroList()",
- Form("Macro list is corrupted: Macro \"%s\" not found!", key->GetName()));
- }
+ "Macro list is corrupted: Macro \"%s\" not found!", key->GetName());
+ }
}
ftlMacroList->SortByName();