Go to the source code of this file.
      
        
          | int sim_complete | ( | Int_t | nEvents = 1000, | 
        
          |  |  | TString | SimEngine = "TGeant4", | 
        
          |  |  | Double_t | BeamMomentum = 6.231552 | 
        
          |  | ) |  |  | 
      
 
Definition at line 8 of file macro/QA/run4/sim_complete.C.
References PndMasterRunSim::AddSimTasks(), BeamMomentum, PndMasterRunSim::CreateGeometry(), PndMasterRunSim::Finish(), fRun, nEvents, PndMasterRunSim::SetGenerator(), PndMasterRunSim::SetInput(), PndMasterRunSim::SetInputDir(), PndMasterRunSim::SetNumberOfEvents(), PndMasterRunSim::SetParamAsciiFile(), PndMasterRunSim::Setup(), and TString.
   11   TString  parAsciiFile   = 
"all.par";
 
   16   TString  inputGenerator = 
"psi2s_Jpsi2pi_Jpsi_mumu.dec"; 
 
   17   TString  inputDir = gSystem->Getenv(
"VMCWORKDIR");
 
   18   inputDir += 
"/macro/QA/run3/";
 
   19   gRandom->SetSeed(1234);
 
   25   fRun->SetName(SimEngine);
 
void SetInputDir(TString par)
Input directory of the simulation. 
void Finish()
Final diagnostics. 
Bool_t Setup(TString outprefix="")
Initial setup. 
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file. 
void SetInput(TString par)
Input of the simulation  This string can be: a) the name of the dec file for EvtGen, ending w/ .dec b) "dpm" if you want to use dpm c) "ftf" if you want to use ftf d) "box:[...]" if you want to use box. 
void AddSimTasks()
Add simulation tasks. 
void SetNumberOfEvents(Int_t par)
Setter of the number of events. 
void CreateGeometry()
It switches between different standard geometry volumes. 
Class for the master simulation chain. 
void SetGenerator()
Set the event generator.