#include <DRootGeom.h>
|
| DRootGeom (JApplication *japp, unsigned int run_number=1) |
|
virtual | ~DRootGeom () |
|
virtual const char * | className (void) |
|
int | ReadMap (string namepath, int32_t runnumber) |
|
void | InitTable (void) |
|
TGeoNode * | GetCurrentNode () |
|
TGeoVolume * | GetCurrentVolume () |
|
struct VolMat | GetCurrentMat () |
|
TGeoNode * | FindNode (double *x) |
|
TGeoVolume * | FindVolume (double *x) |
|
struct VolMat | FindMat (double *x) |
|
jerror_t | FindMat (DVector3 pos, double &rhoZ_overA, double &rhoZ_overA_logI, double &RadLen) const |
|
jerror_t | FindMat (DVector3 pos, double &density, double &A, double &Z, double &RadLen) const |
|
jerror_t | FindMatLL (DVector3 pos, double &rhoZ_overA, double &rhoZ_overA_logI, double &RadLen) const |
|
jerror_t | FindMatLL (DVector3 pos, double &density, double &A, double &Z, double &RadLen) const |
|
jerror_t | FindMatLL (DVector3 pos, double &density, double &A, double &Z, double &RadLen, double &LnI) const |
|
jerror_t | FindMatTable (DVector3 pos, double &rhoZ_overA, double &rhoZ_overA_logI, double &RadLen) const |
|
jerror_t | FindMatTable (DVector3 pos, double &density, double &A, double &Z, double &RadLen) const |
|
jerror_t | FindMat (const char *matname, double &rhoZ_overA, double &rhoZ_overA_logI, double &RadLen) const |
|
Definition at line 36 of file DRootGeom.h.
DRootGeom::DRootGeom |
( |
JApplication * |
japp, |
|
|
unsigned int |
run_number = 1 |
|
) |
| |
DRootGeom::~DRootGeom |
( |
| ) |
|
|
virtual |
virtual const char* DRootGeom::className |
( |
void |
| ) |
|
|
inlinevirtual |
struct VolMat DRootGeom::FindMat |
( |
double * |
x | ) |
|
jerror_t DRootGeom::FindMat |
( |
DVector3 |
pos, |
|
|
double & |
rhoZ_overA, |
|
|
double & |
rhoZ_overA_logI, |
|
|
double & |
RadLen |
|
) |
| const |
jerror_t DRootGeom::FindMat |
( |
DVector3 |
pos, |
|
|
double & |
density, |
|
|
double & |
A, |
|
|
double & |
Z, |
|
|
double & |
RadLen |
|
) |
| const |
jerror_t DRootGeom::FindMat |
( |
const char * |
matname, |
|
|
double & |
rhoZ_overA, |
|
|
double & |
rhoZ_overA_logI, |
|
|
double & |
RadLen |
|
) |
| const |
jerror_t DRootGeom::FindMatLL |
( |
DVector3 |
pos, |
|
|
double & |
rhoZ_overA, |
|
|
double & |
rhoZ_overA_logI, |
|
|
double & |
RadLen |
|
) |
| const |
This is a wrapper for the other FindMatLL method that returns density, A, and Z. It is here to make easy comparisons between the LL and table methods.
Definition at line 402 of file DRootGeom.cc.
Referenced by main().
jerror_t DRootGeom::FindMatLL |
( |
DVector3 |
pos, |
|
|
double & |
density, |
|
|
double & |
A, |
|
|
double & |
Z, |
|
|
double & |
RadLen |
|
) |
| const |
jerror_t DRootGeom::FindMatLL |
( |
DVector3 |
pos, |
|
|
double & |
density, |
|
|
double & |
A, |
|
|
double & |
Z, |
|
|
double & |
RadLen, |
|
|
double & |
LnI |
|
) |
| const |
jerror_t DRootGeom::FindMatTable |
( |
DVector3 |
pos, |
|
|
double & |
rhoZ_overA, |
|
|
double & |
rhoZ_overA_logI, |
|
|
double & |
RadLen |
|
) |
| const |
jerror_t DRootGeom::FindMatTable |
( |
DVector3 |
pos, |
|
|
double & |
density, |
|
|
double & |
A, |
|
|
double & |
Z, |
|
|
double & |
RadLen |
|
) |
| const |
TGeoNode * DRootGeom::FindNode |
( |
double * |
x | ) |
|
TGeoVolume * DRootGeom::FindVolume |
( |
double * |
x | ) |
|
struct VolMat DRootGeom::GetCurrentMat |
( |
| ) |
|
|
inline |
TGeoNode* DRootGeom::GetCurrentNode |
( |
| ) |
|
|
inline |
TGeoVolume* DRootGeom::GetCurrentVolume |
( |
| ) |
|
|
inline |
void DRootGeom::InitDRGeom |
( |
void |
| ) |
|
|
private |
void DRootGeom::InitTable |
( |
void |
| ) |
|
Definition at line 140 of file DRootGeom.cc.
References VolMat::A, VolMat::Density, n_phi, n_r, n_z, Nr, Nz, VolMat::RadLen, VolMat::rhoZ_overA, VolMat::rhoZ_overA_logI, rmax, rmin, sin(), VolMat::Z, zmax, and zmin.
int DRootGeom::ReadMap |
( |
string |
namepath, |
|
|
int32_t |
runnumber |
|
) |
| |
Read the magnetic field map in from the calibration database. This will read in the map and figure out the number of grid points in each direction (x,y, and z) and the range in each. The gradiant of the field is calculated for all but the most exterior points and saved to use in later calls to GetField(...).
Definition at line 52 of file DRootGeom.cc.
References _DBG_, VolMat::A, VolMat::Density, Nr, Nz, VolMat::RadLen, VolMat::rhoZ_overA, VolMat::rhoZ_overA_logI, rmax, rmin, VolMat::Z, zmax, and zmin.
static const char* DRootGeom::static_className |
( |
void |
| ) |
|
|
inlinestatic |
TGeoMaterial* DRootGeom::Current_Material |
|
private |
TGeoNode* DRootGeom::Current_Node |
|
private |
TGeoVolume* DRootGeom::Current_Volume |
|
private |
TGeoManager* DRootGeom::DRGeom |
|
private |
JCalibration* DRootGeom::jcalib |
|
private |
Int_t DRootGeom::Mat_Index |
|
private |
pthread_mutex_t DRootGeom::mutex |
|
private |
pthread_mutexattr_t DRootGeom::mutex_attr |
|
private |
bool DRootGeom::table_initialized |
|
private |
The documentation for this class was generated from the following files: