ATLAS Offline Software
Loading...
Searching...
No Matches
python.LArADC2MeVSCCondAlgConfig Namespace Reference

Functions

 LArADC2MeVSCCondAlgCfg (flags)

Variables

 flags1 = initConfigFlags()
 Files
 AtlasVersion
 acc1 = LArADC2MeVSCCondAlgCfg (flags1)
 summariseProps
 flags2 = initConfigFlags()
 acc2 = LArADC2MeVSCCondAlgCfg (flags2)

Function Documentation

◆ LArADC2MeVSCCondAlgCfg()

python.LArADC2MeVSCCondAlgConfig.LArADC2MeVSCCondAlgCfg ( flags)

Definition at line 6 of file LArADC2MeVSCCondAlgConfig.py.

6def LArADC2MeVSCCondAlgCfg(flags):
7 from LArConfiguration.LArElecCalibDBConfig import LArElecCalibDBCfg, LArElecCalibDBMCSCCfg
8 from LArGeoAlgsNV.LArGMConfig import LArGMCfg
9
10 result=ComponentAccumulator()
11 from LArCabling.LArCablingConfig import LArOnOffIdMappingSCCfg
12 result.merge(LArOnOffIdMappingSCCfg(flags))
13 result.merge(LArGMCfg(flags)) #Needed for identifier helpers
14
15 theADC2MeVCondAlg=CompFactory.LArADC2MeVCondAlg(name = "LArADC2MeVSCCondAlg", LArADC2MeVKey = 'LArADC2MeVSC')
16
17 if flags.Input.isMC:
18 requiredConditions=["RampSC","DAC2uASC","uA2MeVSC"]
19 theADC2MeVCondAlg.LAruA2MeVKey="LAruA2MeVSC"
20 theADC2MeVCondAlg.LArDAC2uAKey="LArDAC2uASC"
21 theADC2MeVCondAlg.LArRampKey="LArRampSC"
22 theADC2MeVCondAlg.LArMphysOverMcalKey=""
23 theADC2MeVCondAlg.LArHVScaleCorrKey=""
24 theADC2MeVCondAlg.UseFEBGainTresholds=False
25 theADC2MeVCondAlg.LArOnOffIdMappingKey="LArOnOffIdMapSC"
26 theADC2MeVCondAlg.isSuperCell=True
27 result.merge(LArElecCalibDBMCSCCfg(flags,requiredConditions))
28 else: # not MC:
29 requiredConditions=["Ramp","DAC2uA","uA2MeV","MphysOverMcal","HVScaleCorr"]
30 from LArRecUtils.LArFebConfigCondAlgConfig import LArFebConfigCondAlgCfg
31 if 'COMP200' in flags.IOVDb.DatabaseInstance: # Run1 case
32 theADC2MeVCondAlg.LAruA2MeVKey="LAruA2MeVSC"
33 theADC2MeVCondAlg.LArDAC2uAKey="LArDAC2uASC"
34 result.merge(LArFebConfigCondAlgCfg(flags))
35 result.merge(LArElecCalibDBCfg(flags,requiredConditions))
36 result.addCondAlgo(theADC2MeVCondAlg,primary=True)
37 return result
38
39

Variable Documentation

◆ acc1

python.LArADC2MeVSCCondAlgConfig.acc1 = LArADC2MeVSCCondAlgCfg (flags1)

Definition at line 49 of file LArADC2MeVSCCondAlgConfig.py.

◆ acc2

python.LArADC2MeVSCCondAlgConfig.acc2 = LArADC2MeVSCCondAlgCfg (flags2)

Definition at line 60 of file LArADC2MeVSCCondAlgConfig.py.

◆ AtlasVersion

python.LArADC2MeVSCCondAlgConfig.AtlasVersion

Definition at line 47 of file LArADC2MeVSCCondAlgConfig.py.

◆ Files

python.LArADC2MeVSCCondAlgConfig.Files

Definition at line 46 of file LArADC2MeVSCCondAlgConfig.py.

◆ flags1

python.LArADC2MeVSCCondAlgConfig.flags1 = initConfigFlags()

Definition at line 45 of file LArADC2MeVSCCondAlgConfig.py.

◆ flags2

python.LArADC2MeVSCCondAlgConfig.flags2 = initConfigFlags()

Definition at line 55 of file LArADC2MeVSCCondAlgConfig.py.

◆ summariseProps

python.LArADC2MeVSCCondAlgConfig.summariseProps

Definition at line 50 of file LArADC2MeVSCCondAlgConfig.py.