]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/TFluka.h
Added note if file size == 0.
[u/mrichter/AliRoot.git] / TFluka / TFluka.h
index 1231b0beda1d26e80fc16998bf78f8f501dcd6fe..c8dec479c8654acc80f9dbc59a7623938b7c8036 100644 (file)
@@ -24,6 +24,7 @@
 class TG4GeometryManager;
 class TG4DetConstruction;
 class TClonesArray;
+class TGeoMaterial;
 
 
 class TFluka : public TVirtualMC {
@@ -247,6 +248,8 @@ class TFluka : public TVirtualMC {
     virtual Double_t ParticleCharge(int) const {return 0.;}
     virtual Double_t ParticleLifeTime(int) const {return 0.;}
     virtual TMCParticleType ParticleMCType(int) const {return (TMCParticleType) 0;}
+    void   SetDummyBoundary(Int_t mode) {fDummyBoundary = mode;}
+    Int_t  GetDummyBoundary() const {return fDummyBoundary;}
   //
   // control methods
   // ------------------------------------------------
@@ -324,32 +327,28 @@ class TFluka : public TVirtualMC {
   void SetTrackIsExiting() {fTrackIsExiting  = kTRUE; fTrackIsEntering = kFALSE;}
   void SetTrackIsInside()  {fTrackIsExiting  = kFALSE; fTrackIsEntering = kFALSE;}
   void SetTrackIsNew(Bool_t flag=kTRUE) {fTrackIsNew = flag;}
-  //
-  // test
-  // ------------------------------------------------
-  //
-  virtual void     FutoTest() ;
 
  private:
   TFluka(const TFluka &mc): TVirtualMC(mc) {;}
   TFluka & operator=(const TFluka &) {return (*this);}
-
+                                                                                
  protected:
   Int_t   fVerbosityLevel; //Verbosity level (0 lowest - 3 highest)
-
+                                                                                
   TString sInputFileName;     //Name of the real input file (e.g. alice.inp)
   TString sCoreInputFileName; //Name of the input file (e.g. corealice.inp)
-
+                                                                                
   Int_t    fCaller; //Parameter to indicate who is the caller of the Fluka Draw
-  Int_t    fIcode;  //Fluka Draw procedures formal parameter 
+  Int_t    fIcode;  //Fluka Draw procedures formal parameter
   Int_t    iNewreg; //Fluka Draw procedures formal parameter
   Double_t fRull;   //Fluka Draw procedures formal parameter
   Double_t fXsco;   //Fluka Draw procedures formal parameter
   Double_t fYsco;   //Fluka Draw procedures formal parameter
   Double_t fZsco;   //Fluka Draw procedures formal parameter
   Bool_t   fTrackIsEntering;  // Flag for track entering
-  Bool_t   fTrackIsExiting;   // Flag for track exiting  
+  Bool_t   fTrackIsExiting;   // Flag for track exiting
   Bool_t   fTrackIsNew;       // Flag for new track
+                                                                                
   //variables for SetProcess and SetCut
   Int_t    iNbOfProc;
   Int_t    iProcessValue[100];
@@ -357,18 +356,17 @@ class TFluka : public TVirtualMC {
   Int_t    iNbOfCut;
   Double_t fCutValue[100];
   Char_t   sCutFlag[100][7];
-
-
+  Int_t    fDummyBoundary;
+  
   //Geometry through Geant4 for the time being!!!
   TG4GeometryManager*  fGeometryManager; //Geometry manager
   TG4DetConstruction*  fDetector;        //Detector
-
+                                                                                
   TClonesArray*        fVolumeMediaMap;  //!Transient list of volumes
+
   Int_t                fNVolumes;        //!Current number of volumes
   Int_t*               fMediaByRegion;   //!Media by Fluka region
-
-  
-  Int_t fCurrentFlukaRegion; //Index of fluka region at each step
+  Int_t                fCurrentFlukaRegion; //Index of fluka region at each step
   ClassDef(TFluka,1)  //C++ interface to Fluka montecarlo
 };