|
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 | VertexPositionFromFileCfg (flags, name="VertexPositionFromFile", **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 101 of file BeamEffectsAlgConfig.py.
102 """Return an accumulator and algorithm for beam effects, wihout output"""
105 from SimulationConfig.SimEnums
import LArParameterization
106 if flags.Sim.LArParameterization
is LArParameterization.FastCaloSim:
107 kwargs.setdefault(
"ISFRun",
True)
109 kwargs.setdefault(
"ISFRun", flags.Sim.ISFRun)
112 if flags.Sim.DoFullChain
and flags.Digitization.PileUp:
113 kwargs.setdefault(
"InputMcEventCollection",
"OriginalEvent_SG+GEN_EVENT")
115 kwargs.setdefault(
"InputMcEventCollection",
"GEN_EVENT")
117 if flags.Common.isOverlay
and flags.Sim.DoFullChain:
118 kwargs.setdefault(
'OutputMcEventCollection', f
"{flags.Overlay.SigPrefix}TruthEvent")
120 kwargs.setdefault(
'OutputMcEventCollection',
'BeamTruthEvent')
125 from SimulationConfig.SimEnums
import VertexSource
126 if not flags.Sim.VertexSource == VertexSource.AsGenerated:
128 from SimulationConfig.SimEnums
import CavernBackground
129 if flags.Beam.Type
not in [BeamType.Cosmics, BeamType.TestBeam]
and flags.Sim.CavernBackground
is not CavernBackground.Read:
135 kwargs.setdefault(
"GenEventManipulators", manipulators)
137 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 141 of file BeamEffectsAlgConfig.py.
142 """Return an accumulator and algorithm for beam effects, with output"""
145 alg = acc.getPrimary()
146 ItemList = [
"McEventCollection#" + alg.OutputMcEventCollection]
147 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
148 acc.merge(
OutputStreamCfg(flags,
"HITS", ItemList=ItemList, disableEventTag=
True))
◆ BeamSpotFixerAlgCfg()
def BeamEffectsAlgConfig.BeamSpotFixerAlgCfg |
( |
|
flags, |
|
|
|
name = "BeamSpotFixerAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 152 of file BeamEffectsAlgConfig.py.
153 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
156 kwargs.setdefault(
"InputKey",
"Input_EventInfo")
157 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
158 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix +
"EventInfo")
160 kwargs.setdefault(
"OutputKey",
"EventInfo")
162 acc.addEventAlgo(CompFactory.Simulation.BeamSpotFixerAlg(name, **kwargs))
◆ BeamSpotReweightingAlgCfg()
def BeamEffectsAlgConfig.BeamSpotReweightingAlgCfg |
( |
|
flags, |
|
|
|
name = "BeamSpotReweightingAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 174 of file BeamEffectsAlgConfig.py.
175 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
178 kwargs.setdefault(
"Input_beam_sigma_z", flags.Digitization.InputBeamSigmaZ)
180 acc.addEventAlgo(CompFactory.Simulation.BeamSpotReweightingAlg(name, **kwargs))
183 from AthenaConfiguration.MainServicesConfig
import OutputUsageIgnoreCfg
◆ CrabKissingVertexPositionerCfg()
def BeamEffectsAlgConfig.CrabKissingVertexPositionerCfg |
( |
|
flags, |
|
|
|
name = "CrabKissingVertexPositioner" , |
|
|
** |
kwargs |
|
) |
| |
Return a Crab-Kissing vertex positioner tool
Definition at line 84 of file BeamEffectsAlgConfig.py.
85 """Return a Crab-Kissing vertex positioner tool"""
88 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 readVtxPosFromFile = flags.Sim.VertexSource
in [VertexSource.VertexOverrideFile, VertexSource.VertexOverrideEventFile]
47 if readVtxPosFromFile:
49 elif flags.Sim.VertexSource
is VertexSource.CondDB:
51 elif flags.Sim.VertexSource
is VertexSource.LongBeamspotVertexPositioner:
54 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 92 of file BeamEffectsAlgConfig.py.
93 """Return a long beamspot vertex positioner tool"""
96 kwargs.setdefault(
"SimpleTimeSmearing", flags.Sim.VertexTimeSmearing)
97 acc.setPrivateTools(CompFactory.Simulation.LongBeamspotVertexPositioner(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 59 of file BeamEffectsAlgConfig.py.
60 """Return a conditional (? todo) vertex positioner tool"""
61 from RngComps.RngCompsConfig
import AthRNGSvcCfg
65 kwargs.setdefault(
"RandomSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)).name)
66 kwargs.setdefault(
"SimpleTimeSmearing", flags.Sim.VertexTimeSmearing)
67 kwargs.setdefault(
"TimeWidth", flags.Sim.VertexTimeWidth)
69 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
72 acc.setPrivateTools(CompFactory.Simulation.VertexBeamCondPositioner(name, **kwargs))
◆ VertexPositionFromFileCfg()
def BeamEffectsAlgConfig.VertexPositionFromFileCfg |
( |
|
flags, |
|
|
|
name = "VertexPositionFromFile" , |
|
|
** |
kwargs |
|
) |
| |
Return a vertex positioner tool
Definition at line 76 of file BeamEffectsAlgConfig.py.
77 """Return a vertex positioner tool"""
80 acc.setPrivateTools(CompFactory.Simulation.VertexPositionFromFile(name, **kwargs))
◆ ZeroLifetimePositionerCfg()
def BeamEffectsAlgConfig.ZeroLifetimePositionerCfg |
( |
|
flags, |
|
|
|
name = "ZeroLifetimePositioner" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 166 of file BeamEffectsAlgConfig.py.
168 kwargs.setdefault(
'ApplyPatch',
True)
169 kwargs.setdefault(
'RemovePatch',
True)
170 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 203 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 VertexPositionFromFileCfg(flags, name="VertexPositionFromFile", **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 ZeroLifetimePositionerCfg(flags, name="ZeroLifetimePositioner", **kwargs)
def AthRNGSvcCfg(flags, name="AthRNGSvc")