File indexing completed on 2025-01-18 09:14:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 from __future__ import absolute_import
0012
0013
0014 def run():
0015 import DigiTest
0016 digi = DigiTest.Test(geometry=None)
0017
0018 input_seq = digi.input_action('DigiParallelActionSequence/Reader')
0019
0020 digi.info('Created SIGNAL input')
0021 signal = input_seq.adopt_action('DigiSequentialActionSequence/Signal')
0022 reader = signal.adopt_action('DigiDDG4ROOT/SignalReader', mask=0x0, input=[digi.next_input()])
0023 sequence = signal.adopt_action('DigiContainerSequenceAction/Counter',
0024 parallel=True, input_mask=0x0, input_segment='inputs')
0025 count = digi.create_action('DigiCellMultiplicityCounter/CellCounter')
0026 sequence.adopt_container_processor(count, digi.containers())
0027 digi.check_creation([reader, signal, sequence, count])
0028
0029 digi.run_checked(num_events=5, num_threads=7, parallel=3)
0030
0031
0032 if __name__ == '__main__':
0033 run()