]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSimulation.h
The logics of handling the geometry file for simulation has changed. The variables...
[u/mrichter/AliRoot.git] / STEER / AliSimulation.h
index e268f3e3eff51498f818f37db2336f620aca7c68..1e2ae8497925f78eea09ded2eeb99a6f5d5dbfdc 100644 (file)
@@ -104,6 +104,12 @@ public:
                                   const char* rootFileName = "raw.root");
   virtual Bool_t ConvertRaw2SDigits(const char* rawDirectory, const char* esdFile = "");
 
+  // Sets the name of the file from which the geometry is loaded
+  virtual void SetGeometryFile(const Char_t* filename) {fGeometryFile=filename;}
+  virtual const Char_t* GetGeometryFile() const {return fGeometryFile.Data();}
+  virtual Bool_t IsGeometryFromFile() const {return !fGeometryFile.IsNull();}
+
+
   // HLT
   void SetRunHLT(const char* options) {fRunHLT=options;}
   virtual Bool_t CreateHLT();
@@ -186,13 +192,15 @@ private:
   AliRecoParam::EventSpecie_t fEventSpecie ;            // type of event (see AliRecoParam::EventSpecie_t)
   Bool_t               fWriteQAExpertData ;             //! decides wheter or not to write experts QA data; true by default
 
+  TString              fGeometryFile;                   // Geometry file
+
   //HLT
   TString              fRunHLT;       //! HLT options, HLT is disabled if empty, default='default'
   AliHLTSimulation*    fpHLT;         //! The instance of HLT simulation
 
   Bool_t         fWriteGRPEntry;      // Write or not GRP entry corresponding to the settings in Config.C
 
-  ClassDef(AliSimulation, 10)  // class for running generation, simulation and digitization
+  ClassDef(AliSimulation, 11)  // class for running generation, simulation and digitization
 };
 
 #endif