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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
blob
master
base
cbmbase
cbmdata
dbase
eic
ayk
base
cad
calorimetry
detectors
calorimeter
gem
lqst
maps
EicMaps.cxx
EicMaps.h
FstGeoParData.cxx
FstGeoParData.h
MapsGeoParData.cxx
MapsGeoParData.h
mapsLinkDef.h
MapsMimosaAssembly.cxx
MapsMimosaAssembly.h
VstGeoParData.cxx
VstGeoParData.h
mumegas
tpc
event
field
htc
htree
infrastructure
jana
proto
tracking
eventdisplay
examples
fairtools
field
gconfig
geane
genfit
GenfitTools
geobase
geometry
input
littrack
parbase
passive
pCDR-2018
pid
pnddata
PndTools
rich
trackbase
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
VstGeoParData.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file VstGeoParData.h
1
//
2
// AYK (ayk@bnl.gov), 2014/08/07
3
//
4
// VST MAPS geometry description file;
5
//
6
7
#include <
MapsGeoParData.h
>
8
#include <
MapsMimosaAssembly.h
>
9
10
#ifndef _VST_GEO_PAR_DATA_
11
#define _VST_GEO_PAR_DATA_
12
13
#define _VST_DETECTOR_NAME_ ("VST")
14
15
class
VstBarrelLayer
:
public
TObject
{
16
public
:
17
VstBarrelLayer
() {
ResetVars
(); };
18
VstBarrelLayer
(
MapsMimosaAssembly
*chipAssembly,
unsigned
staveNum,
19
unsigned
chipNum,
double
radius
,
double
slope,
double
asimuthalOffset):
20
mChipAssembly
(chipAssembly),
mStaveNum
(staveNum),
mMimosaChipNum
(chipNum),
mRadius
(radius),
21
mStaveSlope
(slope),
mAsimuthalOffset
(asimuthalOffset) {};
22
~VstBarrelLayer
() {};
23
24
void
ResetVars
() {
25
mChipAssembly
= 0;
26
mStaveNum
=
mMimosaChipNum
= 0;
27
mRadius
=
mStaveSlope
=
mAsimuthalOffset
= 0.0;
28
};
29
30
UInt_t
mStaveNum
;
// number of staves in this barrel layer
31
Double_t
mRadius
;
// layer ~radius
32
Double_t
mAsimuthalOffset
;
// optional extra rotation around beam line
33
Double_t
mStaveSlope
;
// small stave rotation around barrel axis to avoid overlaps
34
MapsMimosaAssembly
*
mChipAssembly
;
// all the details of the chip assembly
35
UInt_t
mMimosaChipNum
;
// number of Mimosa chips per stave
36
37
ClassDef
(
VstBarrelLayer
,2);
38
};
39
40
class
VstGeoParData
:
public
MapsGeoParData
41
{
42
private
:
43
44
public
:
45
VstGeoParData
(
int
version
= -1,
int
subVersion = 0):
46
MapsGeoParData
(
_VST_DETECTOR_NAME_
,
version
, subVersion),
mMountingRingRadialOffset
(0.0) {};
47
~VstGeoParData
() {};
48
49
void
AddBarrelLayer
(
MapsMimosaAssembly
*chipAssembly,
50
unsigned
staveNum,
unsigned
chipNum,
double
radius
,
51
double
slope,
double
asimuthalOffset = 0.0) {
52
mBarrel
.push_back(
new
VstBarrelLayer
(chipAssembly, staveNum, chipNum, radius,
53
slope, asimuthalOffset));
54
};
55
56
unsigned
GetNumberOfLayers
()
const
{
return
mBarrel
.size(); };
57
58
const
VstBarrelLayer
*
GetBarrelLayer
(
unsigned
layerID)
const
{
59
return
layerID <=
mBarrel
.size() ?
mBarrel
[layerID] : 0;
60
};
61
62
Double_t
mMountingRingRadialOffset
;
// mounting ring radial offset wrt the layer TRD1 volume center
63
64
//void Print(const char *option = 0) const;
65
int
ConstructGeometry
(
bool
root =
true
,
bool
gdml =
false
,
bool
check =
false
);
66
67
private
:
68
std::vector <VstBarrelLayer*>
mBarrel
;
// VST barrel layers
69
70
ClassDef
(
VstGeoParData
,8);
71
};
72
73
#endif
EicRoot
blob
master
eic
detectors
maps
VstGeoParData.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration