ATLAS Offline Software
Functions | Variables
python.LArADC2MeVCondAlgConfig Namespace Reference

Functions

def LArADC2MeVCondAlgCfg (flags)
 

Variables

 flags1 = initConfigFlags()
 
 Files
 
 AtlasVersion
 
def acc1 = LArADC2MeVCondAlgCfg (flags1)
 
 summariseProps
 
 flags2 = initConfigFlags()
 
def acc2 = LArADC2MeVCondAlgCfg (flags2)
 

Function Documentation

◆ LArADC2MeVCondAlgCfg()

def python.LArADC2MeVCondAlgConfig.LArADC2MeVCondAlgCfg (   flags)

Definition at line 6 of file LArADC2MeVCondAlgConfig.py.

6 def LArADC2MeVCondAlgCfg(flags):
7  from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg
8  from LArConfiguration.LArElecCalibDBConfig import LArElecCalibDBCfg
9  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
10 
11  result=ComponentAccumulator()
12  result.merge(LArOnOffIdMappingCfg(flags))
13  result.merge(LArGMCfg(flags)) #Needed for identifier helpers
14 
15  theADC2MeVCondAlg=CompFactory.LArADC2MeVCondAlg(LArADC2MeVKey = 'LArADC2MeV')
16 
17  if flags.Input.isMC:
18  requiredConditions=["Ramp","DAC2uA","uA2MeV","MphysOverMcal","HVScaleCorr"]
19  theADC2MeVCondAlg.LAruA2MeVKey="LAruA2MeVSym"
20  theADC2MeVCondAlg.LArDAC2uAKey="LArDAC2uASym"
21  theADC2MeVCondAlg.LArRampKey="LArRampSym"
22  theADC2MeVCondAlg.LArMphysOverMcalKey="LArMphysOverMcalSym"
23  theADC2MeVCondAlg.LArHVScaleCorrKey="LArHVScaleCorr"
24  theADC2MeVCondAlg.UseFEBGainTresholds=False
25  else: # not MC:
26  requiredConditions=["Ramp","DAC2uA","uA2MeV","MphysOverMcal","HVScaleCorr"]
27  from LArRecUtils.LArFebConfigCondAlgConfig import LArFebConfigCondAlgCfg
28  if 'COMP200' in flags.IOVDb.DatabaseInstance: # Run1 case
29  theADC2MeVCondAlg.LAruA2MeVKey="LAruA2MeVSym"
30  theADC2MeVCondAlg.LArDAC2uAKey="LArDAC2uASym"
31  result.merge(LArFebConfigCondAlgCfg(flags))
32 
33  result.merge(LArElecCalibDBCfg(flags,requiredConditions))
34  result.addCondAlgo(theADC2MeVCondAlg,primary=True)
35  return result
36 
37 

Variable Documentation

◆ acc1

def python.LArADC2MeVCondAlgConfig.acc1 = LArADC2MeVCondAlgCfg (flags1)

Definition at line 47 of file LArADC2MeVCondAlgConfig.py.

◆ acc2

def python.LArADC2MeVCondAlgConfig.acc2 = LArADC2MeVCondAlgCfg (flags2)

Definition at line 57 of file LArADC2MeVCondAlgConfig.py.

◆ AtlasVersion

python.LArADC2MeVCondAlgConfig.AtlasVersion

Definition at line 45 of file LArADC2MeVCondAlgConfig.py.

◆ Files

python.LArADC2MeVCondAlgConfig.Files

Definition at line 44 of file LArADC2MeVCondAlgConfig.py.

◆ flags1

python.LArADC2MeVCondAlgConfig.flags1 = initConfigFlags()

Definition at line 43 of file LArADC2MeVCondAlgConfig.py.

◆ flags2

python.LArADC2MeVCondAlgConfig.flags2 = initConfigFlags()

Definition at line 53 of file LArADC2MeVCondAlgConfig.py.

◆ summariseProps

python.LArADC2MeVCondAlgConfig.summariseProps

Definition at line 48 of file LArADC2MeVCondAlgConfig.py.

python.LArElecCalibDBConfig.LArElecCalibDBCfg
def LArElecCalibDBCfg(flags, condObjs)
Definition: LArElecCalibDBConfig.py:47
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.LArADC2MeVCondAlgConfig.LArADC2MeVCondAlgCfg
def LArADC2MeVCondAlgCfg(flags)
Definition: LArADC2MeVCondAlgConfig.py:6
python.LArFebConfigCondAlgConfig.LArFebConfigCondAlgCfg
def LArFebConfigCondAlgCfg(flags, name="LArFEBConfigCondAlg", **kwargs)
Definition: LArFebConfigCondAlgConfig.py:5
LArCablingConfig.LArOnOffIdMappingCfg
def LArOnOffIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:62
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8