ATLAS Offline Software
Functions
python.CaloBCIDLumiCondAlgSCConfig Namespace Reference

Functions

def CaloBCIDLumiCondAlgSCCfg (flags)
 

Function Documentation

◆ CaloBCIDLumiCondAlgSCCfg()

def python.CaloBCIDLumiCondAlgSCConfig.CaloBCIDLumiCondAlgSCCfg (   flags)

Definition at line 10 of file CaloBCIDLumiCondAlgSCConfig.py.

10 def CaloBCIDLumiCondAlgSCCfg (flags):
11  result = ComponentAccumulator()
12 
13  from CaloRec.CaloBCIDCoeffsCondAlgSCConfig import CaloBCIDCoeffsCondAlgSCCfg
14  result.merge (CaloBCIDCoeffsCondAlgSCCfg (flags))
15 
16  if not flags.Input.isMC:
17  from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
18  result.merge (LuminosityCondAlgCfg (flags))
19 
20  else:
21  from LumiBlockComps.BunchCrossingCondAlgConfig import BunchCrossingCondAlgCfg
22  result.merge (BunchCrossingCondAlgCfg(flags))
23 
24 
25  CaloBCIDLumiCondAlg = CompFactory.CaloBCIDLumiCondAlg # CaloRec
26  alg = CaloBCIDLumiCondAlg ('CaloBCIDLumiCondAlgSC',
27  CoeffsKey = 'CaloBCIDCoeffsSC',
28  BunchCrossingCondDataKey = 'BunchCrossingData',
29  LuminosityCondDataKey = 'LuminosityCondData',
30  isMC = flags.Input.isMC,
31  OutputLumiKey = 'CaloBCIDLumiSC')
32  result.addCondAlgo (alg)
33 
34  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloBCIDLumiCondAlgSCConfig.CaloBCIDLumiCondAlgSCCfg
def CaloBCIDLumiCondAlgSCCfg(flags)
Definition: CaloBCIDLumiCondAlgSCConfig.py:10
python.BunchCrossingCondAlgConfig.BunchCrossingCondAlgCfg
def BunchCrossingCondAlgCfg(flags)
Definition: BunchCrossingCondAlgConfig.py:8