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
FieldMaps.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FieldMaps.h
1
#ifndef __FIELDMAPS_H__
2
#define __FIELDMAPS_H__
3
4
//===========================================================
8
//===========================================================
9
10
#include "TH3F.h"
11
12
class
FieldMaps
{
13
public
:
14
FieldMaps
();
15
virtual
~FieldMaps
();
16
void
ReadFile
();
17
void
SetDebugLevel
(
int
n
) {
fDebug
=
n
;}
18
void
TPCDimensions
(
float
irad,
float
orad,
float
hzet) {
fInnerRadius
=irad;
fOutterRadius
=orad;
fHalfLength
=hzet;}
19
void
TPCGridSize
(
int
nr,
int
np,
int
nz
) {
fNRadialSteps
=nr;
fNAzimuthalSteps
=np;
fNLongitudinalSteps
=
nz
;}
20
void
OutputFileName
(
std::string
a
) {
fFileNameRoot
=
a
;}
21
void
LSFileName
(
std::string
a
) {
fLSNameRoot
=
a
;}
22
void
MirrorZ
() {
fMirrorZ
=
true
;}
23
void
Make
(
int
n
=-1);
24
virtual
void
ComputeE
()=0;
25
26
protected
:
27
void
InitMaps
();
28
void
SaveMaps
();
29
float
ReadCharge
(
float
rprime,
float
phiprime,
float
zprime,
float
dr,
float
dphi
,
float
dz
);
30
31
int
fDebug
;
32
int
fRadialBin
;
33
34
TH3F *
fEr
;
35
TH3F *
fEp
;
36
TH3F *
fEz
;
37
TH3F *
fRho
;
38
39
float
fInnerRadius
;
40
float
fOutterRadius
;
41
float
fHalfLength
;
42
int
fNRadialSteps
;
43
int
fNAzimuthalSteps
;
44
int
fNLongitudinalSteps
;
45
std::string
fFileNameRoot
;
46
std::string
fLSNameRoot
;
47
bool
fMirrorZ
;
48
};
49
50
#endif
/* __FIELDMAPS_H__ */
analysis
blob
master
TPC
SCDCorrections
FieldMaps.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:58
using
1.8.2 with
sPHENIX GitHub integration