geometry package

Subpackages

Submodules

geometry.DetectorConstruction_v1 module

class geometry.DetectorConstruction_v1.DetectorConstruction_v1(name, UseMagneticField=False, CutOnPhi=False)[source]

Bases: Cpp

Parameters:
  • name (str)

  • UseMagneticField (bool)

  • CutOnPhi (bool)

compile()[source]
get_ui_commands()[source]
Return type:

List[str]

summary()[source]

Module contents

class geometry.Calorimeter(sv, bunch_start, bunch_end, sampling_start, **kw)[source]

Bases: Logger

name()[source]
sensitive()[source]
volume()[source]
class geometry.DetectorConstruction_v1(name, UseMagneticField=False, CutOnPhi=False)[source]

Bases: Cpp

Parameters:
  • name (str)

  • UseMagneticField (bool)

  • CutOnPhi (bool)

compile()[source]
get_ui_commands()[source]
Return type:

List[str]

summary()[source]
class geometry.PhysicalVolume(**kw)[source]

Bases: Logger

name()[source]
class geometry.Plates[source]

Bases: EnumStringification

Horizontal = 0
Vertical = 1
class geometry.ProductionCuts(GammaCut=0.7000000000000001, ElectronCut=0.7000000000000001, PositronCut=0.7000000000000001, PhotonCut=0.7000000000000001)[source]

Bases: Logger

class geometry.SensitiveDetector(pv, EtaMin=None, EtaMax=None, Segment=0, **kw)[source]

Bases: Logger

volume()[source]
geometry.getCrackVolumesCfg(left_side=False)[source]
geometry.getDMVolumesCfg()[source]
geometry.getHECCfg(left_side=False)[source]
geometry.getLArBarrelCfg()[source]

Defines the geometry and readout configuration for the Liquid Argon (LAr) Barrel Calorimeter.

Constructs the physical volumes (PreSampler, Back, Middle, Strips) and assigns readout parameters such as pulse shapes, noise levels, and Optimal Filter weights.

Returns:

A list of configured Calorimeter detector objects for the LAr Barrel.

Return type:

List[Calorimeter]

geometry.getLArEMECCfg(left_side=False)[source]
geometry.getPixelBarrelCfg()[source]
geometry.getTileBarrelCfg()[source]

Defines the geometry and readout configuration for the Tile Calorimeter (TileCal) Barrel.

Constructs the physical volumes (Iron absorber + Scintillator gap) for the three longitudinal layers of the Tile Barrel and assigns readout parameters.

Returns:

A list of configured Calorimeter detector objects for the Tile Barrel.

Return type:

List[Calorimeter]

geometry.getTileExtendedCfg(left_side=False)[source]

Defines the geometry and readout configuration for the Tile Calorimeter Extended Barrel.

Constructs the physical volumes and assigns readout parameters for the Extended Barrel. Since the detector is symmetric but has distinct physical volumes for A-side and C-side, this function allows configuring either side.

Parameters:

left_side (bool) – If True, configures the C-side (negative z). If False, configures the A-side (positive z).

Returns:

A list of configured Calorimeter detector objects for the Tile Extended Barrel.

Return type:

List[Calorimeter]