Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:14:54

0001 # ==========================================================================
0002 #  AIDA Detector description implementation
0003 # --------------------------------------------------------------------------
0004 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 # All rights reserved.
0006 #
0007 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 #
0010 # ==========================================================================
0011 from __future__ import absolute_import
0012 
0013 
0014 def run():
0015   import DigiTest
0016   digi = DigiTest.Test(geometry=None, process_data=False)
0017   read = digi.input_action('DigiEdm4hepInput/SignalReader',
0018                            mask=0x0,
0019                            input=['MiniTel_DDG4_edm4hep_data.run00000000.root',
0020                                   'MiniTel_DDG4_edm4hep_data.run00000001.root',
0021                                   'MiniTel_DDG4_edm4hep_data.run00000002.root'])
0022   read.input_section = 'events'
0023   read.objects_disabled = ['EventHeader']
0024   read.events_per_file = 5
0025   digi.event_action('DigiStoreDump/StoreDump', parallel=False)
0026   digi.run_checked(num_events=100, num_threads=10, parallel=10)
0027 
0028 
0029 if __name__ == '__main__':
0030   run()