Definition at line 18 of file CaloDetDescrManager_test.py.
◆ execute()
def python.CaloDetDescrManager_test.CaloDetDescrManagerAlg.execute |
( |
|
self | ) |
|
Definition at line 19 of file CaloDetDescrManager_test.py.
20 ctx = self.getContext()
21 mgr = self.condStore[
'CaloDetDescrManager'].
find(ctx.eventID())
23 for sampl
in [ROOT.CaloSampling.PreSamplerB,
24 ROOT.CaloSampling.EMB1,
25 ROOT.CaloSampling.EMB2,
26 ROOT.CaloSampling.EMB3,
27 ROOT.CaloSampling.PreSamplerE,
28 ROOT.CaloSampling.EME1,
29 ROOT.CaloSampling.EME2,
30 ROOT.CaloSampling.EME3,
31 ROOT.CaloSampling.HEC0,
32 ROOT.CaloSampling.HEC1,
33 ROOT.CaloSampling.HEC2,
34 ROOT.CaloSampling.HEC3,
35 ROOT.CaloSampling.TileBar0,
36 ROOT.CaloSampling.TileBar1,
37 ROOT.CaloSampling.TileBar2,
38 ROOT.CaloSampling.TileGap1,
39 ROOT.CaloSampling.TileGap2,
40 ROOT.CaloSampling.TileGap3,
41 ROOT.CaloSampling.TileExt0,
42 ROOT.CaloSampling.TileExt1,
43 ROOT.CaloSampling.TileExt2,
44 ROOT.CaloSampling.FCAL0,
45 ROOT.CaloSampling.FCAL1,
46 ROOT.CaloSampling.FCAL2,
51 dd = mgr.get_element(sampl, eta, phi)
53 print(
"----: eta:{:.2f}, phi:{:.2f}".
55 print(
"CaloDD: r_raw:{:.2f}, r:{:.2f}, dr:{:.2f}".
56 format(dd.r_raw(), dd.r(), dd.dr()))
57 print(
"CaloDD: z_raw:{:.2f}, z:{:.2f}, dz:{:.2f}".
58 format(dd.z_raw(), dd.z(), dd.dz()))
63 return StatusCode.Success
The documentation for this class was generated from the following file: