CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kf::IMaterialMapFactory Class Referenceabstract

Interface to the material map creator. More...

#include <KfIMaterialMapFactory.h>

Inheritance diagram for cbm::algo::kf::IMaterialMapFactory:
[legend]

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.
 

Detailed Description

Interface to the material map creator.

Definition at line 18 of file KfIMaterialMapFactory.h.

Constructor & Destructor Documentation

◆ ~IMaterialMapFactory()

virtual cbm::algo::kf::IMaterialMapFactory::~IMaterialMapFactory ( )
virtualdefault

Destructor.

Member Function Documentation

◆ GenerateMaterialMap()

virtual MaterialMap cbm::algo::kf::IMaterialMapFactory::GenerateMaterialMap ( double zRef,
double zMin,
double zMax,
double xyMax,
int nBinsDim )
pure virtual

Generates a material budget map.

Parameters
zRefReference z-coordinate of the material layer [cm]
zMinz-coordinate of the material layer lower boundary [cm]
zMaxz-coordinate of the material layer upper boundary [cm]
xyMaxTransverse size of the material layer [cm]
nBinsDimNumber 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.


The documentation for this class was generated from the following file: