VMC Examples Version 6.8
Loading...
Searching...
No Matches
read.C File Reference

Macro for reading the E03 simulated data from Root file. More...

Go to the source code of this file.

Functions

void read ()

Detailed Description

Macro for reading the E03 simulated data from Root file.

Definition in file read.C.

Function Documentation

◆ read()

void read ( )

Macro for reading the E03 simulated data from Root file Note that since Root 6 the libraries have to be loaded first via load_g4a[b,c].C.

Definition at line 14 of file read.C.

15{
16/// Macro for reading the E03 simulated data from Root file
17/// Note that since Root 6 the libraries have to be loaded first
18/// via load_g4a[b,c].C.
19
20 // MC application
22 = new Ex03MCApplication("Example03", "The example03 MC application");
23
24 for (Int_t i=0; i<5; i++) {
25 cout << " Event no " << i+1 << ":" << endl;
26 appl->ReadEvent(i);
28 cout << endl;
29 }
30}
Ex03bMCApplication Ex03MCApplication
Implementation of the TVirtualMCApplication.
Ex03CalorimeterSD * GetCalorimeterSD() const