X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliRun.h;h=855b1cafede4caa5794dd79c61f0f6ba9e224e73;hb=4a9de4afd662a8edd3465f75afbc9be3be45d940;hp=e97ba7673d760faaf64e4e04001a9819a35e8468;hpb=f4d690e960ca1a1ce8b1bb84fd310963502b3fae;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliRun.h b/STEER/AliRun.h index e97ba7673d7..855b1cafede 100644 --- a/STEER/AliRun.h +++ b/STEER/AliRun.h @@ -79,7 +79,10 @@ public: virtual void Init(const char *setup="Config.C") {InitMC(setup);} Bool_t IsFolder() const {return kTRUE;} virtual AliLego* Lego() const {return fLego;} - + Bool_t IsRootGeometry() const {return fIsRootGeometry;} + void SetRootGeometry(Bool_t flag=kTRUE); + const char* GetGeometryFileName() const {return fGeometryFileName.Data();} + void SetGeometryFileName(const char *name) {fGeometryFileName = name;} virtual void ResetDigits(); virtual void ResetSDigits(); virtual void ResetPoints(); @@ -156,7 +159,8 @@ protected: TString fConfigFunction; // Configuration file to be executed TRandom *fRandom; // Pointer to the random number generator TString fBaseFileName; // Name of the base root file - + Bool_t fIsRootGeometry; //! Flag telling if the geometry is loaded from file + TString fGeometryFileName; //! Name of the geometry file AliRunLoader *fRunLoader; //!run getter - written as a separate object private: void Copy(TObject &arun) const;