Go to the source code of this file.
|
| TFile * | file = new TFile("mc.root") |
| |
| TTree * | t =file->Get("pndsim") |
| |
| TClonesArray * | fT =new TClonesArray("TGeoTrack") |
| |
| TGeoTrack * | tr |
| |
Definition at line 38 of file drawTracks.C.
References i.
40 for (Int_t
i=0;
i<
fT->GetEntriesFast();
i++) {
41 tr=(TGeoTrack *)
fT->At(
i);
| gSystem Load |
( |
"libGeoBase" |
| ) |
|
| gSystem Load |
( |
"libParBase" |
| ) |
|
| gSystem Load |
( |
"libBase" |
| ) |
|
| gSystem Load |
( |
"libPndData" |
| ) |
|
| gSystem Load |
( |
"libField" |
| ) |
|
| gSystem Load |
( |
"libPassive" |
| ) |
|
| gSystem Load |
( |
"libGen" |
| ) |
|
| gSystem Load |
( |
"libGeom.so" |
| ) |
|
| gSystem Load |
( |
"libEmc" |
| ) |
|
| gSystem Load |
( |
"libStt" |
| ) |
|
| gSystem Load |
( |
"libMuo" |
| ) |
|
| gSystem Load |
( |
"libTof" |
| ) |
|
| gSystem Load |
( |
"libDrcProp" |
| ) |
|
| gSystem Load |
( |
"libDrc" |
| ) |
|
| gSystem Load |
( |
"libtpc" |
| ) |
|
| gSystem Load |
( |
"libMvd" |
| ) |
|
| gSystem Load |
( |
"libTrkBase" |
| ) |
|
| t SetBranchAddress |
( |
"GeoTracks" |
, |
|
|
& |
fT |
|
) |
| |
| TFile* file = new TFile("mc.root") |
| TClonesArray* fT =new TClonesArray("TGeoTrack") |