#ifndef ROOT_TG4RootNavMgr
#define ROOT_TG4RootNavMgr
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TGeoManager;
class TG4RootNavigator;
class TG4RootDetectorConstruction;
class TVirtualUserPostDetConstruction;
class TG4RootNavMgr : public TObject {
protected:
TGeoManager *fGeometry;
TG4RootNavigator *fNavigator;
TG4RootDetectorConstruction *fDetConstruction;
Bool_t fConnected;
TG4RootNavMgr();
TG4RootNavMgr(TGeoManager *geom);
private:
static TG4RootNavMgr *fRootNavMgr;
public:
static TG4RootNavMgr *GetInstance(TGeoManager *geom=0);
virtual ~TG4RootNavMgr();
Bool_t ConnectToG4();
void Initialize(TVirtualUserPostDetConstruction *sdinit=0);
void LocateGlobalPointAndSetup(Double_t *pt, Double_t *dir=0);
void PrintG4State() const;
void SetVerboseLevel(Int_t level);
void SetNavigator(TG4RootNavigator *nav);
TG4RootNavigator *GetNavigator() const {return fNavigator;}
TG4RootDetectorConstruction *GetDetConstruction() const {return fDetConstruction;}
ClassDef(TG4RootNavMgr,0)
};
#endif
Last change: Wed Jun 25 08:39:25 2008
Last generated: 2008-06-25 08:39
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.