7 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg
8 from LArConfiguration.LArElecCalibDBConfig
import LArElecCalibDBCfg
9 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
15 theADC2MeVCondAlg=CompFactory.LArADC2MeVCondAlg(LArADC2MeVKey =
'LArADC2MeV')
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
26 requiredConditions=[
"Ramp",
"DAC2uA",
"uA2MeV",
"MphysOverMcal",
"HVScaleCorr"]
27 from LArRecUtils.LArFebConfigCondAlgConfig
import LArFebConfigCondAlgCfg
28 if 'COMP200' in flags.IOVDb.DatabaseInstance:
29 theADC2MeVCondAlg.LAruA2MeVKey=
"LAruA2MeVSym"
30 theADC2MeVCondAlg.LArDAC2uAKey=
"LArDAC2uASym"
34 result.addCondAlgo(theADC2MeVCondAlg,primary=
True)