ATLAS Offline Software
Classes | Functions | Variables
python.subdetectors.afp Namespace Reference

Classes

class  AFP
 
class  DCSC_Merged_Variable
 
class  DCSC_Variable_With_Mapping
 
class  TDAQC_Array_Variable
 
class  TDAQC_Bit_Flag_Variable
 
class  TDAQC_Multi_Channel_Variable
 
class  TDAQC_Variable
 

Functions

def PBeastIOV (channel, value)
 
def mapChannels (*mapseqArgs)
 
def mapTranslatorCounts (countMap)
 
def remove_None (value, default)
 

Variables

string pbeastDefaultServer = 'https://pc-atlas-www.cern.ch' if os.getenv('PBEAST_SERVER_HTTPS_PROXY', '').startswith('atlasgw') else 'https://atlasop.cern.ch'
 
 pbeastServer = os.getenv('PBEAST_SERVER', pbeastDefaultServer)
 
 pbeast
 
 log
 
int TTC_RESTART = 1000
 
int STOPLESSLY_REMOVED = 5000
 
 A_FAR_SIT_DISABLED
 
 A_NEAR_SIT_DISABLED
 
 C_FAR_SIT_DISABLED
 
 C_NEAR_SIT_DISABLED
 
 A_FAR_TOF_DISABLED
 
 C_FAR_TOF_DISABLED
 
list GARAGE = [A_FAR_GARAGE, A_NEAR_GARAGE, C_FAR_GARAGE, C_NEAR_GARAGE]
 
list SIT_HV = [A_FAR_SIT_HV, A_NEAR_SIT_HV, C_FAR_SIT_HV, C_NEAR_SIT_HV]
 
list SIT_LV = [A_FAR_SIT_LV, A_NEAR_SIT_LV, C_FAR_SIT_LV, C_NEAR_SIT_LV]
 
list TOF_HV = [A_FAR_TOF_HV, C_FAR_TOF_HV]
 
list TOF_LV = [A_FAR_TOF_LV, C_FAR_TOF_LV]
 
list SIT_DISABLED = [A_FAR_SIT_DISABLED, A_NEAR_SIT_DISABLED, C_FAR_SIT_DISABLED, C_NEAR_SIT_DISABLED]
 
list TOF_DISABLED = [A_FAR_TOF_DISABLED, C_FAR_TOF_DISABLED]
 
float SIT_HV_DEAD_BAND = 0.05
 
float TOF_HV_DEAD_BAND = 0.90
 
 SIT_LV_CURRENT_LOW
 
 SIT_LV_CURRENT_HIGH
 
int TOF_HV_CURRENT_LOW = 600
 
int TOF_LV_CURRENT_LOW = 1
 

Function Documentation

◆ mapChannels()

def python.subdetectors.afp.mapChannels ( mapseqArgs)

Definition at line 286 of file afp.py.

286 def mapChannels(*mapseqArgs):
287  return dict(chain(*[zip(channels, range(defectChannel, defectChannel + len(channels))) for channels, defectChannel in mapseqArgs]))
288 

◆ mapTranslatorCounts()

def python.subdetectors.afp.mapTranslatorCounts (   countMap)

Definition at line 289 of file afp.py.

289 def mapTranslatorCounts(countMap):
290  return {channel: range(channel, channel + count) for count, channels in countMap.items() for channel in channels}
291 

◆ PBeastIOV()

def python.subdetectors.afp.PBeastIOV (   channel,
  value 
)

Definition at line 90 of file afp.py.

90 def PBeastIOV(channel, value):
91  "Stores the value of an object's attribute queried from pBeast"
92 

◆ remove_None()

def python.subdetectors.afp.remove_None (   value,
  default 
)

Definition at line 292 of file afp.py.

292 def remove_None(value, default):
293  return value if value is not None else default
294 

Variable Documentation

◆ A_FAR_SIT_DISABLED

python.subdetectors.afp.A_FAR_SIT_DISABLED

Definition at line 265 of file afp.py.

◆ A_FAR_TOF_DISABLED

python.subdetectors.afp.A_FAR_TOF_DISABLED

Definition at line 266 of file afp.py.

◆ A_NEAR_SIT_DISABLED

python.subdetectors.afp.A_NEAR_SIT_DISABLED

Definition at line 265 of file afp.py.

◆ C_FAR_SIT_DISABLED

python.subdetectors.afp.C_FAR_SIT_DISABLED

Definition at line 265 of file afp.py.

◆ C_FAR_TOF_DISABLED

python.subdetectors.afp.C_FAR_TOF_DISABLED

Definition at line 266 of file afp.py.

◆ C_NEAR_SIT_DISABLED

python.subdetectors.afp.C_NEAR_SIT_DISABLED

Definition at line 265 of file afp.py.

◆ GARAGE

list python.subdetectors.afp.GARAGE = [A_FAR_GARAGE, A_NEAR_GARAGE, C_FAR_GARAGE, C_NEAR_GARAGE]

Definition at line 269 of file afp.py.

◆ log

python.subdetectors.afp.log

Definition at line 8 of file afp.py.

◆ pbeast

python.subdetectors.afp.pbeast

Definition at line 7 of file afp.py.

◆ pbeastDefaultServer

string python.subdetectors.afp.pbeastDefaultServer = 'https://pc-atlas-www.cern.ch' if os.getenv('PBEAST_SERVER_HTTPS_PROXY', '').startswith('atlasgw') else 'https://atlasop.cern.ch'

Definition at line 4 of file afp.py.

◆ pbeastServer

python.subdetectors.afp.pbeastServer = os.getenv('PBEAST_SERVER', pbeastDefaultServer)

Definition at line 5 of file afp.py.

◆ SIT_DISABLED

list python.subdetectors.afp.SIT_DISABLED = [A_FAR_SIT_DISABLED, A_NEAR_SIT_DISABLED, C_FAR_SIT_DISABLED, C_NEAR_SIT_DISABLED]

Definition at line 275 of file afp.py.

◆ SIT_HV

list python.subdetectors.afp.SIT_HV = [A_FAR_SIT_HV, A_NEAR_SIT_HV, C_FAR_SIT_HV, C_NEAR_SIT_HV]

Definition at line 270 of file afp.py.

◆ SIT_HV_DEAD_BAND

float python.subdetectors.afp.SIT_HV_DEAD_BAND = 0.05

Definition at line 279 of file afp.py.

◆ SIT_LV

list python.subdetectors.afp.SIT_LV = [A_FAR_SIT_LV, A_NEAR_SIT_LV, C_FAR_SIT_LV, C_NEAR_SIT_LV]

Definition at line 271 of file afp.py.

◆ SIT_LV_CURRENT_HIGH

python.subdetectors.afp.SIT_LV_CURRENT_HIGH

Definition at line 282 of file afp.py.

◆ SIT_LV_CURRENT_LOW

python.subdetectors.afp.SIT_LV_CURRENT_LOW

Definition at line 282 of file afp.py.

◆ STOPLESSLY_REMOVED

int python.subdetectors.afp.STOPLESSLY_REMOVED = 5000

Definition at line 263 of file afp.py.

◆ TOF_DISABLED

list python.subdetectors.afp.TOF_DISABLED = [A_FAR_TOF_DISABLED, C_FAR_TOF_DISABLED]

Definition at line 276 of file afp.py.

◆ TOF_HV

list python.subdetectors.afp.TOF_HV = [A_FAR_TOF_HV, C_FAR_TOF_HV]

Definition at line 272 of file afp.py.

◆ TOF_HV_CURRENT_LOW

int python.subdetectors.afp.TOF_HV_CURRENT_LOW = 600

Definition at line 283 of file afp.py.

◆ TOF_HV_DEAD_BAND

float python.subdetectors.afp.TOF_HV_DEAD_BAND = 0.90

Definition at line 280 of file afp.py.

◆ TOF_LV

list python.subdetectors.afp.TOF_LV = [A_FAR_TOF_LV, C_FAR_TOF_LV]

Definition at line 273 of file afp.py.

◆ TOF_LV_CURRENT_LOW

int python.subdetectors.afp.TOF_LV_CURRENT_LOW = 1

Definition at line 284 of file afp.py.

◆ TTC_RESTART

int python.subdetectors.afp.TTC_RESTART = 1000

Definition at line 262 of file afp.py.

runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
python.subdetectors.afp.mapChannels
def mapChannels(*mapseqArgs)
Definition: afp.py:286
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
python.subdetectors.afp.mapTranslatorCounts
def mapTranslatorCounts(countMap)
Definition: afp.py:289
python.subdetectors.afp.PBeastIOV
def PBeastIOV(channel, value)
Definition: afp.py:90
python.subdetectors.afp.remove_None
def remove_None(value, default)
Definition: afp.py:292