Pluto v6.3.0
Loading...
Searching...
No Matches
conversion_demo.C
Go to the documentation of this file.
1{
2
3
4 PReaction my_reaction("_T1 = 2.2","p","p","p p eta [g g]", "eta_conv",0,0,1,1);
5
6 Float_t Zmean = 79;
7 Float_t pconv = 20.; // 0 => do lookup, >0 => use fixed value
9 conv->SetVertex(1,2,3);
10
11 //if(conv->readHist("HGeantSim_white_gamma_vertex.root")<0){
12 // cout<<"COULD NOT READ VERTEXHIST!"<<endl;
13 //} else {
14 // cout<<"VERTEXHIST INITIALIZED!"<<endl;
15 //}
16
17 conv->SetPriority(51); // needed to get conversion done last
18
19 my_reaction.AddBulk(conv);
20 my_reaction.Print(); //The "Print()" statement is optional
21 my_reaction.Loop(5);
22}
PGammaConversion * conv
Float_t pconv
Float_t Zmean
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")