ATLAS Offline Software
Loading...
Searching...
No Matches
python.LArIdHelperStandalone Namespace Reference

Classes

class  LArIdHelper

Functions

 IdToNum (ident)
 NumToId (idnum)

Variables

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

Function Documentation

◆ IdToNum()

python.LArIdHelperStandalone.IdToNum ( ident)

Definition at line 8 of file LArIdHelperStandalone.py.

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

◆ NumToId()

python.LArIdHelperStandalone.NumToId ( idnum)

Definition at line 11 of file LArIdHelperStandalone.py.

11def 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

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

python.LArIdHelperStandalone.oflId2Num = IdToNum(oflId2)

Definition at line 147 of file LArIdHelperStandalone.py.

◆ onlId1

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

python.LArIdHelperStandalone.onlId2Num = IdToNum(onlId2)

Definition at line 155 of file LArIdHelperStandalone.py.