ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
geometry.C
Go to the documentation of this file.
1
/// \file
2
/// \ingroup tutorial_g3d_legacy
3
/// Example of the old geometry package (now obsolete)
4
//
5
/// \macro_image
6
/// \macro_code
7
///
8
/// \author Rene Brun
9
10
void
geometry()
11
{
12
TString
dir =
gSystem
->UnixPathName(__FILE__);
13
dir.
ReplaceAll
(
"geometry.C"
,
""
);
14
dir.
ReplaceAll
(
"/./"
,
"/"
);
15
gROOT
->Macro(
Form
(
"%s/na49.C"
, dir.
Data
()));
16
gROOT
->Macro(
Form
(
"%s/na49geomfile.C"
, dir.
Data
()));
17
}
gROOT
#define gROOT
Definition
TROOT.h:417
Form
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
Definition
TString.cxx:2496
gSystem
externTSystem * gSystem
Definition
TSystem.h:582
TString
Basic string class.
Definition
TString.h:138
TString::Data
const char * Data() const
Definition
TString.h:384
TString::ReplaceAll
TString & ReplaceAll(const TString &s1, const TString &s2)
Definition
TString.h:713
geometry
Definition
geometry.py:1
tutorials
legacy
g3d
geometry.C
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1