13 <output>K_long_full_validation_sample.root</output>
14 <description>Generates particle gun Klong Events for Kl efficiency validation.\t
15 Output
is not very meaningful but sufficient to check
for regression.</description>
16 <contact>cristina.martellini
@roma3.infn.it</contact>
17 <interval>nightly</interval>
22import simulation as sim
23import reconstruction as rec
29if 'BELLE2_BACKGROUND_DIR' in os.environ:
30 bg = glob.glob(os.environ['BELLE2_BACKGROUND_DIR'] +
'/*.root')
32 b2.B2FATAL(
'The variable BELLE2_BACKGROUND_DIR is not set!')
34b2.set_random_seed(
'L1V0RN0')
36main = b2.create_path()
38main.add_module(
'EventInfoSetter',
43main.add_module(
'ParticleGun',
45 momentumGeneration=
'uniform',
46 momentumParams=[0.05, 5.0],
47 pdgCodes=[130, 321, 311, 2212, 2112, 211, 13, 11])
49sim.add_simulation(path=main,
52rec.add_reconstruction(path=main)
55main.add_module(
'KlongValidation',
56 outputName=
'K_long_full_validation_sample.root',
58 contact=
'cristina.martellini@roma3.infn.it')
62main.add_module(
'Progress')