91   printf(
"___________________________________________________________\n");
 
   92   printf(
"Radioactive material:\n");
 
   96   printf(
"Radioactive material evolution after %g years:\n", time / 3.1536e7);
 
  102   printf(
"___________________________________________________________\n");
 
  103   printf(
"Radioactive mixture:\n");
 
  107   printf(
"Radioactive mixture evolution after %g seconds:\n", time);
 
  112   mat->FillMaterialEvolution(
vect);
 
  115   tex->SetTextSize(0.0388601);
 
  116   tex->SetLineWidth(2);
 
  118   tex = 
new TLatex(3.33e11, 0.0620678, 
"C_{C^{14}_{6}}");
 
  119   tex->SetTextSize(0.0388601);
 
  120   tex->SetLineWidth(2);
 
  122   tex = 
new TLatex(9.4e11, 0.098, 
"C_{X}=#frac{N_{X}(t)}{N_{0}(t=0)}=\ 
  123   #sum_{j}#alpha_{j}e^{-#lambda_{j}t}");
 
  124   tex->SetTextSize(0.0388601);
 
  125   tex->SetLineWidth(2);
 
  131   pt->
AddText(
"Time evolution of a population of radionuclides.");
 
  132   pt->
AddText(
"The concentration of a nuclide X represent the  ");
 
  133   pt->
AddText(
"ratio between the number of X nuclei and the    ");
 
  134   pt->
AddText(
"number of nuclei of the top element of the decay");
 
  135   pt->
AddText(
"from which X derives from at T=0.               ");
 
  143   tex = 
new TLatex(0.019, 0.861, 
"C_{Ca^{53}_{20}}");
 
  144   tex->SetTextSize(0.0388601);
 
  145   tex->SetTextColor(1);
 
  147   tex = 
new TLatex(0.0311, 0.078064, 
"C_{Sc^{52}_{21}}");
 
  148   tex->SetTextSize(0.0388601);
 
  149   tex->SetTextColor(2);
 
  151   tex = 
new TLatex(0.1337, 0.010208, 
"C_{Ti^{52}_{22}}");
 
  152   tex->SetTextSize(0.0388601);
 
  153   tex->SetTextColor(3);
 
  155   tex = 
new TLatex(1.54158, 0.00229644, 
"C_{V^{52}_{23}}");
 
  156   tex->SetTextSize(0.0388601);
 
  157   tex->SetTextColor(4);
 
  159   tex = 
new TLatex(25.0522, 0.00135315, 
"C_{Cr^{52}_{24}}");
 
  160   tex->SetTextSize(0.0388601);
 
  161   tex->SetTextColor(5);
 
  163   tex = 
new TLatex(0.1056, 0.5429, 
"C_{Sc^{53}_{21}}");
 
  164   tex->SetTextSize(0.0388601);
 
  165   tex->SetTextColor(6);
 
  167   tex = 
new TLatex(0.411, 0.1044, 
"C_{Ti^{53}_{22}}");
 
  168   tex->SetTextSize(0.0388601);
 
  169   tex->SetTextColor(7);
 
  171   tex = 
new TLatex(2.93358, 0.0139452, 
"C_{V^{53}_{23}}");
 
  172   tex->SetTextSize(0.0388601);
 
  173   tex->SetTextColor(8);
 
  175   tex = 
new TLatex(10.6235, 0.00440327, 
"C_{Cr^{53}_{24}}");
 
  176   tex->SetTextSize(0.0388601);
 
  177   tex->SetTextColor(9);
 
  179   tex = 
new TLatex(15.6288, 0.782976, 
"C_{Sr^{78}_{38}}");
 
  180   tex->SetTextSize(0.0388601);
 
  181   tex->SetTextColor(1);
 
  183   tex = 
new TLatex(20.2162, 0.141779, 
"C_{Rb^{78}_{37}}");
 
  184   tex->SetTextSize(0.0388601);
 
  185   tex->SetTextColor(2);
 
  187   tex = 
new TLatex(32.4055, 0.0302101, 
"C_{Kr^{78}_{36}}");
 
  188   tex->SetTextSize(0.0388601);
 
  189   tex->SetTextColor(3);
 
  191   tex = 
new TLatex(117., 1.52, 
"C_{X}=#frac{N_{X}(t)}{N_{0}(t=0)}=#sum_{j}\ 
  192   #alpha_{j}e^{-#lambda_{j}t}");
 
  193   tex->SetTextSize(0.03);
 
  194   tex->SetLineWidth(2);
 
  197   arrow->SetFillColor(1);
 
  198   arrow->SetFillStyle(1001);
 
  199   arrow->SetLineWidth(2);
 
  202   arrow = 
new TArrow(0.0543138, 0.0586338, 0.136594, 0.0146596, 0.02, 
">");
 
  203   arrow->SetFillColor(1);
 
  204   arrow->SetFillStyle(1001);
 
  205   arrow->SetLineWidth(2);
 
  208   arrow = 
new TArrow(0.31528, 0.00722919, 1.29852, 0.00306079, 0.02, 
">");
 
  209   arrow->SetFillColor(1);
 
  210   arrow->SetFillStyle(1001);
 
  211   arrow->SetLineWidth(2);
 
  214   arrow = 
new TArrow(4.13457, 0.00201942, 22.5047, 0.00155182, 0.02, 
">");
 
  215   arrow->SetFillColor(1);
 
  216   arrow->SetFillStyle(1001);
 
  217   arrow->SetLineWidth(2);
 
  220   arrow = 
new TArrow(0.0543138, 0.761893, 0.0928479, 0.67253, 0.02, 
">");
 
  221   arrow->SetFillColor(1);
 
  222   arrow->SetFillStyle(1001);
 
  223   arrow->SetLineWidth(2);
 
  226   arrow = 
new TArrow(0.238566, 0.375717, 0.416662, 0.154727, 0.02, 
">");
 
  227   arrow->SetFillColor(1);
 
  228   arrow->SetFillStyle(1001);
 
  229   arrow->SetLineWidth(2);
 
  232   arrow = 
new TArrow(0.653714, 0.074215, 2.41863, 0.0213142, 0.02, 
">");
 
  233   arrow->SetFillColor(1);
 
  234   arrow->SetFillStyle(1001);
 
  235   arrow->SetLineWidth(2);
 
  238   arrow = 
new TArrow(5.58256, 0.00953882, 10.6235, 0.00629343, 0.02, 
">");
 
  239   arrow->SetFillColor(1);
 
  240   arrow->SetFillStyle(1001);
 
  241   arrow->SetLineWidth(2);
 
  244   arrow = 
new TArrow(22.0271, 0.601935, 22.9926, 0.218812, 0.02, 
">");
 
  245   arrow->SetFillColor(1);
 
  246   arrow->SetFillStyle(1001);
 
  247   arrow->SetLineWidth(2);
 
  250   arrow = 
new TArrow(27.2962, 0.102084, 36.8557, 0.045686, 0.02, 
">");
 
  251   arrow->SetFillColor(1);
 
  252   arrow->SetFillStyle(1001);
 
  253   arrow->SetLineWidth(2);
 
  268   for (
Int_t i = 0; i < 
n; i++) {
 
  270      if (!
el->IsRadioNuclide())
 
  275         sol->SetLineColor(1 + (i % 9));
 
  276         sol->SetLineWidth(2);
 
  278            sol->SetRange(tmin, tmax);
 
  281            TF1 *func = (
TF1 *)
can->FindObject(
Form(
"conc%s", 
sol->GetElement()->GetName()));
 
  284                  func->
SetTitle(
"Concentration of C14 derived elements;time[s];Ni/N0(C14)");
 
  286                  func->
SetTitle(
"Concentration of elements derived from mixture Ca53+Sr78;\ 
  287                  time[s];Ni/N0(Ca53)");
 
bool Bool_t
Boolean (0=false, 1=true) (bool)
 
int Int_t
Signed integer 4 bytes (int)
 
double Double_t
Double 8 bytes.
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TGeoManager * gGeoManager
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
Draw all kinds of Arrows.
 
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
 
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
 
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
 
void SetTitle(const char *title="") override
Set function title if title has the form "fffffff;xxxx;yyyy", it is assumed that the function title i...
 
Class representing the Bateman solution for a decay branch.
 
TGeoElementRN * GetElementRN(Int_t ENDFcode) const
Retrieve a radionuclide by ENDF code.
 
Base class for chemical elements.
 
The manager class for any TGeo geometry.
 
TGeoElementTable * GetElementTable()
Returns material table. Creates it if not existing.
 
Base class describing materials.
 
void AddElement(Double_t a, Double_t z, Double_t weight)
add an element to the mixture using fraction by weight Check if the element is already defined
 
TGeoMaterial * DecayMaterial(Double_t time, Double_t precision=0.001) override
Create the mixture representing the decay product of this material at a given time.
 
void FillMaterialEvolution(TObjArray *population, Double_t precision=0.001) override
Fills a user array with all the elements deriving from the possible decay of the top elements composi...
 
void Print(const Option_t *option="") const override
print characteristics of this material
 
To draw Mathematical Formula.
 
A Pave (see TPave) with text, lines or/and boxes inside.
 
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
 
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.