GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Int_t BaseGEM::DoCascade ( TSeqCollection &  cascade,
Option_t *  opt = "" 
)
virtual

cascade simulation

Fill the collection with the Links of the randomly determined path. The 'entry point' is determined randomly. If you would like to fix the enty point, you should use DoCascade(TSeqCollection &cas, Int_t from, Option_t *opt = "")

The cascade is cleared before running the Monte-Carlo unless the option contains add.
The sequence is ordered from the top to the bottom. Thus the first link gives the entry point in the level scheme. The order could be modified with SetDirection()

It returns the number of links added to the cascade

Reimplemented in Gw::GEM.

Definition at line 523 of file BaseGEM.cpp.