/*
$Log$
+Revision 1.21 2000/09/08 15:39:01 morsch
+Handle the case fForceDecay=all during the generation, i.e. select all secondaries.
+
Revision 1.20 2000/09/06 14:35:44 morsch
Use AliDecayerPythia for particle decays.
}
//
// particle decay related initialization
+ fDecayer->SetForceDecay(fForceDecay);
fDecayer->Init();
-// semimuonic decays of charm and beauty
- fDecayer->ForceDecay(fForceDecay);
+
//
switch (fForceDecay)
{
// setting fForceDecay = nodecay (SetForceDecay(nodecay))
//
-
+ fDecayer->ForceDecay();
Float_t polar[3]= {0,0,0}; // Polarisation of the parent particle (for GEANT tracking)
Float_t origin0[3]; // Origin of the generated parent particle (for GEANT tracking)
Float_t pt, pl, ptot; // Transverse, logitudinal and total momenta of the parent particle
/*
$Log$
+Revision 1.20 2000/09/06 14:29:33 morsch
+Use AliPythia for event generation an AliDecayPythia for decays.
+Correct handling of "nodecay" option
+
Revision 1.19 2000/07/11 18:24:56 fca
Coding convention corrections + few minor bug fixes
// gSystem->Exec("ln -s $ALICE_ROOT/data/Decay.table fort.1");
// fPythia->Pyupda(2,1);
// gSystem->Exec("rm fort.1");
-
+
+ fDecayer->SetForceDecay(fForceDecay);
fDecayer->Init();
- fDecayer->ForceDecay(fForceDecay);
+
fPythia->SetCKIN(3,fPtHardMin);
fPythia->SetCKIN(4,fPtHardMax);
void AliGenPythia::Generate()
{
// Generate one event
- fDecayer->ForceDecay(fForceDecay);
+ fDecayer->ForceDecay();
Float_t polar[3] = {0,0,0};
Float_t origin[3]= {0,0,0};