StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
macros
Ast2Rz.C
1
void
Ast2Rz(
const
Char_t *vers=
"y2005x"
,
const
Char_t *geom =
""
) {
2
gROOT->LoadMacro(
"bfc.C"
);
3
// TString cmd("bfc(0,\"gstar,useXgeom,nodefault,");
4
TString cmd(
"bfc(0,\"gstar,nodefault,StEvent,"
);
5
cmd += vers;
6
cmd +=
","
;
7
cmd += geom;
8
cmd +=
"\")"
;
9
cout <<
"cmd : "
<< cmd.Data() << endl;
10
gInterpreter->ProcessLine(cmd.Data());
11
St_geant_Maker
*geant = (
St_geant_Maker
*) chain->Maker(
"geant"
);
12
if
(! geant)
return
;
13
chain->
Make
();
14
TString cmd(
"grfile rzfile.rz"
);
15
geant->
Do
(cmd.Data());
16
}
St_geant_Maker::Do
virtual void Do(const Char_t *option="dcut cave x 0.1 10 10 0.03 0.03")
Executes a KUIP command.
Definition:
St_geant_Maker.cxx:1446
StChain::Make
virtual Int_t Make()
Definition:
StChain.cxx:110
St_geant_Maker
Definition:
St_geant_Maker.h:156
Generated by
1.8.5