]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
No instance of AliDecayer created to initialize fDecayer.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Sep 2000 14:27:10 +0000 (14:27 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Sep 2000 14:27:10 +0000 (14:27 +0000)
TGeant3/TGeant3.cxx
TGeant3/TGeant3.h

index a7808cfc4a42b6f468b909ed3c8040a3f95ff2c6..498ee8c44b197892c627049c6a9a4cde41ddcf22 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.34  2000/09/07 12:12:01  morsch
+Comment inside comment removed.
+
 Revision 1.33  2000/09/06 16:03:42  morsch
 Set ExternalDecayer, Decayer  and SetForceDecay methods added.
 Gspart calls for charmed and bottom hadrons added.
@@ -101,9 +104,8 @@ Introduction of the Copyright and cvs Log
 #include "THIGZ.h" 
 #include "ctype.h" 
 #include <TDatabasePDG.h>
-#include "AliDecayer.h"
-#include "AliDecayerPythia.h"
 #include "AliCallf77.h" 
+#include "AliDecayer.h" 
  
 #ifndef WIN32 
 # define gzebra  gzebra_ 
@@ -560,8 +562,7 @@ TGeant3::TGeant3(const char *title, Int_t nwgeant)
   //
   // Zero number of particles
   fNPDGCodes=0;
-  fDecayer=new AliDecayerPythia();
-  fForceDecay = all;
+  fDecayer=0;
 } 
 
 //____________________________________________________________________________ 
@@ -1891,8 +1892,6 @@ void  TGeant3::Gtrig()
   //
   // Steering function to process one event
   //  
-
-  fDecayer->ForceDecay(fForceDecay);
   gtrig(); 
 } 
  
index d07583a85720fa25bec5c660644e347743646245..fe94eee2e7d553b19954a11e95d8b404a978d9f9 100644 (file)
@@ -588,8 +588,11 @@ public:
   void SetCut(const char* cutName, Float_t cutValue);
   void SetProcess(const char* flagName, Int_t flagValue);
   //  void GetParticle(const Int_t pdg, char *name, Float_t &mass) const;
+  // Set the external decayer
   void SetExternalDecayer(AliDecayer* decayer) {fDecayer=decayer;}
-  void SetForceDecay(Decay_t decay) {fForceDecay=decay;}
+  // Get the external decayer
+  AliDecayer* Decayer() const {return fDecayer;}
+
   virtual Int_t GetMedium() const;
   virtual Float_t Edep() const;
   virtual Float_t Etot() const;
@@ -828,10 +831,7 @@ public:
   virtual void FinishGeometry();
   virtual void BuildPhysics();
 
-  // Get pointer to external decayer
-  virtual AliDecayer* Decayer() {return fDecayer;}
-
-protected:
+ protected:
   Int_t fNextVol;    // Iterator for GeomIter
 
 //--------------Declarations for ZEBRA--------------------- 
@@ -883,8 +883,6 @@ protected:
 
 protected:
     AliDecayer* fDecayer;      // Pointer to decayer
-    Decay_t     fForceDecay;   // Forced decay modes
-
 private:
   TGeant3(const TGeant3 &) {}
   TGeant3 & operator=(const TGeant3&) {return *this;}