|
ATLAS Offline Software
|
|
def | ValidityCheckerCfg (flags, name="GenEventValidityChecker", **kwargs) |
|
def | GenEventRotatorCfg (flags, name="GenEventRotator", **kwargs) |
|
def | GenEventBeamEffectBoosterCfg (flags, name="GenEventBeamEffectBooster", **kwargs) |
|
def | GenEventVertexPositionerCfg (flags, name="GenEventVertexPositioner", **kwargs) |
|
def | VertexBeamCondPositionerCfg (flags, name="VertexBeamCondPositioner", **kwargs) |
|
def | MatchingBkgVertexPositionerCfg (flags, name="MatchingBkgVertexPositioner", **kwargs) |
|
def | CrabKissingVertexPositionerCfg (flags, name="CrabKissingVertexPositioner", **kwargs) |
|
def | LongBeamspotVertexPositionerCfg (flags, name="LongBeamspotVertexPositioner", **kwargs) |
|
def | BeamEffectsAlgCfg (flags, name="BeamEffectsAlg", **kwargs) |
|
def | BeamEffectsAlgOutputCfg (flags, **kwargs) |
|
def | BeamSpotFixerAlgCfg (flags, name="BeamSpotFixerAlg", **kwargs) |
|
def | ZeroLifetimePositionerCfg (flags, name="ZeroLifetimePositioner", **kwargs) |
|
def | BeamSpotReweightingAlgCfg (flags, name="BeamSpotReweightingAlg", **kwargs) |
|
◆ BeamEffectsAlgCfg()
def BeamEffectsAlgConfig.BeamEffectsAlgCfg |
( |
|
flags, |
|
|
|
name = "BeamEffectsAlg" , |
|
|
** |
kwargs |
|
) |
| |
Return an accumulator and algorithm for beam effects, wihout output
Definition at line 106 of file BeamEffectsAlgConfig.py.
107 """Return an accumulator and algorithm for beam effects, wihout output"""
110 from SimulationConfig.SimEnums
import LArParameterization
111 if flags.Sim.LArParameterization
is LArParameterization.FastCaloSim:
112 kwargs.setdefault(
"ISFRun",
True)
114 kwargs.setdefault(
"ISFRun", flags.Sim.ISFRun)
117 if flags.Sim.DoFullChain
and flags.Digitization.PileUp:
118 kwargs.setdefault(
"InputMcEventCollection",
"OriginalEvent_SG+GEN_EVENT")
120 kwargs.setdefault(
"InputMcEventCollection",
"GEN_EVENT")
122 if flags.Sim.DoFullChain
and flags.Common.isOverlay
and not flags.Overlay.DataOverlay:
123 kwargs.setdefault(
'OutputMcEventCollection', f
"{flags.Overlay.SigPrefix}TruthEvent")
125 kwargs.setdefault(
'OutputMcEventCollection',
'BeamTruthEvent')
130 from SimulationConfig.SimEnums
import VertexSource
131 if not flags.Sim.VertexSource == VertexSource.AsGenerated:
133 from SimulationConfig.SimEnums
import CavernBackground
134 if flags.Beam.Type
not in [BeamType.Cosmics, BeamType.TestBeam]
and flags.Sim.CavernBackground
is not CavernBackground.Read:
138 kwargs.setdefault(
"GenEventManipulators", manipulators)
140 acc.addEventAlgo(CompFactory.Simulation.BeamEffectsAlg(name, **kwargs), primary=
True)
◆ BeamEffectsAlgOutputCfg()
def BeamEffectsAlgConfig.BeamEffectsAlgOutputCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return an accumulator and algorithm for beam effects, with output
Definition at line 144 of file BeamEffectsAlgConfig.py.
145 """Return an accumulator and algorithm for beam effects, with output"""
148 alg = acc.getPrimary()
149 ItemList = [
"McEventCollection#" + alg.OutputMcEventCollection]
150 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
151 acc.merge(
OutputStreamCfg(flags,
"HITS", ItemList=ItemList, disableEventTag=
True))
◆ BeamSpotFixerAlgCfg()
def BeamEffectsAlgConfig.BeamSpotFixerAlgCfg |
( |
|
flags, |
|
|
|
name = "BeamSpotFixerAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 155 of file BeamEffectsAlgConfig.py.
156 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
159 kwargs.setdefault(
"InputKey",
"Input_EventInfo")
160 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
161 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix +
"EventInfo")
163 kwargs.setdefault(
"OutputKey",
"EventInfo")
165 acc.addEventAlgo(CompFactory.Simulation.BeamSpotFixerAlg(name, **kwargs))
◆ BeamSpotReweightingAlgCfg()
def BeamEffectsAlgConfig.BeamSpotReweightingAlgCfg |
( |
|
flags, |
|
|
|
name = "BeamSpotReweightingAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 177 of file BeamEffectsAlgConfig.py.
178 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
181 kwargs.setdefault(
"Input_beam_sigma_z", flags.Digitization.InputBeamSigmaZ)
183 acc.addEventAlgo(CompFactory.Simulation.BeamSpotReweightingAlg(name, **kwargs))
186 from AthenaConfiguration.MainServicesConfig
import OutputUsageIgnoreCfg
◆ CrabKissingVertexPositionerCfg()
def BeamEffectsAlgConfig.CrabKissingVertexPositionerCfg |
( |
|
flags, |
|
|
|
name = "CrabKissingVertexPositioner" , |
|
|
** |
kwargs |
|
) |
| |
Return a Crab-Kissing vertex positioner tool
Definition at line 89 of file BeamEffectsAlgConfig.py.
90 """Return a Crab-Kissing vertex positioner tool"""
93 acc.setPrivateTools(CompFactory.Simulation.CrabKissingVertexPositioner(name, **kwargs))
◆ GenEventBeamEffectBoosterCfg()
def BeamEffectsAlgConfig.GenEventBeamEffectBoosterCfg |
( |
|
flags, |
|
|
|
name = "GenEventBeamEffectBooster" , |
|
|
** |
kwargs |
|
) |
| |
Return a lorentz booster tool
Definition at line 31 of file BeamEffectsAlgConfig.py.
32 """Return a lorentz booster tool"""
35 acc.setPrivateTools(CompFactory.Simulation.GenEventBeamEffectBooster(name, **kwargs))
◆ GenEventRotatorCfg()
def BeamEffectsAlgConfig.GenEventRotatorCfg |
( |
|
flags, |
|
|
|
name = "GenEventRotator" , |
|
|
** |
kwargs |
|
) |
| |
Return a event rotator tool
Definition at line 24 of file BeamEffectsAlgConfig.py.
25 """Return a event rotator tool"""
27 acc.setPrivateTools(CompFactory.Simulation.GenEventRotator(name, **kwargs))
◆ GenEventVertexPositionerCfg()
def BeamEffectsAlgConfig.GenEventVertexPositionerCfg |
( |
|
flags, |
|
|
|
name = "GenEventVertexPositioner" , |
|
|
** |
kwargs |
|
) |
| |
Return a vertex positioner tool
Definition at line 39 of file BeamEffectsAlgConfig.py.
40 """Return a vertex positioner tool"""
45 from SimulationConfig.SimEnums
import VertexSource
46 if flags.Sim.VertexSource
is VertexSource.MatchingBkg:
48 elif flags.Sim.VertexSource
is VertexSource.CondDB:
50 elif flags.Sim.VertexSource
is VertexSource.LongBeamspotVertexPositioner:
53 acc.setPrivateTools(CompFactory.Simulation.GenEventVertexPositioner(name, **kwargs))
◆ LongBeamspotVertexPositionerCfg()
def BeamEffectsAlgConfig.LongBeamspotVertexPositionerCfg |
( |
|
flags, |
|
|
|
name = "LongBeamspotVertexPositioner" , |
|
|
** |
kwargs |
|
) |
| |
Return a long beamspot vertex positioner tool
Definition at line 97 of file BeamEffectsAlgConfig.py.
98 """Return a long beamspot vertex positioner tool"""
101 kwargs.setdefault(
"SimpleTimeSmearing", flags.Sim.VertexTimeSmearing)
102 acc.setPrivateTools(CompFactory.Simulation.LongBeamspotVertexPositioner(name, **kwargs))
◆ MatchingBkgVertexPositionerCfg()
def BeamEffectsAlgConfig.MatchingBkgVertexPositionerCfg |
( |
|
flags, |
|
|
|
name = "MatchingBkgVertexPositioner" , |
|
|
** |
kwargs |
|
) |
| |
Return a vertex positioner tool that reads a matching vertex from the background input file.
Definition at line 75 of file BeamEffectsAlgConfig.py.
76 """Return a vertex positioner tool that reads a matching vertex from the background input file."""
79 if flags.Overlay.DataOverlay:
80 kwargs.setdefault(
"PrimaryVertexContainerName", f
"{flags.Overlay.BkgPrefix}PrimaryVertices")
82 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
83 acc.merge(
SGInputLoaderCfg(flags, [f
'xAOD::VertexContainer#{kwargs["PrimaryVertexContainerName"]}']))
85 acc.setPrivateTools(CompFactory.Simulation.MatchingBkgVertexPositioner(name, **kwargs))
◆ ValidityCheckerCfg()
def BeamEffectsAlgConfig.ValidityCheckerCfg |
( |
|
flags, |
|
|
|
name = "GenEventValidityChecker" , |
|
|
** |
kwargs |
|
) |
| |
Return a validity checker tool
Definition at line 17 of file BeamEffectsAlgConfig.py.
18 """Return a validity checker tool"""
20 acc.setPrivateTools(CompFactory.Simulation.GenEventValidityChecker(name, **kwargs))
◆ VertexBeamCondPositionerCfg()
def BeamEffectsAlgConfig.VertexBeamCondPositionerCfg |
( |
|
flags, |
|
|
|
name = "VertexBeamCondPositioner" , |
|
|
** |
kwargs |
|
) |
| |
Return a conditional (? todo) vertex positioner tool
Definition at line 58 of file BeamEffectsAlgConfig.py.
59 """Return a conditional (? todo) vertex positioner tool"""
60 from RngComps.RngCompsConfig
import AthRNGSvcCfg
64 kwargs.setdefault(
"RandomSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)).name)
65 kwargs.setdefault(
"SimpleTimeSmearing", flags.Sim.VertexTimeSmearing)
66 kwargs.setdefault(
"TimeWidth", flags.Sim.VertexTimeWidth)
68 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
71 acc.setPrivateTools(CompFactory.Simulation.VertexBeamCondPositioner(name, **kwargs))
◆ ZeroLifetimePositionerCfg()
def BeamEffectsAlgConfig.ZeroLifetimePositionerCfg |
( |
|
flags, |
|
|
|
name = "ZeroLifetimePositioner" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 169 of file BeamEffectsAlgConfig.py.
171 kwargs.setdefault(
'ApplyPatch',
True)
172 kwargs.setdefault(
'RemovePatch',
True)
173 result.addService(CompFactory.Simulation.ZeroLifetimePositioner(name, **kwargs), primary =
True)
◆ AtlasVersion
BeamEffectsAlgConfig.AtlasVersion |
◆ cfg
BeamEffectsAlgConfig.cfg = MainServicesCfg(flags) |
◆ Dump
BeamEffectsAlgConfig.Dump |
◆ Files
BeamEffectsAlgConfig.Files |
◆ flags
BeamEffectsAlgConfig.flags = initConfigFlags() |
◆ GlobalTag
BeamEffectsAlgConfig.GlobalTag |
◆ HITSFileName
BeamEffectsAlgConfig.HITSFileName |
◆ inputDir
BeamEffectsAlgConfig.inputDir |
Initial value: 1 = os.environ.get(
"ATLAS_REFERENCE_DATA",
2 "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art")
Definition at line 206 of file BeamEffectsAlgConfig.py.
◆ isMC
BeamEffectsAlgConfig.isMC |
◆ maxEvents
BeamEffectsAlgConfig.maxEvents |
◆ RunNumbers
BeamEffectsAlgConfig.RunNumbers |
◆ VertexSource
BeamEffectsAlgConfig.VertexSource |
◆ withDetails
BeamEffectsAlgConfig.withDetails |
def ValidityCheckerCfg(flags, name="GenEventValidityChecker", **kwargs)
def LongBeamspotVertexPositionerCfg(flags, name="LongBeamspotVertexPositioner", **kwargs)
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
def OutputUsageIgnoreCfg(flags, algorithm)
def BeamEffectsAlgCfg(flags, name="BeamEffectsAlg", **kwargs)
def GenEventVertexPositionerCfg(flags, name="GenEventVertexPositioner", **kwargs)
def CrabKissingVertexPositionerCfg(flags, name="CrabKissingVertexPositioner", **kwargs)
def BeamSpotFixerAlgCfg(flags, name="BeamSpotFixerAlg", **kwargs)
def VertexBeamCondPositionerCfg(flags, name="VertexBeamCondPositioner", **kwargs)
def BeamEffectsAlgOutputCfg(flags, **kwargs)
def BeamSpotReweightingAlgCfg(flags, name="BeamSpotReweightingAlg", **kwargs)
def GenEventBeamEffectBoosterCfg(flags, name="GenEventBeamEffectBooster", **kwargs)
def GenEventRotatorCfg(flags, name="GenEventRotator", **kwargs)
def MatchingBkgVertexPositionerCfg(flags, name="MatchingBkgVertexPositioner", **kwargs)
def ZeroLifetimePositionerCfg(flags, name="ZeroLifetimePositioner", **kwargs)
def AthRNGSvcCfg(flags, name="AthRNGSvc")