ATLAS Offline Software
CaloInfoD3PDObject.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 
4 from D3PDMakerCoreComps.D3PDObject import make_SG_D3PDObject
5 from AthenaConfiguration.ComponentFactory import CompFactory
6 
7 D3PD = CompFactory.D3PD
8 
9 
10 CaloInfoD3PDObject = make_SG_D3PDObject( "CaloCellContainer", "AllCalo", "ccc_",
11  "CaloInfoD3PDObject" )
12 
13 CaloInfoD3PDObject.defineBlock( 0, 'ALL',
15  PosNeg = 0 )
16 
17 CaloInfoEtD3PDObject = make_SG_D3PDObject( "CaloCellContainer", "AllCalo", "cccEt_",
18  "CaloInfoEtD3PDObject" )
19 
20 CaloInfoEtD3PDObject.defineBlock( 0, 'AllEt',
22  prefix = 'Et_',
23  PosNeg = 0,
24  DoEt = 1 )
25 
26 # if the energies are summed for each side
27 CaloInfoEtD3PDObject.defineBlock( 0, 'Pos',
29  prefix = 'p_',
30  PosNeg = 1,
31  DoEt = 1 )
32 
33 CaloInfoEtD3PDObject.defineBlock( 0, 'Neg',
35  prefix = 'n_',
36  PosNeg = -1,
37  DoEt = 1 )
python.D3PDObject.make_SG_D3PDObject
def make_SG_D3PDObject(default_typeName, default_sgkey, default_prefix, default_object_name=None, default_allowMissing=False, default_getterClass=D3PD.SGObjGetterTool, allow_args=[])
Definition: D3PDObject.py:646
D3PD::CaloInfoFillerTool
Block filler tool for EM samplings from a CaloCluster.
Definition: CaloInfoFillerTool.h:37