FairRoot/PandaRoot
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 
TString cuts[MAX]
Definition: autocutx.C:35
void SetMinPoints(Int_t min)
Definition: PndStack.h:171
double cut[MAX]
Definition: autocutx.C:36