MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
SpecialIsomer.hxx
Go to the documentation of this file.
1 #ifndef _SPECIALISOMER_
2 #define _SPECIALISOMER_
3 #include <math.h>
4 #include <vector>
5 #include <string>
6 #include <sstream>
7 #include <iostream>
8 #include "MureHeaders.hxx"
9 using namespace std;
15 
32 {
33  public:
35 
45  SpecialIsomer(int z, int a,string Reaction, double ThermalBR, double FastBR,string CutFlag);
46 
47  SpecialIsomer();
48  SpecialIsomer(const SpecialIsomer &is);
49 
50  void SetThermalBR(double br){fBRthermal=br;}
51  void SetFastBR(double br){fBRfast=br;}
52  void SetProductionReaction(string reaction_type);
53  double GetThermalBR(){return fBRthermal;}
54  double GetFastBR(){return fBRfast;}
55  int GetReactionType(){return fReactionCode;}
56  int Z(){return fZ;}
57  int A(){return fA;}
58  void Z(int z){fZ=z;}
59  void A(int a){fA=a;}
60 
62 
68  void AddDaughter(int Zd,int Ad, double DecayBR);
69 
71 
75  bool NGammaProduction(map<int ,map<int ,map<int,ZAI*> > > &TheChart,ZAI *zai);
76 
78 
82  bool N2NProduction(map<int ,map<int ,map<int,ZAI*> > > &TheChart,ZAI *zai);
83 
85 
89  double GetBranchingRatio();
90 
91  private:
92  int fZ;
93  int fA;
95  double fBRthermal;
96  double fBRfast;
97  string fCutFlag;
98  vector<int> fZd;
99  vector<int> fAd;
100  vector<double> fDecayBR;
101 
102 };
103 #endif
int fA
A of the mother.
Definition: SpecialIsomer.hxx:93
vector< int > fAd
A of the decay daughter.
Definition: SpecialIsomer.hxx:99
int GetReactionType()
return the reaction type (mcnp code number 16, 102, ...)
Definition: SpecialIsomer.hxx:55
double fBRthermal
Thermal Branching Ratio.
Definition: SpecialIsomer.hxx:95
int fReactionCode
Reaction code (mcnp type: 102=n_gamma,...)
Definition: SpecialIsomer.hxx:94
double GetFastBR()
return Fast Branching Ratio to Ground State
Definition: SpecialIsomer.hxx:54
Class to define special treatment for some isomers.
Definition: SpecialIsomer.hxx:31
int A()
return A of the mother nucleus
Definition: SpecialIsomer.hxx:57
void Z(int z)
Set Z of the mother nucleus.
Definition: SpecialIsomer.hxx:58
Define a Reaction list for Tally multiplicator inputs.
Definition: Tally.hxx:233
File including all headers.
int Z()
return Z of the mother nucleus
Definition: SpecialIsomer.hxx:56
void SetFastBR(double br)
Set Fast Branching Ratio to Ground State.
Definition: SpecialIsomer.hxx:51
A ZAI defined a (Z,A,Isomere) for a Nucleus.
Definition: ZAI.hxx:62
string fCutFlag
&quot;M&quot; or &quot;X&quot; to know if MURE or user choose what to do with GS
Definition: SpecialIsomer.hxx:97
vector< int > fZd
Z of the decay daughter.
Definition: SpecialIsomer.hxx:98
vector< double > fDecayBR
Branching ratio for the decay.
Definition: SpecialIsomer.hxx:100
double GetThermalBR()
return Thermal Branching Ratio to Ground State
Definition: SpecialIsomer.hxx:53
int fZ
Z of the mother.
Definition: SpecialIsomer.hxx:92
void A(int a)
Set A of the mother nucleus.
Definition: SpecialIsomer.hxx:59
double fBRfast
Fast Branching Ratio.
Definition: SpecialIsomer.hxx:96
void SetThermalBR(double br)
Set Thermal Branching Ratio to Ground State.
Definition: SpecialIsomer.hxx:50

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014