30 void oneLS(
const Char_t *filename,
const Char_t *nucleus, Int_t nbcas = 100)
34 if ( random.
Import(filename,nucleus) == 0 ) {
35 cout <<
" Level Scheme not correctly loaded " <<
endl;
return;
39 TH1F *K =
new TH1F(
"K",
"K",100,0,100);
40 TH1F *h =
new TH1F(
"ProjTot",
"ProjTot",8192,0,4096);
44 for (Int_t i = 0; i < nbcas; i++ ) {
48 K->Fill(cas.GetSize()) ;
49 for (Int_t j = 0; j < cas.GetSize(); j++ ) {
62 void testfeeding(
const Char_t *filename,
const Char_t *nucleus, Int_t nbcas = 100)
66 if ( random.
Import(filename,nucleus) == 0 ) {
67 cout <<
" Level Scheme not correctly loaded " <<
endl;
return;
73 TH1F *K =
new TH1F(
"K",
"K",100,0,100);
74 TH1F *h =
new TH1F(
"ProjTot",
"ProjTot",8192,0,4096);
78 for (Int_t i = 0; i < nbcas; i++ ) {
82 K->Fill(cas.GetSize()) ;
83 for (Int_t j = 0; j < cas.GetSize(); j++ ) {
void SetExI(Float_t E, Float_t I)
starting point in the ExI plan from which starts the gamma-ray emission
A cascade is a list of links.
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...
Class to get randomly cascades of gammas on the basis of a level scheme.
Link * SetFeeding(const char *feedingtype="TestFeeding")
void oneLS(const Char_t *filename, const Char_t *nucleus, Int_t nbcas=100)
Function to make a monte carlo on any AGS/or ENSDF file.
virtual Data_T Get() const
get the value, can be overloaded
void testfeeding(const Char_t *filename, const Char_t *nucleus, Int_t nbcas=100)
Function to make a monte carlo on any AGS/or ENSDF file.
virtual Measure< Float_t > & GetEnergy()
to get/modify the gamma-ray energy and its error
virtual void Draw(Option_t *opt="")
virtual Int_t DoCascade(TSeqCollection &cascade, Option_t *opt="")
cascade simulation
ADF::LogMessage & endl(ADF::LogMessage &log)
virtual Int_t Import(const Char_t *, Option_t *opt="152DY")
Load the level scheme and init the Monte-Carlo.
A GammaLink binds two nuclear levels.