/*
$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.
#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_
//
// Zero number of particles
fNPDGCodes=0;
- fDecayer=new AliDecayerPythia();
- fForceDecay = all;
+ fDecayer=0;
}
//____________________________________________________________________________
//
// Steering function to process one event
//
-
- fDecayer->ForceDecay(fForceDecay);
gtrig();
}
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;
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---------------------
protected:
AliDecayer* fDecayer; // Pointer to decayer
- Decay_t fForceDecay; // Forced decay modes
-
private:
TGeant3(const TGeant3 &) {}
TGeant3 & operator=(const TGeant3&) {return *this;}