Hi,
in reality the macros you are referring are not updated anymore, because of the changes of the code last June
However, the lines:
lhe->Draw("LhePidTrack.GetMomentum().Mag()>>momlhe(100,0.5,1.5)","","goff");
momlhe->GetXaxis()->SetTitle("Momentum [GeV/c]");
fit->Draw("LheGenTrack.getMom().Mag()>>momfit(100,0.5,1.5)","","goff");
momfit->GetXaxis()->SetTitle("Momentum [GeV/c]");
should become:
lhe->Draw("LheTrack.GetParamFirst().GetMomentum().Mag()>>momlhe(100,0.5,1.5)","","goff");
momlhe->GetXaxis()->SetTitle("Momentum [GeV/c]");
fit->Draw("LheGenTrack.GetParamFirst().GetMomentum().Mag()>>momfit(100,0.5,1.5)","","goff");
momfit->GetXaxis()->SetTitle("Momentum [GeV/c]");
Becuase now all the tracks have a "PndTrack" structure.
Fixed in svn.
[Updated on: Tue, 03 November 2009 14:06]
Report message to a moderator