Back to home page

EIC code displayed by LXR

 
 

    


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

0001 """Helper object for files containing one or more MCParticle collections"""
0002 
0003 from DDSim.Helper.Input import Input
0004 
0005 
0006 class LCIO(Input):
0007   """Configuration for the generator-level InputFiles"""
0008 
0009   def __init__(self):
0010     super(LCIO, self).__init__()
0011     self._parameters["MCParticleCollectionName"] = "MCParticle"
0012     self._closeProperties()
0013 
0014   @property
0015   def mcParticleCollectionName(self):
0016     """Set the name of the collection containing the MCParticle input.
0017     Default is "MCParticle".
0018     """
0019     return self._parameters["MCParticleCollectionName"]
0020 
0021   @mcParticleCollectionName.setter
0022   def mcParticleCollectionName(self, val):
0023     self._parameters["MCParticleCollectionName"] = val