Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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.
|
||||
//
|
||||
// $Id: G4TransportationManager.hh,v 2.1 1998/07/12 02:58:22 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 inlude file implementation
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, IT Division (formely CN), ASD group
|
||||
// ------------------------------------------------------------
|
||||
//
|
||||
// A singleton class which stores the (volume) navigator used by
|
||||
// the transportation process to do the geometrical tracking.
|
||||
// It also stores a pointer to the propagator used in a (magnetic)
|
||||
// field and to the field manager.
|
||||
// The class instance is created before main() is called, and
|
||||
// in turn creates the navigator and the rest.
|
||||
//
|
||||
// =======================================================================
|
||||
// Created: 10 March 1997, J. Apostolakis
|
||||
// =======================================================================
|
||||
#ifndef G4TransportationManager_hh
|
||||
#define G4TransportationManager_hh
|
||||
|
||||
#include "G4Navigator.hh"
|
||||
|
||||
class G4PropagatorInField;
|
||||
class G4FieldManager;
|
||||
|
||||
class G4TransportationManager
|
||||
{
|
||||
public:
|
||||
static G4TransportationManager* GetTransportationManager();
|
||||
|
||||
G4Navigator* GetNavigatorForTracking();
|
||||
G4PropagatorInField* GetPropagatorInField();
|
||||
G4FieldManager* GetFieldManager();
|
||||
|
||||
void SetNavigatorForTracking( G4Navigator* newNavigator);
|
||||
void SetPropagatorInField( G4PropagatorInField* newFieldPropagator);
|
||||
void SetFieldManager( G4FieldManager* newFieldManager);
|
||||
|
||||
~G4TransportationManager();
|
||||
|
||||
private:
|
||||
G4Navigator* fNavigatorForTracking ;
|
||||
G4PropagatorInField* fPropagatorInField;
|
||||
G4FieldManager* fFieldManager;
|
||||
|
||||
G4TransportationManager();
|
||||
// Must we also declare a null copy constructor ??
|
||||
|
||||
static G4TransportationManager fTransportationManager;
|
||||
};
|
||||
|
||||
#include "G4TransportationManager.icc"
|
||||
|
||||
#endif
|
||||
// end of #ifndef G4TransportationManager_hh
|
||||
Reference in New Issue
Block a user