#include "TPaveTree.h"
#include "TGeant3.h"
+static TGeant3 *geant3=(TGeant3*)gMC;
+
+
ClassImp(TPaveTree)
//_____________________________________________________________________________
//
// Draw specs of the volume in this TPaveTree
//
- AliMC* pMC = AliMC::GetMC();
-
- pMC->DrawOneSpec(GetLabel());
+ gMC->DrawOneSpec(GetLabel());
}
//_____________________________________________________________________________
//
// Draw tree of the volume in this TPaveTree
//
- TGeant3 *geant3=(TGeant3*)AliMC::GetMC();
geant3->Gdtree(GetLabel(),levmax,isel);
}
//
// Draw parent tree of the volume in this TPaveTree
//
- TGeant3 *geant3=(TGeant3*)AliMC::GetMC();
geant3->GdtreeParent(GetLabel(),levmax,isel);
}
// Invokes TPabeLabel::ExecuteEvent. In case of a double click
// draw specs of volume corresponding to this TPaveTree
//
- AliMC* pMC = AliMC::GetMC();
TPaveLabel::ExecuteEvent(event,px,py);
if (event == kButton1Double) {
//printf("TPaveTree::ExecuteEvent\n");
gPad->SetCursor(kWatch);
- pMC->DrawOneSpec(GetLabel());
+ gMC->DrawOneSpec(GetLabel());
}
}