GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

With the previous functions, it is possible to generate cascades of real gammas. Here an filter is apply to simulate the 'real' events as they could be obtained after the tracking.

To realize this, some histograms are needed; they are stored in root files. They are available in the demos/gem directory and correpond to AGATA and EUROBALL like filter. The generated events are stored in a ROOT TTree.

Usage:

  • root
  • root [0] .L FirstGEM.C
  • root [1] testGammaFilter2("/path/to/levelscheme/files")
Author
Olivier Stezowski - 01/2005

PS: libGWPHYSICS and libGWGEM must be loaded before running this macro (see rootlogon.C)

Definition at line 294 of file FirstGEM.C.