27 #ifndef GW_TESTFEEDING_H
43 GEM::Clear(
"");
if ( fFeeding )
delete fFeeding; fFeeding = NULL;
49 TString type = feedingtype;
51 Link *
tmp = fFeeding; fFeeding = NULL;
54 if ( type.Contains(
"TestFeeding") ) { fFeeding =
new TestFeeding(); }
65 else cout <<
" ** WARNING ** in GEM::SetExI, no feeding link defined ! " <<
endl;
75 Level *entrypoint; TString opt = o; Int_t result = 0;
80 entrypoint = ((
Link *)cas.Last())->GetIL();
void SetExI(Float_t E, Float_t I)
starting point in the ExI plan from which starts the gamma-ray emission
void Set(Int_t n, Int_t d=1)
To set the spin.
virtual Int_t DoCascade(TSeqCollection &, Option_t *opt="")
starting point in the ExI plan from which starts the gamma-ray emission
Class to get randomly cascades (with lateral feeding) of gammas on the basis of a level scheme...
void SetValue(Data_T data)
set the value, cannot be overloaded
virtual void Clear(Option_t *opt="all")
Clear everything.
Class to get randomly cascades of gammas on the basis of a level scheme.
virtual Level * GetIL()
to get the initial level
Link * SetFeeding(const char *feedingtype="TestFeeding")
A link between two levels.
virtual Int_t DoCascade(TSeqCollection &, Option_t *="")
to add this link to a cascade
virtual void Clear(Option_t *opt="all")
Clear everything.
Measure< Float_t > & GetEnergy()
header file for a GEM (gamma-rays generator)
GEM()
to be called to init the random generator
virtual Int_t DoCascade(TSeqCollection &cascade, Option_t *opt="")
cascade simulation
ADF::LogMessage & endl(ADF::LogMessage &log)
virtual Level * SetFL(Level *final)
to change the final level - return the previous one
Spin & GetSpin()
to get the spin and modify it if it is needed
header file for a GEM (gamma-rays generator)
Base class describing a general level.