6 <output>PhokharaEvtgenData.root</output>
7 <contact>Kirill Chilikin (K.A.Chilikin@inp.nsk.su)</contact>
8 <description>Generation of 25000 e+ e- -> J/psi eta_c events.</description>
14 from ROOT
import Belle2
17 basf2.set_log_level(basf2.LogLevel.INFO)
20 basf2.set_random_seed(12345)
23 main = basf2.create_path()
26 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=25000)
29 user_decay_file_name =
'generators/examples/PhokharaEvtgenDoubleCharmonium.dec'
32 main, [
'J/psi',
'eta_c'], user_decay_file, beam_energy_spread=
False)
35 output = basf2.register_module(
'RootOutput')
36 output.param(
'outputFileName',
'PhokharaEvtgenData.root')
37 main.add_module(output)
40 main.add_module(
'Progress')
46 print(basf2.statistics)
static std::string findFile(const std::string &path, bool silent=false)
Search for given file or directory in local or central release directory, and return absolute path if...
def add_phokhara_evtgen_combination(path, final_state_particles, user_decay_file, beam_energy_spread=True, isr_events=False, min_inv_mass_vpho=0.0, max_inv_mass_vpho=0.0, eventType='')