+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/*
+$Log$
+Revision 1.5 1999/09/29 09:24:31 fca
+Introduction of the Copyright and cvs Log
+
+*/
+
///////////////////////////////////////////////////////////////////////////////
// //
// Interface Class to the Geant3.21 MonteCarlo //
#include "TPaveTree.h"
#include "TGeant3.h"
-static TGeant3 *geant3=(TGeant3*)gMC;
-
ClassImp(TPaveTree)
//
}
-//_____________________________________________________________________________
-TPaveTree::TPaveTree(const TPaveTree &PaveTree)
-{
- //
- // Copy Constructor
- //
- ((TPaveTree&)PaveTree).Copy(*this);
-}
-
-//_____________________________________________________________________________
-void TPaveTree::Copy(TObject &obj)
-{
- //
- // Copy this PaveTree to PaveTree
- //
- TPaveLabel::Copy(obj);
-}
-
//_____________________________________________________________________________
void TPaveTree::DrawSpec()
{
//
// Draw tree of the volume in this TPaveTree
//
- geant3->Gdtree(GetLabel(),levmax,isel);
+ ((TGeant3*)gMC)->Gdtree(GetLabel(),levmax,isel);
}
//_____________________________________________________________________________
//
// Draw parent tree of the volume in this TPaveTree
//
- geant3->GdtreeParent(GetLabel(),levmax,isel);
+ ((TGeant3*)gMC)->GdtreeParent(GetLabel(),levmax,isel);
}
//_____________________________________________________________________________