]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant3/TPaveTree.cxx
Buffer Size can be defined
[u/mrichter/AliRoot.git] / TGeant3 / TPaveTree.cxx
index acdb8a6d7dbaed23fe11b58ed6e2b30242617815..80713d91c03e9583f5702106309ad420fffa69c1 100644 (file)
@@ -1,3 +1,25 @@
+/**************************************************************************
+ * 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                              //
@@ -26,8 +48,6 @@
 #include "TPaveTree.h"
 #include "TGeant3.h"
 
-static TGeant3 *geant3=(TGeant3*)gMC;
-
 
 ClassImp(TPaveTree)
 
@@ -58,24 +78,6 @@ TPaveTree::~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()
 {
@@ -91,7 +93,7 @@ void TPaveTree::DrawTree(Int_t levmax, Int_t isel)
   //
   //  Draw tree of the volume in this TPaveTree
   //
-  geant3->Gdtree(GetLabel(),levmax,isel);
+  ((TGeant3*)gMC)->Gdtree(GetLabel(),levmax,isel);
 }
 
 //_____________________________________________________________________________
@@ -100,7 +102,7 @@ void TPaveTree::DrawTreeParent(Int_t levmax, Int_t isel)
   //
   //  Draw parent tree of the volume in this TPaveTree
   //
-  geant3->GdtreeParent(GetLabel(),levmax,isel);
+  ((TGeant3*)gMC)->GdtreeParent(GetLabel(),levmax,isel);
 }
 
 //_____________________________________________________________________________