G4CompileWRootforTracks: Difference between revisions
Jump to navigation
Jump to search
Created page with "These instruction describe how you can create a tree within ExN02SteppingVerbose to store tracking info in an array (max number of steps in a track is set to 100 for the desired …" |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
These instruction describe how you can create a tree within ExN02SteppingVerbose to store tracking info in an array (max number of steps in a track is set to 100 for the desired particle) | These instruction describe how you can create a tree within ExN02SteppingVerbose to store tracking info in an array (max number of steps in a track is set to 100 for the desired particle) | ||
=First add the ROOT include files to the ExN02SteppingVerbose.hh file= | |||
<pre> | |||
#include "TFile.h" | #include "TFile.h" | ||
#include "TH1.h" | #include "TH1.h" | ||
#include "TH2.h" | #include "TH2.h" | ||
#include "TProfile.h" | #include "TProfile.h" | ||
</pre> | |||
=Now try to compile root = | |||
Not finished with instructions | |||
[[Simulations_of_Particle_Interactions_with_Matter#Compiling_G4_with_ROOT]] | |||
Latest revision as of 00:49, 15 November 2013
These instruction describe how you can create a tree within ExN02SteppingVerbose to store tracking info in an array (max number of steps in a track is set to 100 for the desired particle)
First add the ROOT include files to the ExN02SteppingVerbose.hh file
#include "TFile.h" #include "TH1.h" #include "TH2.h" #include "TProfile.h"
Now try to compile root
Not finished with instructions
Simulations_of_Particle_Interactions_with_Matter#Compiling_G4_with_ROOT