# # Example Macro to run the MC processing chain # MiniDB StandardD0 SaveOnMake LinkerEnv set MC_RUNJOB_CARD_PATH=/d0dist/dist/releases/p17.09.01/cardfiles/ LinkerOption monitor LinkerOption printRCP LinkerOption pbsMemoryLimiter # # Global defines the output directory and job parameters # attach samglobal cfg samglobal define string JobName test1 cfg samglobal define string DestinationDir /prj_root/1133/qcd_write/carolina/mc_170901/jpsi_dest cfg samglobal define string CurrentDir /prj_root/1133/qcd_write/carolina/mc_170901/jpsi_work cfg samglobal define string OriginName uerj cfg samglobal define string FacilityName bphys cfg samglobal define string GroupName bphys cfg samglobal define string Stream notstreamed cfg samglobal define string RunType Monte Carlo # # attach pythia # attach pythia cfg pythia define string D0Release p17.09.01 #cfg pythia define string RunNumberFile ~/run.number cfg pythia define int RunNumber 0 cfg pythia make seeds cfg pythia define string CardfileVersion v00-08-21 cfg pythia define float CollisionEnergy 1960.0 cfg pythia define string PDFLibFunc LHPDFCTEQ6L1 cfg pythia define string CardfileDir ckm cfg pythia define string Production jpsi cfg pythia define string Decay mumu cfg pythia define int NumRecords 100000 cfg pythia define string UseEvtGen on cfg pythia define string EvtGenDecayProcess jpsi-mumu cfg pythia define float PtGt 0.0 cfg pythia define float PtLt -.1 cfg pythia define float EtaGt -40.0 cfg pythia define float EtaLt 40.0 cfg pythia define int D0MessMaxEvents 1000 #cfg pythia define string D0MessProcess incljpsi-mumu cfg pythia define string D0MessRCPFile /d0dist/dist/releases/p17.09.01/cardfiles/ckm//d0_mess/d0_mess_jpsi-mumu.rcp # # Sam store/declare options for pythia # #cfg pythia define string SamActive on #cfg pythia define string SamDeclareOutput on ################################# # attach and configure d0gstar # ################################# attach d0gstar cfg d0gstar define string D0Release p17.09.01 cfg d0gstar make seeds cfg d0gstar define string TzFilesDir /rooms/safe/bcasey/salon/lm_mc/p170602/d0gstar/d0db/detc_5 # # Sam store/declare options for d0gstar # #cfg d0gstar define string SamActive on #cfg d0gstar define string SamDeclareOutput on ################################ # attach and configure d0sim # ################################ attach d0sim cfg d0sim define string D0Release p17.09.01 cfg d0sim define string CustomExecutable /work/cbpf-clued0/carolina/mc_170901/bin/Linux2.4-GCC_3_4/D0Sim_x cfg d0sim copyRCP package=d0sim rcp=runD0Sim.rcp location=/work/cbpf-clued0/carolina/mc_170901/d0sim/rcp/runD0Sim.rcp cfg d0sim define float NumMinBi 0.0 cfg d0sim define string MinBiOpt Poisson #cfg d0sim define string MinBiDir /work/cinvestres-clued0/asanchez/MB/mcp14/ cfg d0sim define string LinkToRundata on #cfg d0sim define string SamActive on #cfg d0sim define string SamDeclareOutput on ################################ # attach and configure trigsim # ################################ #attach d0trigsim #cfg d0trigsim define string D0Release #cfg d0trigsim define string WriteEvents on #cfg d0trigsim define string WriteTuple off #cfg d0trigsim define string RunOnData off #cfg d0trigsim define string TriggerListVersion v01-00-00 #cfg d0trigsim define string TriggerListName #cfg d0trigsim define string FrameworkRCPName #runD0TrigSim_l1l2only.rcp #cfg d0trigsim define string Synchronise off #cfg d0trigsim define string SamActive on #cfg d0trigsim define string SamDeclareOutput on ############################### # attach and configure d0reco # ############################### attach d0reco cfg d0reco define string D0Release p17.09.01 cfg d0reco define string FrameworkRCPName runD0reco_mc.rcp cfg d0reco define string LinkToRundata on cfg d0reco define string RunOnData off cfg d0reco define string Reprocess off #cfg d0reco define string SamActive on #cfg d0reco define string SamStoreOutput on # // # // Running the job #// # // # // Run the job #// attach runjob repeat 1 reset chain cfg pythia define int RunNumber 0 cfg pythia make seeds make job save print script #cfg runjob_d0mino run # # On clued0 use this: # cfg runjob run end # end of macro return