ATLAS Offline Software
Functions | Variables
convertTimingResiduals Namespace Reference

Functions

def dec2hex (n)
 
def pmt2channel_LB (pmtOrChannel)
 

Variables

 modToFrag
 
 inFile
 
 tdlas
 
 tclas
 
 lines
 
 field
 
 module
 
 modNum
 
 drawerOffset
 
 chanOffsets
 
 hexModule
 
 sum
 
 add
 
 offset
 
 tdlasFile
 
 tclasFile
 

Function Documentation

◆ dec2hex()

def convertTimingResiduals.dec2hex (   n)

Definition at line 7 of file convertTimingResiduals.py.

7 def dec2hex(n):
8  return ("0%X" % n)[-2:]
9 
10 
11 #
12 #__________________________________________________________________

◆ pmt2channel_LB()

def convertTimingResiduals.pmt2channel_LB (   pmtOrChannel)
This function converts channel to pmt or pmt to channel number.
Valid for Barrel only!


Definition at line 13 of file convertTimingResiduals.py.

13 def pmt2channel_LB(pmtOrChannel):
14  """
15  This function converts channel to pmt or pmt to channel number.
16  Valid for Barrel only!
17  """
18 
19  pmtOrChannel = int(pmtOrChannel)
20  channelOrPmt = pmtOrChannel;
21 
22  # pmt==channel for pmt 0 - 23
23  # pmt 24 - 47: reverse in groups of 3
24  if pmtOrChannel>23:
25  mod = pmtOrChannel%3
26  if mod==0: channelOrPmt = pmtOrChannel+2
27  elif mod==2: channelOrPmt = pmtOrChannel-2
28  else : pass
29  return channelOrPmt
30 
31 
32 #
33 #__________________________________________________________________

Variable Documentation

◆ add

convertTimingResiduals.add

Definition at line 57 of file convertTimingResiduals.py.

◆ chanOffsets

convertTimingResiduals.chanOffsets

Definition at line 51 of file convertTimingResiduals.py.

◆ drawerOffset

convertTimingResiduals.drawerOffset

Definition at line 50 of file convertTimingResiduals.py.

◆ field

convertTimingResiduals.field

Definition at line 46 of file convertTimingResiduals.py.

◆ hexModule

convertTimingResiduals.hexModule

Definition at line 52 of file convertTimingResiduals.py.

◆ inFile

convertTimingResiduals.inFile

Definition at line 39 of file convertTimingResiduals.py.

◆ lines

convertTimingResiduals.lines

Definition at line 44 of file convertTimingResiduals.py.

◆ modNum

convertTimingResiduals.modNum

Definition at line 49 of file convertTimingResiduals.py.

◆ modToFrag

convertTimingResiduals.modToFrag

Definition at line 34 of file convertTimingResiduals.py.

◆ module

convertTimingResiduals.module

Definition at line 48 of file convertTimingResiduals.py.

◆ offset

convertTimingResiduals.offset

Definition at line 71 of file convertTimingResiduals.py.

◆ sum

convertTimingResiduals.sum

Definition at line 55 of file convertTimingResiduals.py.

◆ tclas

convertTimingResiduals.tclas

Definition at line 42 of file convertTimingResiduals.py.

◆ tclasFile

convertTimingResiduals.tclasFile

Definition at line 78 of file convertTimingResiduals.py.

◆ tdlas

convertTimingResiduals.tdlas

Definition at line 41 of file convertTimingResiduals.py.

◆ tdlasFile

convertTimingResiduals.tdlasFile

Definition at line 74 of file convertTimingResiduals.py.

CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
convertTimingResiduals.dec2hex
def dec2hex(n)
Definition: convertTimingResiduals.py:7
convertTimingResiduals.pmt2channel_LB
def pmt2channel_LB(pmtOrChannel)
Definition: convertTimingResiduals.py:13