10 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
13 theLArStripsCrossTalkCorrector = CompFactory.LArStripsCrossTalkCorrector()
14 theLArStripsCrossTalkCorrector.KeyList = KeyList
15 theLArStripsCrossTalkCorrector.ADCsaturation = 4095
16 theLArStripsCrossTalkCorrector.NoXtalkCorr=[
"deadReadout",
"deadPhys",
"deadCalib",
"almostDead"]
19 if len(KeyList)
and KeyList[0] ==
"LOW":
20 theLArStripsCrossTalkCorrector.DontUseForXtalkCorr=[
"short",
"peculiarCalibrationLine",
"deadReadout",
"deadPhys"]
22 theLArStripsCrossTalkCorrector.DontUseForXtalkCorr=[
"short",
"deadReadout",
"deadPhys"]
23 theLArStripsCrossTalkCorrector.AcceptableDifference=25.0
25 result.addEventAlgo(theLArStripsCrossTalkCorrector)