ATLAS Offline Software
Loading...
Searching...
No Matches
PhotosppConfig Namespace Reference

Functions

 PhotosppCfg (flags, name="Photospp_i", **kwargs)

Variables

 log = logging.getLogger("PhotosppConfig")

Function Documentation

◆ PhotosppCfg()

PhotosppCfg ( flags,
name = "Photospp_i",
** kwargs )
The main Photos configuration fragment that sets up the
algorithm and returns a CA instance.

Definition at line 12 of file PhotosppConfig.py.

12def PhotosppCfg(flags, name="Photospp_i", **kwargs):
13 """
14 The main Photos configuration fragment that sets up the
15 algorithm and returns a CA instance.
16 """
17
18 # Set default Photos++ QED config
19 kwargs.setdefault("InfraRedCutOff", 1E-7)
20
21 # Create CA object
22 ca = ComponentAccumulator(EvgenSequenceFactory(EvgenSequence.Generator))
23 ca.addEventAlgo(
24 CompFactory.Photospp_i(name, **kwargs)
25 )
26
27 # Announce generator to service
28 from GeneratorConfig.GeneratorInfoSvcConfig import GeneratorInfoSvcCfg
29 ca.merge(GeneratorInfoSvcCfg(flags, Generators=["Photospp"]), sequenceName=EvgenSequence.Generator.value)
30
31 return ca

Variable Documentation

◆ log

PhotosppConfig.log = logging.getLogger("PhotosppConfig")

Definition at line 9 of file PhotosppConfig.py.