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