to illustrate how to use GEM. More...
#include <Link.h>
#include <XGammaLink.h>
#include <GEM.h>
#include <GammaFilter.h>
#include <TStopwatch.h>
#include <TH1.h>
#include <TTree.h>
#include <iostream>
Go to the source code of this file.
Macros | |
#define | MAX_STRING_LENGTH 50 |
Functions | |
void | testBaseGEM (const char *pathtodata, Int_t nbcas=100) |
Function to generate discret gamma-rays between several level schemes. More... | |
void | testGammaFilter1 (const char *pathtodata, Int_t nbcas=100, const char *filtername="AGATA_FILTER.root") |
Function to generate tracked like events. More... | |
void | testGammaFilter2 (const char *pathtodata, Int_t nbcas=100, const char *filtername="AGATA_FILTER.root") |
Function to generate tracked like events and store them in a ROOT TTree. More... | |
void | testGEM (const char *pathtodata, Int_t nbcas=100) |
Function to generate discret gamma-rays between several level schemes ... More... | |
to illustrate how to use GEM.
the two libraries must be loaded first with
gSystem->Load("libGWPHYSICS.so"); gSystem->Load("libGWGEM.so");
Another possibility is to use a rootlogon.C file to do the job. The are examples of such a file in demos directory.
The GEM class adds some functionnalities to BaseGEM by adding a feeding mechanism. It generates gamma-rays from a continuum. The system is designed to allow a parametrisation of the feeding.
It also shows how to 'degrade' the real cascade with a filter to generate gamma-rays as expected after the tracking and to store them in a ROOT TTree.
Definition in file FirstGEM.C.