BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_geom_bmnzdc.C File Reference
#include "mpdshape.class.C"
Include dependency graph for create_geom_bmnzdc.C:

Go to the source code of this file.

Classes

class  Bmn_ZDC_map_element

Functions

void local_BmnZDCRaw2Digit (TString mappingFile)
void fix_rect_width_zcenter (std::ostringstream &points, Double_t xyhalfwidth, Double_t zfullwidth)
void fix_rect_xy_width_zcenter (std::ostringstream &points, Double_t xhalfwidth, Double_t yhalfwidth, Double_t zfullwidth)
void addnum (char *name)
void create_geom_bmnzdc (const char *filename="", const char *detector_name="zdc", int version=1)

Variables

int n_rec = 0
Bmn_ZDC_map_element zdc_map_element [256]

Function Documentation

◆ addnum()

void addnum ( char * name)

Definition at line 114 of file create_geom_bmnzdc.C.

Referenced by create_geom_bmnzdc().

Here is the caller graph for this function:

◆ create_geom_bmnzdc()

void create_geom_bmnzdc ( const char * filename = "",
const char * detector_name = "zdc",
int version = 1 )

Definition at line 126 of file create_geom_bmnzdc.C.

References addnum(), Mpdshape::DumpWithIncrement(), f, fix_rect_width_zcenter(), fix_rect_xy_width_zcenter(), local_BmnZDCRaw2Digit(), n_rec, rotation, Mpdshape::SetPosition(), Mpdshape::SetRotation(), Mpdshape::SetSegment(), and zdc_map_element.

Here is the call graph for this function:

◆ fix_rect_width_zcenter()

void fix_rect_width_zcenter ( std::ostringstream & points,
Double_t xyhalfwidth,
Double_t zfullwidth )

Definition at line 83 of file create_geom_bmnzdc.C.

Referenced by create_geom_bmnzdc().

Here is the caller graph for this function:

◆ fix_rect_xy_width_zcenter()

void fix_rect_xy_width_zcenter ( std::ostringstream & points,
Double_t xhalfwidth,
Double_t yhalfwidth,
Double_t zfullwidth )

Definition at line 97 of file create_geom_bmnzdc.C.

Referenced by create_geom_bmnzdc().

Here is the caller graph for this function:

◆ local_BmnZDCRaw2Digit()

void local_BmnZDCRaw2Digit ( TString mappingFile)

Definition at line 52 of file create_geom_bmnzdc.C.

References n_rec, x, y, and zdc_map_element.

Referenced by create_geom_bmnzdc().

Here is the caller graph for this function:

Variable Documentation

◆ n_rec

int n_rec = 0

Definition at line 49 of file create_geom_bmnzdc.C.

◆ zdc_map_element

Bmn_ZDC_map_element zdc_map_element[256]

Definition at line 50 of file create_geom_bmnzdc.C.