Go Back to: C++ Manual General Site

LDMX.DetDescr package

Submodules

LDMX.DetDescr.EcalGeometry module

Configuration for EcalHexReadout

class LDMX.DetDescr.EcalGeometry.EcalGeometry(layerZPositions, ecalFrontZ, gap, cornersSideUp, detectors_valid, layer_shift_x=0.0, layer_shift_y=0.0, layer_shift_odd=False, layer_shift_odd_bilayer=False, nCellRHeight=35.3, moduleMinR=85.0)

Bases: object

Configuration for EcalHexReadout for a specific geometry

layerZPositions

z-coordinates of sensitive ecal layers relative to front of ecal [mm]

Type:

float

ecalFrontZ

z-coordinate of front of ecal plane [mm]

Type:

float

gap

Distance separating module edges [mm]

Type:

float

cornersSideUp

Are the corners of the modules pointed up? (or are the flat sides?)

Type:

bool

layer_shift_x

Shift in x [mm] for the layers that are shifted

Type:

float

layer_shift_y

Shift in y [mm] for the layers that are shifted

Type:

float

layer_shift_odd

Shift the odd-numbered layers

Type:

bool

layer_shift_odd_bilayer

Shift the odd-numbered bi-layers

Type:

bool

detectors_valid

Regular expressions identifying which detectors are valid for this geometry

Type:

array of strings

moduleMinR

Module hexagon center-to-flat radius [mm] UNLIKELY TO CHANGE - will only change if the CMS HGCAL High-Density design changes

Type:

float

nCellRHeight

Number of cell sides (center-to-corner radii) spanning the module height UNLIKELY TO CHANGE - will only change if the CMS HGCAL High-Density design changes

Type:

float

geometries()
reduced()
reduced_v2()
v12()
v13()
v14()
v9()

LDMX.DetDescr.HcalGeometry module

Configuration for HcalGeometry

class LDMX.DetDescr.HcalGeometry.HcalGeometry

Bases: object

Container for the various geometries

Only sets parameters that must align with the Hcal gdml constants.

make_v13()

Create the HcalGeometry with the v13 geometry parameters

Only sets parameters that must align with the Hcal gdml constants.

Nothing has changed in v13 for the HCal

make_v14()
make_v1_prototype()

Create the HcalGeometry with the testbeam prototype geometry parameters

make_v2_prototype()

Create the HcalGeometry with the testbeam prototype geometry parameters

class LDMX.DetDescr.HcalGeometry.HcalReadoutGeometry

Bases: object

Configuration for HcalGeometry for a specific geometry

detectors_valid

Regular expressions identifying which detectors are valid for this geometry

Type:

array of strings

scint_thickness

@param gdml: scint_thickness

Type:

Scintillator thickness (in z).

scint_width

@param gdml see: scint_bar_width

Type:

Scintillator width (in x).

zero_layer

Back Hcal first layer (in z) starts after Ecal+Side-Hcal_z @param gdml see: dz, air_thickness, absorber_thickness

Type:

Position of the first scintillator layer

zero_strip

For back Hcal: NumStrips * scint_bar_width / 2 (in x/y) @param gdml see: num_bars_front, num_bars_back, scint_bar_width

Type:

Position of the first strip.

half_total_width

Equal to zero_strip for the prototype geometry.

Type:

Half length of a bar.

layer_thickness

Layer thickness (in z) Can be obtained by: absorber_thickness + scint_thickness + 2.0*air_thickness @param gdml see: layer_thickness

num_layers

Number of layers per section. @param gdml see: num_layers

num_strips

Number of strips per layer. @param gdml see: num_bars_front, num_bars_back, num_layers_front, and num_layers_back

num_sections

Set to 1 for the prototype geometry since the prototype only has the Back Hcal.

ecal_dx/ecal_dy

Used in the regular geometry to describe the dimensions of the Ecal. Since there is no Ecal in the prototype geometry, these are both set to 0.

back_horizontal_parity

Layers with odd parity (1) are horizontal on the x-axis in the back HCal

y_offset

Offset of the entire Hcal geometry to be taken into account

Module contents