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 MuonGetter.py.
def python::MuonGetter::Atlfast__MuonGetter::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 (muons in this case.)
Definition at line 19 of file MuonGetter.py.
00019 : 00020 00021 try: 00022 from AtlfastAlgs.AtlfastAlgsConf import Atlfast__DefaultReconstructedParticleMaker 00023 except Exception: 00024 mlog = logging.getLogger( 'Atlfast__MuonGetter::configure:' ) 00025 mlog.error("Could not import AtlfastAlgs.Atlfast__DefaultReconstructedParticleMaker") 00026 print traceback.format_exc() 00027 return False 00028 00029 theMuonMaker=Atlfast__DefaultReconstructedParticleMaker("MuonMaker") 00030 self._algHandle_algHandle = theMuonMaker; 00031 00032 theMuonMaker.OutputLocation = "/Event/AtlfastMuons" 00033 theMuonMaker.ParticleType = 13 00034 theMuonMaker.mcMinimumPt = 0.5*GeV 00035 theMuonMaker.MinimumPt = 6.0*GeV 00036 theMuonMaker.MuonSmearKey = 3 00037 theMuonMaker.SmearParamArray = [0.0005,10.0,0.012,0.02,7000.,0.01] 00038 00039 return True 00040 ## Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance.
def python::MuonGetter::Atlfast__MuonGetter::AlgHandle | ( | self | ) |
Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance.
Definition at line 43 of file MuonGetter.py.
00043 : 00044 return self._algHandle_algHandle return self._algHandle_algHandle
Definition at line 30 of file MuonGetter.py.