BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnScWallGeoPar.h
Go to the documentation of this file.
1
/*************************************************************************************
2
*
3
* Class BmnScWallGeoPar
4
*
5
************************************************************************************/
6
7
#ifndef BMNGEOSCWALLPAR_H
8
#define BMNGEOSCWALLPAR_H
9
10
#include "FairParGenericSet.h"
11
#include "
TObjArray.h
"
12
#include "regex"
13
14
class
BmnScWallGeoPar
:
public
FairParGenericSet
15
{
16
public
:
17
TObjArray
*
fGeoSensNodes
;
/** List of FairGeoNodes for sensitive volumes */
18
TObjArray
*
fGeoPassNodes
;
/** List of FairGeoNodes for passive volumes */
19
20
BmnScWallGeoPar
(
const
char
* name =
"BmnScWallGeoPar"
,
21
const
char
* title =
"ScWall Geometry Parameters"
,
22
const
char
* context =
"ScWallDefaultContext"
);
23
~BmnScWallGeoPar
(
void
);
24
void
clear
(
void
);
25
void
putParams
(FairParamList*);
26
Bool_t
getParams
(FairParamList*);
27
TObjArray
*
GetGeoSensitiveNodes
() {
return
fGeoSensNodes
; }
28
TObjArray
*
GetGeoPassiveNodes
() {
return
fGeoPassNodes
; }
29
30
static
inline
const
int
fTotalCells
= 216;
// inclusive
31
static
inline
const
int
fSmallCells
= 40;
// inclusive
32
33
static
bool
CheckIfSensitive
(std::string name);
34
35
static
inline
const
TString
fTopVolumeName
=
"TOP"
;
36
static
inline
const
TString
fCommonVolumeName
=
"ScWAll_common"
;
37
static
inline
const
TString
fDetectorVolumeName
=
"scwall01"
;
38
static
inline
const
TString
scwallCell_name_large
=
"scwall01large"
;
39
40
static
inline
const
TString
scwallCell_name_small
=
"scwall01small"
;
41
static
inline
const
TString
scwallCell_name_small_10mm
=
"scwall01small_10mm"
;
42
static
inline
const
TString
scwallCell_name_small_20mm
=
"scwall01small_20mm"
;
43
44
static
inline
const
TString
scwall_name_box
=
"scwall01_box"
;
// Scint+box
45
static
inline
const
TString
scwall_name_Al_plate_left
=
"scwall01_Al_plate_left"
;
46
static
inline
const
TString
scwall_name_Al_plate_right
=
"scwall01_Al_plate_right"
;
47
static
inline
const
TString
scwall_name_Al_plate_top
=
"scwall01_Al_plate_top"
;
48
static
inline
const
TString
scwall_name_Air_plate
=
"scwall01_Air_plate"
;
49
50
static
inline
const
TString
scwallSensitiveCell_name_small_cutted
=
"scwall_sens_small_cutted"
;
51
static
inline
const
TString
scwallSensitiveCell_name_small_cutted_10mm
=
"scwall_sens_small_cutted_10mm"
;
52
static
inline
const
TString
scwallSensitiveCell_name_small_cutted_20mm
=
"scwall_sens_small_cutted_20mm"
;
53
54
static
inline
const
TString
scwallSensitiveCell_name_small_trap
=
"scwall_sens_small_trap"
;
55
static
inline
const
TString
scwallSensitiveCell_name_small_trap_10mm
=
"scwall_sens_small_trap_10mm"
;
56
static
inline
const
TString
scwallSensitiveCell_name_small_trap_20mm
=
"scwall_sens_small_trap_20mm"
;
57
58
static
inline
const
TString
scwallSensitiveCell_name_large_cutted
=
"scwall_sens_large_cutted"
;
59
static
inline
const
TString
scwallSensitiveCell_name_large_trap
=
"scwall_sens_large_trap"
;
60
61
static
inline
const
TString
fPathBeforeLocalSystem
=
"/ScWAll_common_0/scwall01_box_1/scwall01_1/"
;
62
// pattern to retrieve information about element indexes from its node path in geo file
63
static
inline
const
std::regex
fElementPattern
{R
"(/scwall01(?:small|large)_(\d+))"};
64
65
ClassDef
(
BmnScWallGeoPar
, 2)
66
};
67
68
#endif
Bool_t
bool Bool_t
ClassDef
#define ClassDef(name, id)
TObjArray.h
BmnScWallGeoPar
Definition
BmnScWallGeoPar.h:15
BmnScWallGeoPar::GetGeoPassiveNodes
TObjArray * GetGeoPassiveNodes()
Definition
BmnScWallGeoPar.h:28
BmnScWallGeoPar::CheckIfSensitive
static bool CheckIfSensitive(std::string name)
Definition
BmnScWallGeoPar.cxx:56
BmnScWallGeoPar::scwallSensitiveCell_name_small_trap_20mm
static const TString scwallSensitiveCell_name_small_trap_20mm
Definition
BmnScWallGeoPar.h:56
BmnScWallGeoPar::GetGeoSensitiveNodes
TObjArray * GetGeoSensitiveNodes()
Definition
BmnScWallGeoPar.h:27
BmnScWallGeoPar::scwallSensitiveCell_name_small_trap
static const TString scwallSensitiveCell_name_small_trap
Definition
BmnScWallGeoPar.h:54
BmnScWallGeoPar::fGeoPassNodes
TObjArray * fGeoPassNodes
List of FairGeoNodes for sensitive volumes.
Definition
BmnScWallGeoPar.h:18
BmnScWallGeoPar::scwallSensitiveCell_name_small_cutted_10mm
static const TString scwallSensitiveCell_name_small_cutted_10mm
Definition
BmnScWallGeoPar.h:51
BmnScWallGeoPar::scwallSensitiveCell_name_small_cutted_20mm
static const TString scwallSensitiveCell_name_small_cutted_20mm
Definition
BmnScWallGeoPar.h:52
BmnScWallGeoPar::scwallCell_name_large
static const TString scwallCell_name_large
Definition
BmnScWallGeoPar.h:38
BmnScWallGeoPar::fCommonVolumeName
static const TString fCommonVolumeName
Definition
BmnScWallGeoPar.h:36
BmnScWallGeoPar::getParams
Bool_t getParams(FairParamList *)
Definition
BmnScWallGeoPar.cxx:43
BmnScWallGeoPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition
BmnScWallGeoPar.h:17
BmnScWallGeoPar::fDetectorVolumeName
static const TString fDetectorVolumeName
Definition
BmnScWallGeoPar.h:37
BmnScWallGeoPar::scwallCell_name_small
static const TString scwallCell_name_small
Definition
BmnScWallGeoPar.h:40
BmnScWallGeoPar::scwall_name_box
static const TString scwall_name_box
Definition
BmnScWallGeoPar.h:44
BmnScWallGeoPar::putParams
void putParams(FairParamList *)
Definition
BmnScWallGeoPar.cxx:35
BmnScWallGeoPar::fTopVolumeName
static const TString fTopVolumeName
Definition
BmnScWallGeoPar.h:35
BmnScWallGeoPar::BmnScWallGeoPar
BmnScWallGeoPar(const char *name="BmnScWallGeoPar", const char *title="ScWall Geometry Parameters", const char *context="ScWallDefaultContext")
List of FairGeoNodes for passive volumes.
Definition
BmnScWallGeoPar.cxx:16
BmnScWallGeoPar::scwall_name_Air_plate
static const TString scwall_name_Air_plate
Definition
BmnScWallGeoPar.h:48
BmnScWallGeoPar::fTotalCells
static const int fTotalCells
Definition
BmnScWallGeoPar.h:30
BmnScWallGeoPar::~BmnScWallGeoPar
~BmnScWallGeoPar(void)
Definition
BmnScWallGeoPar.cxx:23
BmnScWallGeoPar::fSmallCells
static const int fSmallCells
Definition
BmnScWallGeoPar.h:31
BmnScWallGeoPar::scwallSensitiveCell_name_small_trap_10mm
static const TString scwallSensitiveCell_name_small_trap_10mm
Definition
BmnScWallGeoPar.h:55
BmnScWallGeoPar::scwallCell_name_small_10mm
static const TString scwallCell_name_small_10mm
Definition
BmnScWallGeoPar.h:41
BmnScWallGeoPar::scwallSensitiveCell_name_large_cutted
static const TString scwallSensitiveCell_name_large_cutted
Definition
BmnScWallGeoPar.h:58
BmnScWallGeoPar::scwall_name_Al_plate_right
static const TString scwall_name_Al_plate_right
Definition
BmnScWallGeoPar.h:46
BmnScWallGeoPar::fPathBeforeLocalSystem
static const TString fPathBeforeLocalSystem
Definition
BmnScWallGeoPar.h:61
BmnScWallGeoPar::fElementPattern
static const std::regex fElementPattern
Definition
BmnScWallGeoPar.h:63
BmnScWallGeoPar::clear
void clear(void)
Definition
BmnScWallGeoPar.cxx:27
BmnScWallGeoPar::scwallSensitiveCell_name_small_cutted
static const TString scwallSensitiveCell_name_small_cutted
Definition
BmnScWallGeoPar.h:50
BmnScWallGeoPar::scwall_name_Al_plate_top
static const TString scwall_name_Al_plate_top
Definition
BmnScWallGeoPar.h:47
BmnScWallGeoPar::scwallCell_name_small_20mm
static const TString scwallCell_name_small_20mm
Definition
BmnScWallGeoPar.h:42
BmnScWallGeoPar::scwallSensitiveCell_name_large_trap
static const TString scwallSensitiveCell_name_large_trap
Definition
BmnScWallGeoPar.h:59
BmnScWallGeoPar::scwall_name_Al_plate_left
static const TString scwall_name_Al_plate_left
Definition
BmnScWallGeoPar.h:45
FairParGenericSet
TObjArray
TString
detectors
scwall
BmnScWallGeoPar.h
Generated on
for BmnRoot by
1.17.0