BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
flConfig.C
Go to the documentation of this file.
1
/// Configuration macro for Geant3 VirtualMC
2
3
void
Config
()
4
{
5
6
new
TFluka(
"C++ Interface to Fluka"
, 1
/*verbositylevel*/
);
7
8
cout <<
"GConfig: Fluka has been created."
<< endl;
9
10
CbmStack
* st =
new
CbmStack
();
11
st->
SetMinPoints
(0);
12
gMC->SetStack(st);
13
gMC->SetProcess(
"CKOV"
, 1);
14
15
// set the common cuts
16
TString
configm(
gSystem
->Getenv(
"VMCWORKDIR"
));
17
TString
cuts = configm +
"/gconfig/SetCuts.C"
;
18
cout <<
"Physics cuts with script \n "
<< cuts.
Data
() << endl;
19
Int_t
cut =
gROOT
->LoadMacro(cuts.
Data
());
20
if
(cut == 0)
21
gInterpreter
->ProcessLine(
"SetCuts()"
);
22
}
Int_t
int Int_t
gInterpreter
#define gInterpreter
gROOT
#define gROOT
gSystem
R__EXTERN TSystem * gSystem
CbmStack
CbmStack.h.
Definition
CbmStack.h:43
CbmStack::SetMinPoints
void SetMinPoints(Int_t min)
Definition
CbmStack.h:173
TString
TString::Data
const char * Data() const
Config
void Config()
Configuration macro for Geant3 VirtualMC.
Definition
flConfig.C:3
gconfig
flConfig.C
Generated on
for BmnRoot by
1.17.0