Public Member Functions | |
def | configure |
def | AlgHandle |
Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance. | |
Private Attributes | |
_algHandle |
Supplies a handle if needed.
Definition at line 12 of file ElectronGetter.py.
def python::ElectronGetter::Atlfast__ElectronGetter::configure | ( | self | ) |
Creates and configures Atlfast::DefaultReconstructedParticleMaker instance. This is done via the genConf autogenerated getter class. The input ParticleType is the PDGID of stable truth particles that will be fast simulated (electrons in this case.)
Definition at line 19 of file ElectronGetter.py.
00019 : 00020 00021 try: 00022 from AtlfastAlgs.AtlfastAlgsConf import Atlfast__DefaultReconstructedParticleMaker 00023 except Exception: 00024 mlog = logging.getLogger( 'Atlfast__ElectronGetter::configure:' ) 00025 mlog.error("could not import AtlfastAlgs.Atlfast__DefaultReconstructedParticleMaker") 00026 print traceback.format_exc() 00027 return False 00028 00029 theElectronMaker=Atlfast__DefaultReconstructedParticleMaker("ElectronMaker") 00030 self._algHandle_algHandle = theElectronMaker; 00031 00032 theElectronMaker.OutputLocation = "/Event/AtlfastElectrons" 00033 theElectronMaker.ParticleType = 11 00034 theElectronMaker.SmearParamSchema = 2 00035 #theElectronMaker.SmearParamArray = [0.12,0.245,0.007,0.306,2.4,0.228,0.007] 00036 00037 return True 00038 ## Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance.
def python::ElectronGetter::Atlfast__ElectronGetter::AlgHandle | ( | self | ) |
Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance.
Definition at line 41 of file ElectronGetter.py.
00041 : 00042 return self._algHandle_algHandle return self._algHandle_algHandle
Definition at line 30 of file ElectronGetter.py.