FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gconfig
flConfig.C
Go to the documentation of this file.
1
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
PndStack
*st =
new
PndStack
();
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)gInterpreter->ProcessLine(
"SetCuts()"
);
21
}
22
23
PndStack
Definition:
PndStack.h:45
cuts
TString cuts[MAX]
Definition:
autocutx.C:35
Config
void Config()
Definition:
detectors/hypGe/hypGeTools/g4Config.C:2
PndStack::SetMinPoints
void SetMinPoints(Int_t min)
Definition:
PndStack.h:171
cut
double cut[MAX]
Definition:
autocutx.C:36
TString
TString
Definition:
SimCompleteLinkDef.h:6
Generated on Wed Apr 3 2019 08:43:50 for FairRoot/PandaRoot by
1.8.5