CbmRoot
|
Interface to the material map creator. More...
#include <KfIMaterialMapFactory.h>
Public Member Functions | |
virtual | ~IMaterialMapFactory ()=default |
Destructor. | |
virtual MaterialMap | GenerateMaterialMap (double zRef, double zMin, double zMax, double xyMax, int nBinsDim)=0 |
Generates a material budget map. | |
Interface to the material map creator.
Definition at line 18 of file KfIMaterialMapFactory.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Generates a material budget map.
zRef | Reference z-coordinate of the material layer [cm] |
zMin | z-coordinate of the material layer lower boundary [cm] |
zMax | z-coordinate of the material layer upper boundary [cm] |
xyMax | Transverse size of the material layer [cm] |
nBinsDim | Number of bins in the x(y) axis |
generate a material map, collecting the material between [zMin, zMax] with radial rays from (0,0,targetZ) through the XY-bins at z == zRef.
It creates a map with [nBinsDim x nBinsDim] bins, of a size of [+-xyMax, +-xyMax] shooting fNraysBinPerDim x fNraysBinPerDim through each bin
The calculated radiation thickness is a projection of the rad.thickness along the ray onto the Z axis. RadThick = sum of (dZ / radLength) over ray trajectory pieces
When doRadialProjection==false the rays are shoot horizontally along the Z axis
Implemented in kf::tools::MaterialMapFactory.