Skip to the content.

(back to main page)

Tutorials

How to …

Please note:

At the time of writing, python is quite popular and the tutorials are provided in that language. However, you can use GAMERA also in your C++ program by adapting the syntax, e.g. instead of the python code

fr = gappa.Radiation()
fr.SetBField(b)
[...]
sed = fr.GetTotalSED()

you could write in C++ syntax

Radiation *fRad = new Radiation();
fRad->SetBField(b);
[...]
vector< vector<double> > SED = fRad->GetTotalSED();

Please check out the installation instructions to learn how to make GAMERA work in either language.

GAMERA

(back to main page)