next up previous contents
Next: ESPACE Program Modules Up: For ESPACE Programmer Previous: For ESPACE Programmer

ESPACE Internal Variables

All of internal variables used for shower detector software programming into ESPACE, are formed in form of structure. This structure, named /shower/ was inserted into FORTRAN include file espace_type.h.

In the following tables for every used variables (in the first column) it fortran type (in the second column), program module name where variable is set (the third column) and brief description of variable (in the fourth column) are are shown.

In the table the following designations are used:


 
Variable T Where is set Description
hitbit I user_init Hitbit assigned to the detector.
adc_range I user_init Maximal value of range of ADC amplitudes.
geom.p.x D read_geometry X-coordinate of the detector center.
geom.p.y D read_geometry Y-coordinate of the detector center.
geom.p.z D read_geometry Z-coordinate of the detector center.
geom.nblock I read_geometry Number of detector blocks.
geom.block(i).p.x D read_geometry X-coordinates of detector blocks centers.
geom.block(i).p.y D read_geometry Y-coordinates of detector blocks centers.
geom.block(i).p.z D read_geometry Z-coordinates of detector blocks centers.
cor(i).offset.adc D shcal_coef_io Mean values of channels Pedestals.
cor(i).amplitude.adc D shcal_coef_io Values of calibration constants.
cor(i).offset_sigma.adc D shcal_coef_io Values of Pedestals σ .

The following parts of the structure is overwritten for every hit.


Variable T Where is set Description
nblock.adc I read_show_e Number of blocks that fired.
blocks(n).adc I read_show_e Array of block numbers that fired.
nhits.adc I read_show_e Number of hits on detector.
blocknr(j).adc I read_show_e Pointer to block number for each hit.
hitnr(j).adc I read_show_e Pointer to hit number in a block for each hit.
block(i).fired.adc L read_show_e Flag which shows if block was fired.
block(i).nrhit.adc I read_show_e Number of hits on the block.
block(i).val(1).adc I read_show_e ADC values of detector blocks.
block(i).cor_val(1).adc D read_show_e Corrected ADC values of detector blocks.

Next part of the structure is overwritten after the shower clusters reconstruction in the detector.


Variable T Where is set Description
x D tot_shower Coordinates of crossing point of golden
y D tot_shower    track with detector plane in local c.s.
ncluster I tot_shower Number of clusters determined on detector.
clust(k).x D tot_shower X-coordinates of clusters in detector c.s.
clust(k).y D tot_shower Y-coordinates of clusters in detector c.s.
clust(k).energy D tot_shower Energy depositions of clusters in detector.
clust(k).mult I tot_shower Number of blocks inside of clusters.
clust(k).cell(l).cell_num I tot_shower Block number in the particular cluster.
clust(k).cell(l).cell_val D tot_shower Part of the energy inside of the block.
iden I tot_shower Identifier of the "main" cluster.
ecl D tot_shower Energy deposition of the "main" cluster.
xcl D tot_shower X-coordinate of the "main" cluster.
ycl D tot_shower Y-coordinate of the "main" cluster.


next up previous contents
Next: ESPACE Program Modules Up: For ESPACE Programmer Previous: For ESPACE Programmer
Armen Ketikyan
5/16/1998