ATLAS Offline Software
Functions | Variables
python.LumiBlockMuWriterConfig Namespace Reference

Functions

def LumiBlockMuWriterCfg (flags, name='LumiBlockMuWriter', seqName="AthAlgSeq")
 

Variables

 flags1 = initConfigFlags()
 
 Files
 
def acc1 = LumiBlockMuWriterCfg (flags1)
 
 summariseProps
 
 flags2 = initConfigFlags()
 
 Type
 
def acc2 = LumiBlockMuWriterCfg (flags2)
 

Function Documentation

◆ LumiBlockMuWriterCfg()

def python.LumiBlockMuWriterConfig.LumiBlockMuWriterCfg (   flags,
  name = 'LumiBlockMuWriter',
  seqName = "AthAlgSeq" 
)

Definition at line 14 of file LumiBlockMuWriterConfig.py.

14 def LumiBlockMuWriterCfg (flags, name = 'LumiBlockMuWriter', seqName="AthAlgSeq"):
15  result = ComponentAccumulator(seqName)
16 
17  if flags.Beam.Type is BeamType.Cosmics or flags.Input.isMC:
18  condkey = ''
19  else:
20  from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
21  result.merge (LuminosityCondAlgCfg (flags))
22  condkey = result.getCondAlgo ('LuminosityCondAlg').LuminosityOutputKey
23 
24  LumiBlockMuWriter = CompFactory.LumiBlockMuWriter # LumiBlockComps
25  alg = LumiBlockMuWriter (name, LumiDataKey = condkey)
26  #In the HLT we want to run LumiBlockMuWriter as a normal EventAlgo, but in a pre-event sequence (HLTBeginSeq)
27  if flags.Trigger.doHLT:
28  result.addEventAlgo(alg)
29  #For offline and particularly serial athena, add LumiBlockMuWriter to AthCondSeq to ensure it runs first (ATR-24721)
30  else:
31  result.addCondAlgo(alg)
32  return result
33 
34 

Variable Documentation

◆ acc1

def python.LumiBlockMuWriterConfig.acc1 = LumiBlockMuWriterCfg (flags1)

Definition at line 43 of file LumiBlockMuWriterConfig.py.

◆ acc2

def python.LumiBlockMuWriterConfig.acc2 = LumiBlockMuWriterCfg (flags2)

Definition at line 52 of file LumiBlockMuWriterConfig.py.

◆ Files

python.LumiBlockMuWriterConfig.Files

Definition at line 41 of file LumiBlockMuWriterConfig.py.

◆ flags1

python.LumiBlockMuWriterConfig.flags1 = initConfigFlags()

Definition at line 40 of file LumiBlockMuWriterConfig.py.

◆ flags2

python.LumiBlockMuWriterConfig.flags2 = initConfigFlags()

Definition at line 48 of file LumiBlockMuWriterConfig.py.

◆ summariseProps

python.LumiBlockMuWriterConfig.summariseProps

Definition at line 44 of file LumiBlockMuWriterConfig.py.

◆ Type

python.LumiBlockMuWriterConfig.Type

Definition at line 50 of file LumiBlockMuWriterConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.LumiBlockMuWriterConfig.LumiBlockMuWriterCfg
def LumiBlockMuWriterCfg(flags, name='LumiBlockMuWriter', seqName="AthAlgSeq")
Definition: LumiBlockMuWriterConfig.py:14