python::PhotonGetter::Atlfast__PhotonGetter Class Reference

Configures an instance of Atlfast::DefaultReconstructedParticleMaker to fast simulate photons. More...

List of all members.

Public Member Functions

def configure
def AlgHandle
 Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance.

Private Attributes

 _algHandle


Detailed Description

Configures an instance of Atlfast::DefaultReconstructedParticleMaker to fast simulate photons.

Supplies a handle if needed.

Definition at line 12 of file PhotonGetter.py.


Member Function Documentation

def python::PhotonGetter::Atlfast__PhotonGetter::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 (photons in this case.)

Definition at line 19 of file PhotonGetter.py.

00019                        :
00020 
00021         try:        
00022             from AtlfastAlgs.AtlfastAlgsConf import Atlfast__DefaultReconstructedParticleMaker
00023         except Exception:
00024             mlog = logging.getLogger( 'Atlfast__PhotonGetter::configure:' )
00025             mlog.error("could not import AtlfastAlgs.Atlfast__DefaultReconstructedParticleMaker")
00026             print traceback.format_exc()
00027             return False
00028 
00029         thePhotonMaker=Atlfast__DefaultReconstructedParticleMaker("PhotonMaker")
00030         self._algHandle_algHandle = thePhotonMaker;
00031 
00032         thePhotonMaker.OutputLocation   = "/Event/AtlfastPhotons"
00033         thePhotonMaker.ParticleType     = 22
00034         thePhotonMaker.SmearParamSchema = 2
00035         #thePhotonMaker.SmearParamArray  = [0.065,0.050,0.040,0.10,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::PhotonGetter::Atlfast__PhotonGetter::AlgHandle (   self  ) 

Returns a handle to the Atlfast::DefaultReconstructedParticleMaker instance.

Definition at line 41 of file PhotonGetter.py.

00041                        :
00042         return self._algHandle_algHandle
        return self._algHandle_algHandle


Member Data Documentation

python::PhotonGetter::Atlfast__PhotonGetter::_algHandle [private]

Definition at line 30 of file PhotonGetter.py.


The documentation for this class was generated from the following file:
Generated on Mon Sep 24 14:19:45 2007 for AtlfastAlgs by  doxygen 1.5.1