|
ATLAS Offline Software
|
|
def | makeCellD3PDObject (name, prefix, object_name, getter=None, sgkey=None, label=None) |
|
def | hookForCaloCellFilterAlg (c, flags, acc, prefix, *args, **kw) |
|
def | hookForCaloNoiseCondAlg (c, flags, acc, prefix, *args, **kw) |
|
def | hookForCaloBadChanTool (c, flags, acc, *args, **kw) |
|
def | hookForCaloGM (c, flags, acc, prefix, *args, **kw) |
|
def | makeCaloCellD3PDObject (maker, prefix, object_name) |
|
def | makeCaloCellSlimmedD3PDObject (maker, prefix, object_name) |
|
|
| D3PD = CompFactory.D3PD |
|
dictionary | prefix_to_det = {} |
|
def | AllCaloCellD3PDObject = makeCaloCellD3PDObject(makeCellD3PDObject, 'cc_', 'AllCaloCellD3PDObject') |
|
def | SelCaloCellD3PDObject = makeCaloCellD3PDObject(makeCellD3PDObject, 'cc_sel_', 'SelCaloCellD3PDObject') |
|
def | EMCellD3PDObject = makeCaloCellD3PDObject(makeCellD3PDObject, 'cc_em_', 'EMCellD3PDObject') |
|
def | HECCellD3PDObject = makeCaloCellD3PDObject(makeCellD3PDObject, 'cc_hec_', 'HECCellD3PDObject') |
|
def | FCALCellD3PDObject = makeCaloCellD3PDObject(makeCellD3PDObject, 'cc_fcal_', 'FCALCellD3PDObject') |
|
def | TileCellD3PDObject = makeCaloCellD3PDObject(makeCellD3PDObject, 'cc_tile_', 'TileCellD3PDObject') |
|
def | SelCaloCellSlimmedD3PDObject = makeCaloCellSlimmedD3PDObject(makeCellD3PDObject, 'cc_sel_', 'SelCaloCellSlimmedD3PDObject') |
|
◆ hookForCaloBadChanTool()
def python.CaloCellD3PDObject.hookForCaloBadChanTool |
( |
|
c, |
|
|
|
flags, |
|
|
|
acc, |
|
|
* |
args, |
|
|
** |
kw |
|
) |
| |
Definition at line 70 of file CaloCellD3PDObject.py.
71 from CaloBadChannelTool.CaloBadChanToolConfig
import CaloBadChanToolCfg
72 c.BadChannelTool = acc.popToolsAndMerge (CaloBadChanToolCfg (flags))
◆ hookForCaloCellFilterAlg()
def python.CaloCellD3PDObject.hookForCaloCellFilterAlg |
( |
|
c, |
|
|
|
flags, |
|
|
|
acc, |
|
|
|
prefix, |
|
|
* |
args, |
|
|
** |
kw |
|
) |
| |
Definition at line 45 of file CaloCellD3PDObject.py.
48 if prefix
in prefix_to_det.keys():
50 subCalo = prefix_to_det[prefix]
52 if sgkey ==
"cc_sel_":
57 from .CaloCellFilterAlgConfig
import CaloCellFilterAlgCfg
58 filter =
CaloCellFilterAlgCfg( flags, CaloNums=subCalo, OutputCellsName=sgkey, CellSigmaCut=cellSigmaCut )
60 acc.addEventAlgo (filter)
◆ hookForCaloGM()
def python.CaloCellD3PDObject.hookForCaloGM |
( |
|
c, |
|
|
|
flags, |
|
|
|
acc, |
|
|
|
prefix, |
|
|
* |
args, |
|
|
** |
kw |
|
) |
| |
Definition at line 76 of file CaloCellD3PDObject.py.
77 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
78 acc.merge (LArGMCfg (flags))
◆ hookForCaloNoiseCondAlg()
def python.CaloCellD3PDObject.hookForCaloNoiseCondAlg |
( |
|
c, |
|
|
|
flags, |
|
|
|
acc, |
|
|
|
prefix, |
|
|
* |
args, |
|
|
** |
kw |
|
) |
| |
Definition at line 64 of file CaloCellD3PDObject.py.
65 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
66 acc.merge (CaloNoiseCondAlgCfg (flags, noisetype=
'totalNoise'))
◆ makeCaloCellD3PDObject()
def python.CaloCellD3PDObject.makeCaloCellD3PDObject |
( |
|
maker, |
|
|
|
prefix, |
|
|
|
object_name |
|
) |
| |
Definition at line 82 of file CaloCellD3PDObject.py.
84 cellD3PDObject = D3PDObject (makeCellD3PDObject, prefix, object_name)
86 if prefix
in prefix_to_det.keys() :
88 cellD3PDObject.defineHook ( hookForCaloCellFilterAlg )
90 cellD3PDObject.defineHook ( hookForCaloGM )
92 cellD3PDObject.defineBlock (0,
'Kinematics',
94 WriteE =
True, WriteM =
False)
97 cellD3PDObject.defineBlock (1,
'Detail1',
103 SaveBadCellStatus=
False,
105 SavePositionInfo=
False,
109 detail2 = cellD3PDObject.defineBlock (2,
'Detail2',
111 SaveCellQuality=
False,
115 SaveBadCellStatus=
True,
117 SavePositionInfo=
True,
119 detail2.defineHook ( hookForCaloBadChanTool )
121 cellD3PDObject.defineHook ( hookForCaloNoiseCondAlg )
122 noiseType =
"totalNoise"
124 cellD3PDObject.defineBlock (3,
'Detail3',
126 SaveCellQuality=
False,
130 SaveBadCellStatus=
False,
132 SavePositionInfo=
False,
134 CaloNoise = noiseType
138 cellD3PDObject.defineBlock (99,
'RawPosition',
141 return cellD3PDObject
144 level of details: 0: only kinematics
145 1: time, quality, gain, cell_id
146 2: xyz position, bad channel status, offline id.
◆ makeCaloCellSlimmedD3PDObject()
def python.CaloCellD3PDObject.makeCaloCellSlimmedD3PDObject |
( |
|
maker, |
|
|
|
prefix, |
|
|
|
object_name |
|
) |
| |
Definition at line 165 of file CaloCellD3PDObject.py.
167 cellD3PDObject = D3PDObject (makeCellD3PDObject, prefix, object_name)
169 if prefix
in prefix_to_det.keys() :
171 cellD3PDObject.defineHook ( hookForCaloCellFilterAlg )
173 cellD3PDObject.defineBlock (0,
'Kinematics',
175 WriteE =
True, WriteM =
False, WritePt =
False)
178 cellD3PDObject.defineHook ( hookForCaloNoiseCondAlg )
179 noiseType =
"totalNoise"
181 cellD3PDObject.defineBlock (1,
'Detail1',
183 SaveCellQuality=
True,
184 SaveBadCellStatus=
True,
188 CaloNoise = noiseType
191 return cellD3PDObject
◆ makeCellD3PDObject()
def python.CaloCellD3PDObject.makeCellD3PDObject |
( |
|
name, |
|
|
|
prefix, |
|
|
|
object_name, |
|
|
|
getter = None , |
|
|
|
sgkey = None , |
|
|
|
label = None |
|
) |
| |
Definition at line 17 of file CaloCellD3PDObject.py.
20 if sgkey
is None: sgkey =
'AllCalo'
21 if label
is None: label = prefix
23 if prefix
in prefix_to_det.keys():
30 TypeName =
'CaloCellContainer',
35 from D3PDMakerConfig.D3PDMakerFlags
import D3PDMakerFlags
39 ObjectName = object_name,
41 D3PDMakerFlags.SaveObjectMetadata)
◆ AllCaloCellD3PDObject
◆ D3PD
python.CaloCellD3PDObject.D3PD = CompFactory.D3PD |
◆ EMCellD3PDObject
◆ FCALCellD3PDObject
◆ HECCellD3PDObject
◆ prefix_to_det
dictionary python.CaloCellD3PDObject.prefix_to_det = {} |
◆ SelCaloCellD3PDObject
◆ SelCaloCellSlimmedD3PDObject
◆ TileCellD3PDObject
def makeCaloCellSlimmedD3PDObject(maker, prefix, object_name)
def hookForCaloBadChanTool(c, flags, acc, *args, **kw)
def hookForCaloCellFilterAlg(c, flags, acc, prefix, *args, **kw)
def hookForCaloGM(c, flags, acc, prefix, *args, **kw)
def CaloCellFilterAlgCfg(flags, CellsName="AllCalo", OutputCellsName="SelectedCells", MaxNCells=200000, CellSigmaCut=4, CaloNums=[SUBCALO.LAREM, SUBCALO.LARHEC, SUBCALO.LARFCAL, SUBCALO.TILE], CaloSamplings=[], CellEnergyThreshold=0.)
def hookForCaloNoiseCondAlg(c, flags, acc, prefix, *args, **kw)
def makeCellD3PDObject(name, prefix, object_name, getter=None, sgkey=None, label=None)
def makeCaloCellD3PDObject(maker, prefix, object_name)