Hi @OSchaile as you can see in the attachment of the previous message, I wrote that code…
In your code:
root [0] TString varh3 = TString::Format("EndStepPos.z : EndStepPos.y : EndStepPos.x >> h3DHit","","goff");
ROOT_prompt_0:1:88: warning: data argument not used by format string [-Wformat-extra-args]
TString varh3 = TString::Format("EndStepPos.z : EndStepPos.y : EndStepPos.x >> h3DHit","","goff");
root [1] cout << varh3
EndStepPos.z : EndStepPos.y : EndStepPos.x >> h3DHit(std::ostream &) @0x7f19acc5ce60
This is not what I proposed:
t1->Draw(“EndStepPos.z : EndStepPos.y : EndStepPos.x>> h3DHit”,"",“goff”);
Otto
Thank @OSchaile it worked
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.