ATLAS Offline Software
Functions | Variables
LArFCalSamplingFractionG4AtlasConfig Namespace Reference

Functions

def FCalParticleGunCfg (flags)
 
def LArFCalSamplingFractionConfig (flags, name="LArFCalSamplingFraction", **kwargs)
 

Variables

 module
 
 flags
 
 fcal1_z
 
 fcal2_z
 
 fcal3_z
 
 params
 
 WorldRRange
 
 WorldZRange
 
 GlobalTag
 
 AtlasVersion
 
 HITSFileName
 
 GeometryCalo
 
 EnableCalo
 
 GeometryID
 
 EnableID
 
 GeometryLucid
 
 EnableLucid
 
 Files
 
 acc
 
 name
 
 Output
 
 withDetails
 

Function Documentation

◆ FCalParticleGunCfg()

def LArFCalSamplingFractionG4AtlasConfig.FCalParticleGunCfg (   flags)

Definition at line 20 of file LArFCalSamplingFractionG4AtlasConfig.py.

20 def FCalParticleGunCfg(flags):
21  acc = ComponentAccumulator()
22 
23  # Import paticle gun
24  import ParticleGun as PG
25 
26  pg = PG.ParticleGun(randomStream = "SINGLE", randomSeed = flags.Random.SeedOffset)
27 
28  # Setting particle gun specifications
29  pg.sampler.pid = 11
30  pg.sampler.mom = PG.EEtaMPhiSampler(energy=params['pg_E'], eta=params['pg_eta'])
31  pg.sampler.pos = PG.PosSampler(x=params['pg_x'], y=params['pg_y'], z=params['pg_z'], t=params['pg_z'])
32 
33  acc.addEventAlgo(pg)
34 
35  return acc
36 
37 

◆ LArFCalSamplingFractionConfig()

def LArFCalSamplingFractionG4AtlasConfig.LArFCalSamplingFractionConfig (   flags,
  name = "LArFCalSamplingFraction",
**  kwargs 
)

Definition at line 38 of file LArFCalSamplingFractionG4AtlasConfig.py.

38 def LArFCalSamplingFractionConfig(flags, name="LArFCalSamplingFraction", **kwargs):
39  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
40  acc = LArGMCfg(flags)
41  acc.addEventAlgo(CompFactory.LArFCalSamplingFraction(name=name, **kwargs))
42 
43  return acc
44 
45 
46 # Iniitialize flags

Variable Documentation

◆ acc

LArFCalSamplingFractionG4AtlasConfig.acc

Definition at line 97 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ AtlasVersion

LArFCalSamplingFractionG4AtlasConfig.AtlasVersion

Definition at line 77 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ EnableCalo

LArFCalSamplingFractionG4AtlasConfig.EnableCalo

Definition at line 82 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ EnableID

LArFCalSamplingFractionG4AtlasConfig.EnableID

Definition at line 84 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ EnableLucid

LArFCalSamplingFractionG4AtlasConfig.EnableLucid

Definition at line 88 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ fcal1_z

LArFCalSamplingFractionG4AtlasConfig.fcal1_z

Definition at line 50 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ fcal2_z

LArFCalSamplingFractionG4AtlasConfig.fcal2_z

Definition at line 50 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ fcal3_z

LArFCalSamplingFractionG4AtlasConfig.fcal3_z

Definition at line 50 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ Files

LArFCalSamplingFractionG4AtlasConfig.Files

Definition at line 91 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ flags

LArFCalSamplingFractionG4AtlasConfig.flags

Definition at line 47 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ GeometryCalo

LArFCalSamplingFractionG4AtlasConfig.GeometryCalo

Definition at line 81 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ GeometryID

LArFCalSamplingFractionG4AtlasConfig.GeometryID

Definition at line 83 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ GeometryLucid

LArFCalSamplingFractionG4AtlasConfig.GeometryLucid

Definition at line 87 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ GlobalTag

LArFCalSamplingFractionG4AtlasConfig.GlobalTag

Definition at line 76 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ HITSFileName

LArFCalSamplingFractionG4AtlasConfig.HITSFileName

Definition at line 78 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ module

LArFCalSamplingFractionG4AtlasConfig.module

Definition at line 17 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ name

LArFCalSamplingFractionG4AtlasConfig.name

Definition at line 109 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ Output

LArFCalSamplingFractionG4AtlasConfig.Output

Definition at line 109 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ params

LArFCalSamplingFractionG4AtlasConfig.params

Definition at line 53 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ withDetails

LArFCalSamplingFractionG4AtlasConfig.withDetails

Definition at line 112 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ WorldRRange

LArFCalSamplingFractionG4AtlasConfig.WorldRRange

Definition at line 74 of file LArFCalSamplingFractionG4AtlasConfig.py.

◆ WorldZRange

LArFCalSamplingFractionG4AtlasConfig.WorldZRange

Definition at line 75 of file LArFCalSamplingFractionG4AtlasConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArFCalSamplingFractionG4AtlasConfig.LArFCalSamplingFractionConfig
def LArFCalSamplingFractionConfig(flags, name="LArFCalSamplingFraction", **kwargs)
Definition: LArFCalSamplingFractionG4AtlasConfig.py:38
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
LArFCalSamplingFractionG4AtlasConfig.FCalParticleGunCfg
def FCalParticleGunCfg(flags)
Definition: LArFCalSamplingFractionG4AtlasConfig.py:20