// // ******************************************************************** // * DISCLAIMER * // * * // * The following disclaimer summarizes all the specific disclaimers * // * of contributors to this software. The specific disclaimers,which * // * govern, are listed with their locations in: * // * http://cern.ch/geant4/license * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. * // * * // * This code implementation is the intellectual property of the * // * GEANT4 collaboration. * // * By copying, distributing or modifying the Program (or any work * // * based on the Program) you indicate your acceptance of this * // * statement, and all its terms. * // ******************************************************************** // // Satoshi Tanaka 31th April 2001 // A scene handler to dump geometry hierarchy GAG #ifndef G4GAGTREESCENEHANDLER_HH #define G4GAGTREESCENEHANDLER_HH #include "G4VTreeSceneHandler.hh" #include class G4VPhysicalVolume; ///////////////////////////// #include "G4GAGTreeList.hh" class G4String ; ///////////////////////////// /////////////////////////////////////////////////////////////////// // The algorithm of re-generating a geometry tree // of physical volumes (PV): // // In each addition of the N-th PV with a given depth D, P(N;D) to // the tree, we use the following rules: // // R1. We can add P(N;D) to one of the previously-generated PV nodes, // P(N_mother > fLVSet; typedef std::set >::iterator LVSetIterator; std::set > fReplicaSet; typedef std::set >::iterator ReplicaSetIterator; ///////////////////////////// void ClearPVList(void); void InitializePVList(void); G4GAGTreeList fPVNameList ; G4int fPrevDepth ; G4String fPrevAbsPVName ; G4int fPVCounter ; ///////////////////////////// }; #endif