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

Classes

class  AFP
 
class  DCSC_Merged_Variable
 
class  DCSC_Multi_Channel_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 NAMING
 
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
 
list SIT_LV_CURRENT_LOW
 
float SIT_LV_CURRENT_HIGH = 0.8
 
int TOF_HV_CURRENT_LOW = 600
 
float TOF_LV_CURRENT_LOW = 1.4
 

Function Documentation

◆ mapChannels()

def python.subdetectors.afp.mapChannels ( mapseqArgs)

Definition at line 313 of file afp.py.

313 def mapChannels(*mapseqArgs):
314  return dict(chain(*[zip(channels, range(defectChannel, defectChannel + len(channels))) for channels, defectChannel in mapseqArgs]))
315 

◆ mapTranslatorCounts()

def python.subdetectors.afp.mapTranslatorCounts (   countMap)

Definition at line 316 of file afp.py.

316 def mapTranslatorCounts(countMap):
317  return {channel: range(channel, channel + count) for count, channels in countMap.items() for channel in channels}
318 

◆ PBeastIOV()

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

Definition at line 105 of file afp.py.

105 def PBeastIOV(channel, value):
106  "Stores the value of an object's attribute queried from pBeast"
107 

◆ remove_None()

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

Definition at line 319 of file afp.py.

319 def remove_None(value, default):
320  return value if value is not None else default
321 

Variable Documentation

◆ A_FAR_SIT_DISABLED

python.subdetectors.afp.A_FAR_SIT_DISABLED

Definition at line 280 of file afp.py.

◆ A_FAR_TOF_DISABLED

python.subdetectors.afp.A_FAR_TOF_DISABLED

Definition at line 281 of file afp.py.

◆ A_NEAR_SIT_DISABLED

python.subdetectors.afp.A_NEAR_SIT_DISABLED

Definition at line 280 of file afp.py.

◆ C_FAR_SIT_DISABLED

python.subdetectors.afp.C_FAR_SIT_DISABLED

Definition at line 280 of file afp.py.

◆ C_FAR_TOF_DISABLED

python.subdetectors.afp.C_FAR_TOF_DISABLED

Definition at line 281 of file afp.py.

◆ C_NEAR_SIT_DISABLED

python.subdetectors.afp.C_NEAR_SIT_DISABLED

Definition at line 280 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 292 of file afp.py.

◆ log

python.subdetectors.afp.log

Definition at line 8 of file afp.py.

◆ NAMING

list python.subdetectors.afp.NAMING
Initial value:
1 = ['FSA0', 'FSA1', 'FSA2', 'FSA3',
2  'NSA0', 'NSA1', 'NSA2', 'NSA3',
3  'FSC0', 'FSC1', 'FSC2', 'FSC3',
4  'NSC0', 'NSC1', 'NSC2', 'NSC3',
5  'TDC-A-1', 'TDC-A-2',
6  'TDC-C-1', 'TDC-C-2']

Definition at line 284 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 298 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 293 of file afp.py.

◆ SIT_HV_DEAD_BAND

float python.subdetectors.afp.SIT_HV_DEAD_BAND = 0.05

Definition at line 302 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 294 of file afp.py.

◆ SIT_LV_CURRENT_HIGH

float python.subdetectors.afp.SIT_LV_CURRENT_HIGH = 0.8

Definition at line 309 of file afp.py.

◆ SIT_LV_CURRENT_LOW

list python.subdetectors.afp.SIT_LV_CURRENT_LOW
Initial value:
1 = [0.44, 0.40, 0.42, 0.46,
2  0.38, 0.35, 0.38, 0.42,
3  0.40, 0.39, 0.39, 0.38,
4  0.41, 0.40, 0.43, 0.40]

Definition at line 305 of file afp.py.

◆ STOPLESSLY_REMOVED

int python.subdetectors.afp.STOPLESSLY_REMOVED = 5000

Definition at line 278 of file afp.py.

◆ TOF_DISABLED

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

Definition at line 299 of file afp.py.

◆ TOF_HV

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

Definition at line 295 of file afp.py.

◆ TOF_HV_CURRENT_LOW

int python.subdetectors.afp.TOF_HV_CURRENT_LOW = 600

Definition at line 310 of file afp.py.

◆ TOF_HV_DEAD_BAND

float python.subdetectors.afp.TOF_HV_DEAD_BAND = 0.90

Definition at line 303 of file afp.py.

◆ TOF_LV

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

Definition at line 296 of file afp.py.

◆ TOF_LV_CURRENT_LOW

float python.subdetectors.afp.TOF_LV_CURRENT_LOW = 1.4

Definition at line 311 of file afp.py.

◆ TTC_RESTART

int python.subdetectors.afp.TTC_RESTART = 1000

Definition at line 277 of file afp.py.

runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
python.subdetectors.afp.mapChannels
def mapChannels(*mapseqArgs)
Definition: afp.py:313
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
python.subdetectors.afp.mapTranslatorCounts
def mapTranslatorCounts(countMap)
Definition: afp.py:316
python.subdetectors.afp.PBeastIOV
def PBeastIOV(channel, value)
Definition: afp.py:105
python.subdetectors.afp.remove_None
def remove_None(value, default)
Definition: afp.py:319