GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TestFeeding.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2004 by Olivier Stezowski *
3  * stezow(AT)ipnl.in2p3.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 
23 #ifndef GW_TESTFEEDING_H
24 #define GW_TESTFEEDING_H
25 
26 #ifndef GW_LINK_H
27 #include "Link.h"
28 #endif
29 
30 #ifndef GW_NUCLEARLEVEL_H
31 #include "NuclearLevel.h"
32 #endif
33 
34 #ifndef GW_RANDOM_H
35 #include <Random.h>
36 #endif
37 
38 #ifndef ROOT_TObjArray
39 #include <TObjArray.h>
40 #endif
41 
42 namespace Gw {
43 
44 class TestFeeding : public Link
45 {
46 private:
47  Random *fRand;
48 
49 protected:
51 
52 private:
53  Int_t fNbE1;
54  Int_t fNbE2;
55  TObjArray *fE1;
56  TObjArray *fE2;
57 
58 public:
59  TestFeeding();
60  virtual ~TestFeeding();
61 
63  NuclearLevel & GetFeeding() { return fTop; }
64 
66  virtual Level * SetIL(Level *initial) { return initial; }
67 
69  virtual Int_t DoCascade(TSeqCollection &col, Option_t *opt = "");
70 };
71 
72 }
73 #endif
virtual ~TestFeeding()
Definition: TestFeeding.cpp:60
NuclearLevel fTop
Unique Rand instance.
Definition: TestFeeding.h:50
virtual Level * SetIL(Level *initial)
already exist and always the same
Definition: TestFeeding.h:66
NuclearLevel & GetFeeding()
to modify the entry point, if needed
Definition: TestFeeding.h:63
header file for a NuclearLevel
A nuclear level.
Definition: NuclearLevel.h:66
virtual Int_t DoCascade(TSeqCollection &col, Option_t *opt="")
do cascade
Definition: TestFeeding.cpp:67
header file for Random
To change the internal GammaWare random generator.
Definition: Random.h:64
TestFeeding()
array of E2 transitions
Definition: TestFeeding.cpp:40
Base class describing a general level.
Definition: Level.h:53