|  | 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 | LRAVertexPositionerCfg (flags, name="LRAVertexPositionerCfg", **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 121 of file BeamEffectsAlgConfig.py.
  122     """Return an accumulator and algorithm for beam effects, wihout output""" 
  125     from SimulationConfig.SimEnums 
import LArParameterization
 
  126     if flags.Sim.LArParameterization 
is LArParameterization.FastCaloSim:
 
  127         kwargs.setdefault(
"ISFRun", 
True)
 
  129         kwargs.setdefault(
"ISFRun", flags.Sim.ISFRun)
 
  132     if flags.Sim.DoFullChain 
and flags.Digitization.PileUp:
 
  133         kwargs.setdefault(
"InputMcEventCollection", 
"OriginalEvent_SG+GEN_EVENT")
 
  135         kwargs.setdefault(
"InputMcEventCollection", 
"GEN_EVENT")
 
  137     if flags.Sim.DoFullChain 
and flags.Common.isOverlay 
and not flags.Overlay.DataOverlay:
 
  138         kwargs.setdefault(
'OutputMcEventCollection', f
"{flags.Overlay.SigPrefix}TruthEvent")
 
  140         kwargs.setdefault(
'OutputMcEventCollection', 
'BeamTruthEvent')
 
  145     from SimulationConfig.SimEnums 
import VertexSource
 
  146     if not flags.Sim.VertexSource == VertexSource.AsGenerated:
 
  148         from SimulationConfig.SimEnums 
import CavernBackground
 
  149         if flags.Beam.Type 
not in [BeamType.Cosmics, BeamType.TestBeam] 
and flags.Sim.CavernBackground 
is not CavernBackground.Read:
 
  153     kwargs.setdefault(
"GenEventManipulators", manipulators)
 
  155     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 159 of file BeamEffectsAlgConfig.py.
  160     """Return an accumulator and algorithm for beam effects, with output""" 
  163     alg = acc.getPrimary()
 
  164     ItemList = [
"McEventCollection#" + alg.OutputMcEventCollection]
 
  165     from OutputStreamAthenaPool.OutputStreamConfig 
import OutputStreamCfg
 
  166     acc.merge(
OutputStreamCfg(flags, 
"HITS", ItemList=ItemList, disableEventTag=
True))
 
 
 
 
◆ BeamSpotFixerAlgCfg()
      
        
          | def BeamEffectsAlgConfig.BeamSpotFixerAlgCfg | ( |  | flags, | 
        
          |  |  |  | name = "BeamSpotFixerAlg", | 
        
          |  |  | ** | kwargs | 
        
          |  | ) |  |  | 
      
 
Definition at line 170 of file BeamEffectsAlgConfig.py.
  171     from BeamSpotConditions.BeamSpotConditionsConfig 
import BeamSpotCondAlgCfg
 
  174     kwargs.setdefault(
"InputKey", 
"Input_EventInfo")
 
  175     if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
 
  176         kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix + 
"EventInfo")
 
  178         kwargs.setdefault(
"OutputKey", 
"EventInfo")
 
  180     acc.addEventAlgo(CompFactory.Simulation.BeamSpotFixerAlg(name, **kwargs))
 
 
 
 
◆ BeamSpotReweightingAlgCfg()
      
        
          | def BeamEffectsAlgConfig.BeamSpotReweightingAlgCfg | ( |  | flags, | 
        
          |  |  |  | name = "BeamSpotReweightingAlg", | 
        
          |  |  | ** | kwargs | 
        
          |  | ) |  |  | 
      
 
Definition at line 192 of file BeamEffectsAlgConfig.py.
  193     from BeamSpotConditions.BeamSpotConditionsConfig 
import BeamSpotCondAlgCfg
 
  196     kwargs.setdefault(
"Input_beam_sigma_z", flags.Digitization.InputBeamSigmaZ)
 
  198     acc.addEventAlgo(CompFactory.Simulation.BeamSpotReweightingAlg(name, **kwargs))
 
  201     from AthenaConfiguration.MainServicesConfig 
import OutputUsageIgnoreCfg
 
 
 
 
◆ CrabKissingVertexPositionerCfg()
      
        
          | def BeamEffectsAlgConfig.CrabKissingVertexPositionerCfg | ( |  | flags, | 
        
          |  |  |  | name = "CrabKissingVertexPositioner", | 
        
          |  |  | ** | kwargs | 
        
          |  | ) |  |  | 
      
 
Return a Crab-Kissing vertex positioner tool
 
Definition at line 104 of file BeamEffectsAlgConfig.py.
  105     """Return a Crab-Kissing vertex positioner tool""" 
  108     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:
 
   52     elif flags.Sim.VertexSource 
is VertexSource.LRAPositioner:
 
   55     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 112 of file BeamEffectsAlgConfig.py.
  113     """Return a long beamspot vertex positioner tool""" 
  116     kwargs.setdefault(
"SimpleTimeSmearing", flags.Sim.VertexTimeSmearing)
 
  117     acc.setPrivateTools(CompFactory.Simulation.LongBeamspotVertexPositioner(name, **kwargs))
 
 
 
 
◆ LRAVertexPositionerCfg()
      
        
          | def BeamEffectsAlgConfig.LRAVertexPositionerCfg | ( |  | flags, | 
        
          |  |  |  | name = "LRAVertexPositionerCfg", | 
        
          |  |  | ** | kwargs | 
        
          |  | ) |  |  | 
      
 
Definition at line 77 of file BeamEffectsAlgConfig.py.
   78     from RngComps.RngCompsConfig 
import AthRNGSvcCfg
 
   82     kwargs.setdefault(
"FileName", flags.Beam.vdMScan.ConfigFile)
 
   83     kwargs.setdefault(
"HistName", flags.Beam.vdMScan.PV.PDF)
 
   85     kwargs.setdefault(
"RNGService", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)).name)
 
   87     acc.setPrivateTools(CompFactory.Simulation.LRAVertexPositioner(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 90 of file BeamEffectsAlgConfig.py.
   91     """Return a vertex positioner tool that reads a matching vertex from the background input file.""" 
   94     if flags.Overlay.DataOverlay:
 
   95         kwargs.setdefault(
"PrimaryVertexContainerName", f
"{flags.Overlay.BkgPrefix}PrimaryVertices")
 
   97         from SGComps.SGInputLoaderConfig 
import SGInputLoaderCfg
 
   98         acc.merge(
SGInputLoaderCfg(flags, [f
'xAOD::VertexContainer#{kwargs["PrimaryVertexContainerName"]}']))
 
  100     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 60 of file BeamEffectsAlgConfig.py.
   61     """Return a conditional (? todo) vertex positioner tool""" 
   62     from RngComps.RngCompsConfig 
import AthRNGSvcCfg
 
   66     kwargs.setdefault(
"RandomSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)))
 
   67     kwargs.setdefault(
"SimpleTimeSmearing", flags.Sim.VertexTimeSmearing)
 
   68     kwargs.setdefault(
"TimeWidth", flags.Sim.VertexTimeWidth)
 
   70     from BeamSpotConditions.BeamSpotConditionsConfig 
import BeamSpotCondAlgCfg
 
   73     acc.setPrivateTools(CompFactory.Simulation.VertexBeamCondPositioner(name, **kwargs))
 
 
 
 
◆ ZeroLifetimePositionerCfg()
      
        
          | def BeamEffectsAlgConfig.ZeroLifetimePositionerCfg | ( |  | flags, | 
        
          |  |  |  | name = "ZeroLifetimePositioner", | 
        
          |  |  | ** | kwargs | 
        
          |  | ) |  |  | 
      
 
Definition at line 184 of file BeamEffectsAlgConfig.py.
  186     kwargs.setdefault(
'ApplyPatch', 
True)
 
  187     kwargs.setdefault(
'RemovePatch', 
True)
 
  188     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 221 of file BeamEffectsAlgConfig.py.
 
 
◆ isMC
      
        
          | BeamEffectsAlgConfig.isMC | 
      
 
 
◆ maxEvents
      
        
          | BeamEffectsAlgConfig.maxEvents | 
      
 
 
◆ RunNumbers
      
        
          | BeamEffectsAlgConfig.RunNumbers | 
      
 
 
◆ VertexSource
      
        
          | BeamEffectsAlgConfig.VertexSource | 
      
 
 
◆ withDetails
      
        
          | BeamEffectsAlgConfig.withDetails | 
      
 
 
 
def OutputStreamCfg(flags, streamName, ItemList=None, MetadataItemList=None, disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, keepProvenanceTagsRegEx=None, AcceptAlgs=None, HelperTools=None)
def ValidityCheckerCfg(flags, name="GenEventValidityChecker", **kwargs)
def LongBeamspotVertexPositionerCfg(flags, name="LongBeamspotVertexPositioner", **kwargs)
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 LRAVertexPositionerCfg(flags, name="LRAVertexPositionerCfg", **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")