]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveBase/AliEveHFEditor.cxx
Avoid jumping of entries in data-selector window -- restore scrollbar position after...
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveHFEditor.cxx
index 8336075620ae751267d54d46f95d1e272eea070b..72ff283316ad842a5f5921c49740dbc7af6e141f 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "TVirtualPad.h"
 #include "TColor.h"
+#include <TDatabasePDG.h>
 
 #include <TEveTrack.h>
 
@@ -129,7 +130,7 @@ void AliEveHFEditor::DisplayDetailed()
   lhfTransverseMomentumDirection->SetLineWidth(2);
   Float_t scalePt = 100.; // this needs to be available as a ruler
   lhfTransverseMomentumDirection->SetPoint(0,fM->fRecDecayHF.fX, fM->fRecDecayHF.fY, fM->fRecDecayHF.fZ);
-  lhfTransverseMomentumDirection->SetPoint(1,scalePt*fM->fRecDecayP_HF.fX, scalePt*fM->fRecDecayP_HF.fY,0);
+  lhfTransverseMomentumDirection->SetPoint(1,scalePt*fM->fRecDecayMomHF.fX, scalePt*fM->fRecDecayMomHF.fY,0);
 
   TEvePointSet *pvlocation = new TEvePointSet("PV location");
   pvlocation->SetNextPoint(fM->fRecBirthHF.fX, fM->fRecBirthHF.fY, fM->fRecBirthHF.fZ);