ATLAS Offline Software
Classes | Functions | Variables
python.LArIdHelperStandalone Namespace Reference

Classes

class  LArIdHelper
 

Functions

def IdToNum (ident)
 
def NumToId (idnum)
 

Variables

 c = LArIdHelper()
 
 cc = c.getCabling()
 
def onlId1 = NumToId(978347776)
 
def oflId1 = IdToNum(cc.cnvToIdentifier(onlId1))
 
 oflId2
 
def oflId2Num = IdToNum(oflId2)
 
 onlId2 = cc.createSignalChannelID(oflId2)
 
def onlId2Num = IdToNum(onlId2)
 

Function Documentation

◆ IdToNum()

def python.LArIdHelperStandalone.IdToNum (   ident)

Definition at line 8 of file LArIdHelperStandalone.py.

8 def IdToNum(ident):
9  return ident.get_identifier32().get_compact()
10 

◆ NumToId()

def python.LArIdHelperStandalone.NumToId (   idnum)

Definition at line 11 of file LArIdHelperStandalone.py.

11 def NumToId(idnum):
12  return ROOT.Identifier(ROOT.Identifier32(idnum))
13 
14 

Variable Documentation

◆ c

python.LArIdHelperStandalone.c = LArIdHelper()

Definition at line 125 of file LArIdHelperStandalone.py.

◆ cc

python.LArIdHelperStandalone.cc = c.getCabling()

Definition at line 126 of file LArIdHelperStandalone.py.

◆ oflId1

def python.LArIdHelperStandalone.oflId1 = IdToNum(cc.cnvToIdentifier(onlId1))

Definition at line 129 of file LArIdHelperStandalone.py.

◆ oflId2

python.LArIdHelperStandalone.oflId2
Initial value:
1 = c.caloHelper().cell_id(0, #LArEM
2  -3, #EMECIW-C
3  1, #layer 0
4  0, #region 0
5  1, #ieta
6  0, #iphi
7  )

Definition at line 140 of file LArIdHelperStandalone.py.

◆ oflId2Num

def python.LArIdHelperStandalone.oflId2Num = IdToNum(oflId2)

Definition at line 147 of file LArIdHelperStandalone.py.

◆ onlId1

def python.LArIdHelperStandalone.onlId1 = NumToId(978347776)

Definition at line 128 of file LArIdHelperStandalone.py.

◆ onlId2

python.LArIdHelperStandalone.onlId2 = cc.createSignalChannelID(oflId2)

Definition at line 151 of file LArIdHelperStandalone.py.

◆ onlId2Num

def python.LArIdHelperStandalone.onlId2Num = IdToNum(onlId2)

Definition at line 155 of file LArIdHelperStandalone.py.

python.LArIdHelperStandalone.NumToId
def NumToId(idnum)
Definition: LArIdHelperStandalone.py:11
python.LArIdHelperStandalone.IdToNum
def IdToNum(ident)
Definition: LArIdHelperStandalone.py:8