ATLAS Offline Software
Functions
python.CaloBCIDCoeffsCondAlgSCConfig Namespace Reference

Functions

def CaloBCIDCoeffsCondAlgSCCfg (flags, name='CaloBCIDCoeffsCondAlgSC', **kwargs)
 

Function Documentation

◆ CaloBCIDCoeffsCondAlgSCCfg()

def python.CaloBCIDCoeffsCondAlgSCConfig.CaloBCIDCoeffsCondAlgSCCfg (   flags,
  name = 'CaloBCIDCoeffsCondAlgSC',
**  kwargs 
)

Definition at line 9 of file CaloBCIDCoeffsCondAlgSCConfig.py.

9 def CaloBCIDCoeffsCondAlgSCCfg (flags, name = 'CaloBCIDCoeffsCondAlgSC', **kwargs):
10  acc = ComponentAccumulator()
11 
12  if not flags.Input.isMC:
13  #Data case
14  pass
15  else:
16  #MC case
17  kwargs.setdefault("MCSymKey", '')
18 
19  from LArRecUtils.LArRecUtilsConfig import LArOFCSCCondAlgCfg
20  acc.merge(LArOFCSCCondAlgCfg(flags))
21  kwargs.setdefault("OFCKey", 'LArOFCSC')
22 
23  requiredConditions=["PileupAverageSC","ShapeSC"]
24  from LArConfiguration.LArElecCalibDBConfig import LArElecCalibDBMCSCCfg
25  acc.merge(LArElecCalibDBMCSCCfg(flags,requiredConditions))
26  #conddb.addFolder("LAR_OFL","/LAR/ElecCalibMCSC/LArPileupAverage<tag>LARElecCalibMCSCLArPileupAverage-IOVDEP-00</tag>",className="CondAttrListCollection"
27  kwargs.setdefault("MinBiasAvgKey", "LArPileupAverageSC")
28  kwargs.setdefault("ShapeKey", "LArShapeSC")
29 
30  kwargs.setdefault("OutputCoeffsKey", 'CaloBCIDCoeffsSC')
31 
32  kwargs.setdefault("IsSuperCell", True)
33 
34  acc.addCondAlgo (CompFactory.CaloBCIDCoeffsCondAlg(name, **kwargs))
35 
36  return acc
python.LArElecCalibDBConfig.LArElecCalibDBMCSCCfg
def LArElecCalibDBMCSCCfg(flags, folders, detdb="LAR_OFL")
Definition: LArElecCalibDBConfig.py:241
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.LArRecUtilsConfig.LArOFCSCCondAlgCfg
def LArOFCSCCondAlgCfg(flags, name='LArOFCSCCondAlg', **kwargs)
Definition: LArRecUtilsConfig.py:53
python.CaloBCIDCoeffsCondAlgSCConfig.CaloBCIDCoeffsCondAlgSCCfg
def CaloBCIDCoeffsCondAlgSCCfg(flags, name='CaloBCIDCoeffsCondAlgSC', **kwargs)
Definition: CaloBCIDCoeffsCondAlgSCConfig.py:9