ATLAS Offline Software
Functions
python.LArStripsXtalkCorrConfig Namespace Reference

Functions

def LArStripsXtalkCorrCfg (flags, KeyList)
 

Function Documentation

◆ LArStripsXtalkCorrCfg()

def python.LArStripsXtalkCorrConfig.LArStripsXtalkCorrCfg (   flags,
  KeyList 
)

Definition at line 6 of file LArStripsXtalkCorrConfig.py.

6 def LArStripsXtalkCorrCfg(flags,KeyList):
7  result=ComponentAccumulator()
8 
9  #Need geometry for neighbors
10  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
11  result.merge(LArGMCfg(flags))
12 
13  theLArStripsCrossTalkCorrector = CompFactory.LArStripsCrossTalkCorrector()
14  theLArStripsCrossTalkCorrector.KeyList = KeyList
15  theLArStripsCrossTalkCorrector.ADCsaturation = 4095
16  theLArStripsCrossTalkCorrector.NoXtalkCorr=["deadReadout","deadPhys","deadCalib","almostDead"]
17  #Note: The old-style config for ramp runs does not include 'deadPhys' in the DontUseForXtalkCorr list,
18  # while the old-style calib of delay runs does contain it. I assueme a mistake in the old config
19  if len(KeyList) and KeyList[0] == "LOW":
20  theLArStripsCrossTalkCorrector.DontUseForXtalkCorr=["short","peculiarCalibrationLine", "deadReadout", "deadPhys"]
21  else:
22  theLArStripsCrossTalkCorrector.DontUseForXtalkCorr=["short", "deadReadout", "deadPhys"]
23  theLArStripsCrossTalkCorrector.AcceptableDifference=25.0 #in per-cent
24  #theLArStripsCrossTalkCorrector.PedestalKey="LArPedestal"
25  result.addEventAlgo(theLArStripsCrossTalkCorrector)
26 
27  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.LArStripsXtalkCorrConfig.LArStripsXtalkCorrCfg
def LArStripsXtalkCorrCfg(flags, KeyList)
Definition: LArStripsXtalkCorrConfig.py:6
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8