EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MediaLayer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MediaLayer.h
1
//
2
// AYK (ayk@bnl.gov), shaped up in Nov'2015;
3
//
4
// Single media layer definition;
5
//
6
7
#include <TGeoMaterial.h>
8
9
#ifndef _MEDIA_LAYER_
10
#define _MEDIA_LAYER_
11
12
class
MediaLayer
{
13
public
:
14
MediaLayer
(TGeoMaterial *
material
,
double
z0);
15
~MediaLayer
() {};
16
17
void
SetThickness
(
double
thickness
) {
mThickness
=
thickness
; };
18
double
GetThickness
()
const
{
return
mThickness
; };
19
20
TGeoMaterial *
GetMaterial
()
const
{
return
mMaterial
; };
21
double
GetZ0
()
const
{
return
mZ0
; };
22
double
GetMoliereChc
()
const
{
return
mMoliereChc
; };
23
24
private
:
25
TGeoMaterial *
mMaterial
;
26
27
// 'chc' parameter of Moliere theory;
28
double
mMoliereChc
;
29
30
// Well, layers should in fact be consequitive in Z, so up to numerical
31
// rounding mZ0+mThickness of a given layer should be equal to the mZ0
32
// of the next layer; FIXME one day perhaps?;
33
double
mZ0
,
mThickness
;
34
};
35
36
#endif
EicRoot
blob
master
eic
htc
MediaLayer.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration