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
EtmAzimuthalScan.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EtmAzimuthalScan.h
1
2
#include <TH2D.h>
3
#include <TVector3.h>
4
5
#ifndef _ETM_AZIMUTHAL_SCAN_
6
#define _ETM_AZIMUTHAL_SCAN_
7
8
class
BeastMagneticField
;
9
10
class
EtmAzimuthalScan
:
public
TObject
{
11
public
:
12
// FIXME: default binning hardcoded; ok;
13
EtmAzimuthalScan
(
double
etamin = 0.0,
double
etamax = 0.0,
14
unsigned
ntheta = 25,
unsigned
nphi = 120);
15
~EtmAzimuthalScan
() {};
16
17
EtmAzimuthalScan
*
SetVertexSigma
(
double
sigma) {
mVertexSigma
= sigma;
return
this
; };
18
EtmAzimuthalScan
*
SetStat
(
unsigned
stat) {
mStat
= stat;
return
this
; };
19
20
EtmAzimuthalScan
*
SetBfield
(
double
field);
21
EtmAzimuthalScan
*
SetBfield
(
const
char
*fname);
22
EtmAzimuthalScan
*
SetBfieldScanStep
(
double
step
) {
mBfieldScanStep
=
step
;
return
this
; };
23
24
void
DoIt
(
const
char
*fout);
25
26
private
:
27
TVector3
GetBfield
(
const
TVector3 &xx)
const
;
28
29
// Radiation length in [%], length available for Si tracker in [cm],
30
// |Bt|*dl integral over this length in [T*m];
31
TH2D *
mRL
, *
mZL
, *
mBdl
;
32
33
double
mEtaMin
,
mEtaMax
,
mVertexSigma
,
mBfield
,
mBfieldScanStep
;
34
unsigned
mThetaBinCount
,
mPhiBinCount
,
mStat
;
35
36
BeastMagneticField
*
mBeastMagneticField
;
37
38
ClassDef(
EtmAzimuthalScan
, 1)
39
};
40
41
#endif
EicToyModel
blob
master
include
EtmAzimuthalScan.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:38
using
1.8.2 with
EIC GitHub integration