EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mfield2eve.C File Reference
#include <math.h>
#include <TEveManager.h>
#include <TEveArrow.h>
#include <TEveLine.h>
#include <TVector2.h>
#include <TCanvas.h>
#include <TStyle.h>
#include <TH1D.h>
#include <TPad.h>
#include <TLine.h>
#include <BeastMagneticField.h>
+ Include dependency graph for mfield2eve.C:

Go to the source code of this file.

Macros

#define _MAP_ZMIN_   (-500.0)
 
#define _MAP_ZDIM_   501
 
#define _MAP_RMIN_   0.0
 
#define _MAP_RDIM_   126
 
#define _COORD_CFF_   1.0
 
#define _FIELD_CFF_   1.0
 
#define _STEP_   2.0
 
#define _KICK_ZMIN_   160.0
 
#define _KICK_ZDIM_   100
 
#define _KICK_ZSTEP_   1.0
 
#define _KICK_TMIN_   0
 
#define _KICK_TDIM_   40
 
#define _KICK_TSTEP_   1.0
 
#define _P0_   10.0
 

Functions

void mfield2eve (void)
 

Variables

static double BR [_MAP_ZDIM_][_MAP_RDIM_]
 
static double BZ [_MAP_ZDIM_][_MAP_RDIM_]
 

Macro Definition Documentation

#define _COORD_CFF_   1.0

Definition at line 32 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 32 of file mfield2eve.C

#define _FIELD_CFF_   1.0

Definition at line 33 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 33 of file mfield2eve.C

#define _KICK_TDIM_   40

Definition at line 46 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 46 of file mfield2eve.C

Referenced by mfield2eve().

#define _KICK_TMIN_   0

Definition at line 45 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 45 of file mfield2eve.C

Referenced by mfield2eve().

#define _KICK_TSTEP_   1.0

Definition at line 47 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 47 of file mfield2eve.C

Referenced by mfield2eve().

#define _KICK_ZDIM_   100

Definition at line 41 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 41 of file mfield2eve.C

Referenced by mfield2eve().

#define _KICK_ZMIN_   160.0

Definition at line 40 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 40 of file mfield2eve.C

Referenced by mfield2eve().

#define _KICK_ZSTEP_   1.0

Definition at line 42 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 42 of file mfield2eve.C

Referenced by mfield2eve().

#define _MAP_RDIM_   126

Definition at line 30 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 30 of file mfield2eve.C

#define _MAP_RMIN_   0.0

Definition at line 29 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 29 of file mfield2eve.C

#define _MAP_ZDIM_   501

Definition at line 27 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 27 of file mfield2eve.C

#define _MAP_ZMIN_   (-500.0)

Definition at line 26 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 26 of file mfield2eve.C

#define _P0_   10.0

Definition at line 50 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 50 of file mfield2eve.C

Referenced by mfield2eve().

#define _STEP_   2.0

Definition at line 34 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 34 of file mfield2eve.C

Function Documentation

void mfield2eve ( void  )

Definition at line 54 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 54 of file mfield2eve.C

References _KICK_TDIM_, _KICK_TMIN_, _KICK_TSTEP_, _KICK_ZDIM_, _KICK_ZMIN_, _KICK_ZSTEP_, _P0_, c1, color, ir(), n, printf(), rr, theta(), and z.

+ Here is the call graph for this function:

Variable Documentation

double BR[_MAP_ZDIM_][_MAP_RDIM_]
static

Definition at line 37 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 37 of file mfield2eve.C

double BZ[_MAP_ZDIM_][_MAP_RDIM_]
static

Definition at line 37 of file mfield2eve.C.

View newest version in sPHENIX GitHub at line 37 of file mfield2eve.C