X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVE%2FEveBase%2FAliEveJetPlane.cxx;h=755b12fbf6fc6a2605b6c357112f0f855b817e77;hb=a15e6d7d7c80edcd0858dcdfd1d4bc5a888b9bf4;hp=7d341eac5648bf8cb9da7cfd46bf9bbbd67ef478;hpb=365c0ea42367296d0357c68dcf2b9b00e1140a80;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVE/EveBase/AliEveJetPlane.cxx b/EVE/EveBase/AliEveJetPlane.cxx index 7d341eac564..755b12fbf6f 100644 --- a/EVE/EveBase/AliEveJetPlane.cxx +++ b/EVE/EveBase/AliEveJetPlane.cxx @@ -8,7 +8,9 @@ **************************************************************************/ #include "AliEveJetPlane.h" -#include + +#include + #include #include #include @@ -17,6 +19,8 @@ //______________________________________________________________________________ // // Show jets and tracks in eta-phi plane. +// +// ClassImp(AliEveJetPlane) @@ -46,7 +50,6 @@ AliEveJetPlane::AliEveJetPlane(Int_t iev) : fGridColor(5), - fHMTrans(), fJets(), fTracks(), @@ -61,6 +64,7 @@ AliEveJetPlane::AliEveJetPlane(Int_t iev) : fSelectionFlag (1) { SetMainColorPtr(&fGridColor); + InitMainTrans(); } /******************************************************************************/ @@ -103,7 +107,7 @@ void AliEveJetPlane::Paint(Option_t* /*option*/) buff.fID = this; buff.fColor = fGridColor; buff.fTransparency = 0; - fHMTrans.SetBuffer3D(buff); + if (HasMainTrans()) RefMainTrans().SetBuffer3D(buff); buff.SetSectionsValid(TBuffer3D::kCore); Int_t reqSections = gPad->GetViewer3D()->AddObject(buff);