ATLAS Offline Software
Functions | Variables
python.CaloBCIDCoeffsCondAlgConfig Namespace Reference

Functions

def CaloBCIDCoeffsCondAlgCfg (flags)
 

Variables

list only
 
 flags1 = initConfigFlags()
 
 Files
 
 AtlasVersion
 
def acc1 = CaloBCIDCoeffsCondAlgCfg (flags1)
 
 summariseProps
 
 True
 
 onlyComponents
 
 flags2 = initConfigFlags()
 
def acc2 = CaloBCIDCoeffsCondAlgCfg (flags2)
 

Function Documentation

◆ CaloBCIDCoeffsCondAlgCfg()

def python.CaloBCIDCoeffsCondAlgConfig.CaloBCIDCoeffsCondAlgCfg (   flags)

Definition at line 12 of file CaloBCIDCoeffsCondAlgConfig.py.

12 def CaloBCIDCoeffsCondAlgCfg (flags):
13  result = ComponentAccumulator()
14 
15  from LArRecUtils.LArRecUtilsConfig import LArMCSymCondAlgCfg
16  result.merge (LArMCSymCondAlgCfg (flags))
17 
18  if flags.Input.isMC is False:
19  #For data, the regular shape is the 4-sample one used to Q-factor computation by LArRawChannelBuilder
20  #Here we need a 32-sample, symmetrized shape. Therfore the re-key'ing and the dedicated LArPileUpShapeSymCondAlg
21 
22  if flags.Common.isOnline:
23  result.merge(addFolderList(flags, (('/LAR/LArPileup/LArPileupShape<key>LArShape32</key>', 'LAR_ONL', 'LArShape32MC'),
24  ('/LAR/LArPileup/LArPileupAverage','LAR_ONL','LArMinBiasAverageMC')) ))
25  else:
26  result.merge(addFolderList(flags, (('/LAR/ElecCalibOfl/LArPileupShape<key>LArShape32</key>','LAR_OFL','LArShape32MC'),
27  ('/LAR/ElecCalibOfl/LArPileupAverage','LAR_OFL','LArMinBiasAverageMC')) ))
28 
29  LArMinBiasAverageSymAlg=CompFactory.getComp("LArSymConditionsAlg<LArMinBiasAverageMC,LArMinBiasAverageSym>")
30  result.addCondAlgo(LArMinBiasAverageSymAlg("LArPileUpAvgSymCondAlg",ReadKey="LArPileupAverage",WriteKey="LArPileupAverageSym"))
31 
32  LArShapeSymAlg=CompFactory.getComp("LArSymConditionsAlg<LArShape32MC,LArShape32Sym>")
33  result.addCondAlgo(LArShapeSymAlg("LArPileUpShapeSymCondAlg",ReadKey="LArShape32",WriteKey="LArShape32Sym"))
34 
35  ShapeKey = 'LArShape32Sym'
36 
37  from LArConfiguration.LArElecCalibDBConfig import LArElecCalibDBCfg
38  result.merge (LArElecCalibDBCfg (flags, ['OFC']))
39  else:
40  from LArRecUtils.LArADC2MeVCondAlgConfig import LArADC2MeVCondAlgCfg
41  from LArRecUtils.LArRecUtilsConfig import LArOFCCondAlgCfg, LArAutoCorrTotalCondAlgCfg
42 
43  result.merge (LArADC2MeVCondAlgCfg (flags))
44  result.merge (LArOFCCondAlgCfg (flags))
45  result.merge (LArAutoCorrTotalCondAlgCfg (flags))
46 
47  result.merge(addFolderList(flags, (('/LAR/ElecCalibMC/Shape','LAR_OFL','LArShape32MC'),
48  ('/LAR/ElecCalibMC/LArPileupAverage', 'LAR_OFL', 'LArMinBiasAverageMC')) ))
49 
50  LArMinBiasAverageSymAlg=CompFactory.getComp("LArSymConditionsAlg<LArMinBiasAverageMC,LArMinBiasAverageSym>")
51  result.addCondAlgo(LArMinBiasAverageSymAlg("LArPileUpAvgSymCondAlg",ReadKey="LArPileupAverage",WriteKey="LArPileupAverageSym"))
52 
53  ShapeKey = 'LArShapeSym'
54 
55 
56  CaloBCIDCoeffsCondAlg = CompFactory.CaloBCIDCoeffsCondAlg # CaloRec
57  alg = CaloBCIDCoeffsCondAlg ('CaloBCIDCoeffsCondAlg',
58  MCSymKey = 'LArMCSym',
59  OFCKey = 'LArOFC',
60  ShapeKey = ShapeKey,
61  MinBiasAvgKey = 'LArPileupAverageSym',
62  OutputCoeffsKey = 'CaloBCIDCoeffs')
63  result.addCondAlgo (alg)
64 
65  return result
66 
67 

Variable Documentation

◆ acc1

def python.CaloBCIDCoeffsCondAlgConfig.acc1 = CaloBCIDCoeffsCondAlgCfg (flags1)

Definition at line 81 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ acc2

def python.CaloBCIDCoeffsCondAlgConfig.acc2 = CaloBCIDCoeffsCondAlgCfg (flags2)

Definition at line 91 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ AtlasVersion

python.CaloBCIDCoeffsCondAlgConfig.AtlasVersion

Definition at line 79 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ Files

python.CaloBCIDCoeffsCondAlgConfig.Files

Definition at line 78 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ flags1

python.CaloBCIDCoeffsCondAlgConfig.flags1 = initConfigFlags()

Definition at line 77 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ flags2

python.CaloBCIDCoeffsCondAlgConfig.flags2 = initConfigFlags()

Definition at line 87 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ only

list python.CaloBCIDCoeffsCondAlgConfig.only
Initial value:
1 = ['CaloBCIDCoeffsCondAlg',
2  'LArPileUpAvgSymCondAlg',
3  'LArPileUpShapeSymCondAlg']

Definition at line 72 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ onlyComponents

python.CaloBCIDCoeffsCondAlgConfig.onlyComponents

Definition at line 82 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ summariseProps

python.CaloBCIDCoeffsCondAlgConfig.summariseProps

Definition at line 82 of file CaloBCIDCoeffsCondAlgConfig.py.

◆ True

python.CaloBCIDCoeffsCondAlgConfig.True

Definition at line 82 of file CaloBCIDCoeffsCondAlgConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.IOVDbSvcConfig.addFolderList
def addFolderList(flags, listOfFolderInfoTuple, extensible=False, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:90
python.CaloBCIDCoeffsCondAlgConfig.CaloBCIDCoeffsCondAlgCfg
def CaloBCIDCoeffsCondAlgCfg(flags)
Definition: CaloBCIDCoeffsCondAlgConfig.py:12
python.LArElecCalibDBConfig.LArShapeSymAlg
LArShapeSymAlg
Definition: LArElecCalibDBConfig.py:19
python.LArElecCalibDBConfig.LArMinBiasAverageSymAlg
LArMinBiasAverageSymAlg
Definition: LArElecCalibDBConfig.py:12