CAL block

This block is made by the module CalNadaAnalyzeDig in package cal_nada_analyze.
It loops over calorimeter cells and store informations about these cells in the Global root-tuple.

This block has been modified in versions V01-01-03 (and p11-br-03) of the package.
These modifications will be taken into account in releases : t02.10.00 and p11.04.00.

Here is a description of the variables stored in the block before and after modification.

For all cells of the caldata chunk the following variables are given :
(note that the cells killed by nada are still present in the chunck but with an energy set
arbitrarily to 1 MeV)

 
 
Old CAL block New CAL block
Variable name Descritpion  Variable name  Description
ncal number of cells in an event ncal number of cells in an event
    -   xVtx X coordinate of the vertex of the event
    -   yVtx Y coordinate of the vertex of the event
    -   zVtx Z coordinate of the vertex of the event
e_cal cell energy e_cal cell energy
pt_cal Transverse momentum assuming a vertex at (0,0,0) ptV_cal Transverse momentum calculated with respect to the vertex  of the event in X, Y and Z
ieta_cal ieta of the cell ieta_cal ieta of the cell
iphi_cal iphi of the cell iphi_cal iphi of the cell
ilyr_cal layer of the cell ilyr_cal layer of the cell
    -   etaV_cal eta of the cell calculated with respect to the vertex  of the event in x, y and z
    -    phiV_cal phi of the cell calculated with respect to the vertex  of the event in x, y and z
    -   xV_cal X coordinate of the cell calculated with respect to the vertex  of the event in x, y and z
    -   yV_cal Y coordinate of the cell calculated with respect to the vertex  of the event in x, y and z
    -   zV_cal Z coordinate of the cell calculated with respect to the vertex  of the event in x, y and z

With the variables  xV_cal, yV_cal, zV_cal  and xVtx, yVtx, zVtx one can have access  to the x, y and z coordinates of the cell assuming a vertex at (0,0,0) and hence, the phi, theta and R variables of a cell in detector coordinates, and the PT of a cell calculated without vertex :

xcell = xV_cal + xVtx
ycell = yV_cal + yVtx
zcell = zV_cal + zVtx

R        = sqrt(xcell**2 + ycell**2 + zcell**2)
phi     = atan(ycell/xcell)
theta = acos(z/R)

PT   = e_cal*sin(theta)
 

                                                             Sophie Trincaz-Duvoid