Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4_Aerogel.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4_Aerogel.C
1
// $Id: G4_Aerogel.C,v 1.2 2013/10/09 01:08:17 jinhuang Exp $
2
11
void
12
AerogelInit
()
13
{
14
15
}
16
17
void
18
AerogelSetup
(
PHG4Reco
* g4Reco,
const
int
N_Sector = 8,
//
19
const
double
min_eta = 1.1
// 1.45
20
)
21
{
22
23
PHG4SectorSubsystem
*ag;
24
ag =
new
PHG4SectorSubsystem
(
"Aerogel"
);
25
26
ag->
get_geometry
().
set_normal_polar_angle
(
27
(
PHG4Sector::Sector_Geometry::eta_to_polar_angle
(min_eta)
28
+
PHG4Sector::Sector_Geometry::eta_to_polar_angle
(2)) / 2);
29
// ag->get_geometry().set_normal_polar_angle(0);
30
ag->
get_geometry
().
set_normal_start
(
31
280 *
PHG4Sector::Sector_Geometry::Unit_cm
());
// 307
32
ag->
get_geometry
().
set_min_polar_angle
(
33
PHG4Sector::Sector_Geometry::eta_to_polar_angle
(1.9));
34
ag->
get_geometry
().
set_max_polar_angle
(
35
PHG4Sector::Sector_Geometry::eta_to_polar_angle
(min_eta));
36
ag->
get_geometry
().
set_min_polar_edge
(
37
PHG4Sector::Sector_Geometry::FlatEdge
());
38
ag->
get_geometry
().
set_material
(
"G4_AIR"
);
39
ag->
get_geometry
().
set_N_Sector
(N_Sector);
40
ag->
OverlapCheck
(
overlapcheck
);
41
42
// Aerogel dimensions ins cm
43
double
radiator_length = 2.;
44
double
expansion_length = 10.;
45
46
ag->
get_geometry
().
AddLayers_AeroGel_ePHENIX
( radiator_length *
PHG4Sector::Sector_Geometry::Unit_cm
(),
47
expansion_length *
PHG4Sector::Sector_Geometry::Unit_cm
() );
48
g4Reco->
registerSubsystem
(ag);
49
50
}
51
analysis
blob
master
EICAnalysis
macros
leptoquarks_fun4all
G4_Aerogel.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:48
using
1.8.2 with
sPHENIX GitHub integration