]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/TFlukaMCGeometry.h
Dummy SetDecayMode (Ivana Hrivnacova)
[u/mrichter/AliRoot.git] / TFluka / TFlukaMCGeometry.h
index 88ef81d7a52c021fe5a371f95a91d105143c4d33..768530a43d0188867b8344ff1fbec5766badc131 100644 (file)
@@ -31,21 +31,24 @@ class TFlukaMCGeometry :public TNamed {
     virtual ~TFlukaMCGeometry();
   
     // get methods
+    Int_t         GetNstep();  // to be removed
     Int_t         GetMedium() const;
     Int_t        *GetRegionList(Int_t imed, Int_t &nreg);
     Int_t        *GetMaterialList(Int_t imat, Int_t &nreg);
     Int_t         GetFlukaMaterial(Int_t imed) const;
     Int_t         GetLastMaterialIndex() const {return fLastMaterial;}
     virtual Int_t NofVolumes() const;
-
    // FLUKA specific methods
     void          CreateFlukaMatFile(const char *fname=0);
     void          PrintHeader(ofstream &out, const char *text) const;
     Bool_t        IsDebugging() const {return fDebug;}
     void          SetDebugMode(Bool_t flag=kTRUE) {fDebug = flag;}
-    void          SetMreg(Int_t mreg);
+    void          SetMreg(Int_t mreg, Int_t lttc);
     void          SetCurrentRegion(Int_t mreg, Int_t latt);
     void          GetCurrentRegion(Int_t &mreg, Int_t &latt) const {mreg=fCurrentRegion; latt=fCurrentLattice;}
+    Int_t         GetCurrentRegion() const {return fCurrentRegion;}
+    Int_t         GetDummyRegion() const {return fDummyRegion;}
+    Int_t         GetDummyLattice() const {return kLttcVirtual;}
     void          SetNextRegion(Int_t mreg, Int_t latt);
     void          GetNextRegion(Int_t &mreg, Int_t &latt) const {mreg=fNextRegion; latt=fNextLattice;}
     TGeoMaterial *GetMakeWrongMaterial(Double_t z);
@@ -55,27 +58,28 @@ class TFlukaMCGeometry :public TNamed {
     Int_t         RegionId() const; 
     void          ToFlukaString(TString &str) const;
     void          FlukaMatName(TString &str) const;
-    void          WritePegFile(Int_t imat, Int_t *NoStern, Int_t *ElemError,
-                       Int_t *MixError, Int_t *countGas) const;
-    Double_t *    GetISSB(Double_t rho, Int_t nElem, Double_t *zelem, Double_t *welem ) const;
-
-    Double_t* CreateDoubleArray(Float_t* array, Int_t size) const;
-    void     Vname(const char *name, char *vname) const;
+    Int_t         GetPredefinedMaterialId(Int_t z) const;
+    Double_t*     CreateDoubleArray(Float_t* array, Int_t size) const;
+    void          Vname(const char *name, char *vname) const;
    
   private:
+    // Copy constructor and operator= declared but not implemented (-Weff++ flag)
     TFlukaMCGeometry(const TFlukaMCGeometry& rhs);
-    TFlukaMCGeometry& operator=(const TFlukaMCGeometry& rhs) {return (*this);}
+    TFlukaMCGeometry& operator=(const TFlukaMCGeometry& /*rhs*/); // {return (*this);}
 
     static TFlukaMCGeometry*  fgInstance; // singleton instance
     Bool_t       fDebug;                  // debug flag
     Int_t        fLastMaterial;           // last FLUKA material index
+    Int_t        fDummyRegion;            // index of dummy region
     Int_t        fCurrentRegion;          // current region number
     Int_t        fCurrentLattice;         // current lattice history
     Int_t        fNextRegion;             // next region number
     Int_t        fNextLattice;            // next lattice history
     Int_t       *fRegionList;             //! region list matching a given medium number
+    Int_t        fIndmat;                 // material index where pemf file creation starts
     TObjArray   *fMatList;                //! material list as known by FLUKA
     TObjArray   *fMatNames;               //! list of FLUKA material names
+    
   ClassDef(TFlukaMCGeometry,1)  //Virtual MonteCarlo Interface
 };