//DENG Zi-yan 2006-02-28 // Job options file for Geant4 Simulations ApplicationMgr.DLLs += { "Tester" , "BesSim" }; ApplicationMgr.TopAlg += { "BesGenModule" , "BesSim"}; #include "$BESSIMROOT/share/Bes_Gen.txt" #include "$BESSIMROOT/share/PartPropSvc.txt" #include "$BESSIMROOT/share/G4Svc_BesSim.txt" #include "$CALIBSVCROOT/share/job-CalibData.txt" #include "$MDCCALIBFUNSVCROOT/share/job_MdcCalibFunSvc.txt" CalibRootCnvSvc.Mdcrootfile="/afs/ihep.ac.cn/bes3/offline/sw/data/constant/MdcCalibConst.root"; //genbes cards BesGenModule.Runcards ="run.cards"; BesGenModule.Ratio = 0; // run ID G4Svc.RunID = -9; // Geant4 run macro file G4Svc.FADSMacro = "run.mac"; // geometry construction(0:not construct, 1:construct with G4 code) // (2:construct with gdml files) BesSim.Mdc = 2; BesSim.Tof = 2; BesSim.Emc = 2; BesSim.Muc = 2; BesSim.PipeSCM = 2; // Ascii output control // MDCTRUTH, MDCDIGI, TOFTRUTH, TOFDIGI, EMCTRUTH, EMCDIGI, MUCTRUTH, MUCDIGI BesSim.AsciiFlag = "11111111"; BesSim.AsciiFile ="boost.dat"; // OUTPUT PRINTOUT LEVEL // Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL ) MessageSvc.OutputLevel = 4; // Event related parameters // Number of events to be processed (default is 10) ApplicationMgr.EvtMax = 200;