Hall-D Software
alpha
|
#include <fstream>
#include <sstream>
#include "DANA/DApplication.h"
#include <DVector3.h>
#include <HDGEOMETRY/DRootGeom.h>
#include <TROOT.h>
#include <TFile.h>
#include <TH2D.h>
Go to the source code of this file.
Classes | |
class | Material |
Functions | |
void | ParseCommandLineArguments (int narg, char *argv[], JApplication &app) |
void | Usage (JApplication &app) |
template<class T > | |
string | mkstr (const T &val, unsigned int width) |
int | main (int narg, char *argv[]) |
Variables | |
int | Nr = 500 |
int | Nz = 1500 |
double | rmin = 0.0 |
double | rmax = 9.75 |
double | zmin = 15.0 |
double | zmax = 100.0 |
int | n_r = 3 |
int | n_z = 3 |
int | n_phi = 60 |
int main | ( | int | narg, |
char * | argv[] | ||
) |
Definition at line 69 of file mkMaterialMap.cc.
References Material::A, Material::chi2a_corr, Material::chi2a_factor, Material::chi2c_factor, dapp, Material::Density, DRootGeom::FindMatLL(), I, mkstr(), n_phi, n_r, n_z, Nr, Nz, ParseCommandLineArguments(), Material::RadLen, Material::rhoZ_overA, Material::rhoZ_overA_logI, rmax, rmin, sin(), size, Material::Z, zmax, and zmin.
string mkstr | ( | const T & | val, |
unsigned int | width | ||
) |
void ParseCommandLineArguments | ( | int | narg, |
char * | argv[], | ||
JApplication & | app | ||
) |
void Usage | ( | JApplication & | app | ) |
int n_phi = 60 |
Definition at line 46 of file mkMaterialMap.cc.
Referenced by DRootGeom::InitTable(), main(), and ParseCommandLineArguments().
int n_r = 3 |
Definition at line 44 of file mkMaterialMap.cc.
Referenced by DRootGeom::InitTable(), main(), and ParseCommandLineArguments().
int n_z = 3 |
Definition at line 45 of file mkMaterialMap.cc.
Referenced by DRootGeom::InitTable(), main(), and ParseCommandLineArguments().
int Nr = 500 |
Definition at line 38 of file mkMaterialMap.cc.
int Nz = 1500 |
Definition at line 39 of file mkMaterialMap.cc.
double rmax = 9.75 |
Definition at line 41 of file mkMaterialMap.cc.
Referenced by DEventProcessor_trackeff_hists2::brun(), hdv_mainframe::DrawDetectorsXY(), DRootGeom::InitTable(), main(), ParseCommandLineArguments(), DRootGeom::ReadMap(), and WriteFile().
double rmin = 0.0 |
Definition at line 40 of file mkMaterialMap.cc.
Referenced by DEventProcessor_trackeff_hists2::brun(), hdv_mainframe::DrawDetectorsXY(), DMaterialMap::EstimatedDistanceToBoundarySearch(), JEventProcessor_TRIG_online::evnt(), DRootGeom::InitTable(), main(), ParseCommandLineArguments(), DRootGeom::ReadMap(), and WriteFile().
double zmax = 100.0 |
Definition at line 43 of file mkMaterialMap.cc.
Referenced by DTrackCandidate_factory_CDC::Find_Z(), DTrackCandidate_factory_FDCpseudo::FindZ(), DTrackCandidate_factory_FDC::FindZ(), DMagneticFieldMapFineMesh::GetBz(), DGeometry::GetCDCWires(), DMagneticFieldMapFineMesh::GetField(), DMagneticFieldMapPS2DMap::GetField(), DMagneticFieldMapFineMesh::GetFieldAndGradient(), DMagneticFieldMapPS2DMap::GetFieldAndGradient(), DTrackCandidate_factory_FDCCathodes::GetPositionAndMomentum(), DRootGeom::InitTable(), main(), Parameterize(), ParseCommandLineArguments(), plot_gain_factors(), plot_gain_factors2(), DMagneticFieldMapFineMesh::ReadMap(), DMagneticFieldMapPS2DMap::ReadMap(), DMagneticFieldMapCalibDB::ReadMap(), DRootGeom::ReadMap(), DReferenceTrajectory::SetZmaxTrackingBoundary(), and WriteFile().
double zmin = 15.0 |
Definition at line 42 of file mkMaterialMap.cc.
Referenced by DMaterialMap::EstimatedDistanceToBoundarySearch(), DTrackCandidate_factory_CDC::Find_Z(), DTrackCandidate_factory_FDCpseudo::FindZ(), DTrackCandidate_factory_FDC::FindZ(), DMagneticFieldMapFineMesh::GetBz(), DMagneticFieldMapCalibDB::GetBz(), DGeometry::GetCDCWires(), DMagneticFieldMapFineMesh::GetField(), DMagneticFieldMapCalibDB::GetField(), DMagneticFieldMapPS2DMap::GetField(), DMagneticFieldMapFineMesh::GetFieldAndGradient(), DMagneticFieldMapCalibDB::GetFieldAndGradient(), DMagneticFieldMapPS2DMap::GetFieldAndGradient(), DMagneticFieldMapFineMesh::GetFieldBicubic(), DMagneticFieldMapPS2DMap::GetFieldBicubic(), DMagneticFieldMapCalibDB::GetFieldBicubic(), DMagneticFieldMapFineMesh::GetFieldGradient(), DMagneticFieldMapPS2DMap::GetFieldGradient(), DMagneticFieldMapCalibDB::GetFieldGradient(), DTrackCandidate_factory_FDCCathodes::GetPositionAndMomentum(), DRootGeom::InitTable(), DMagneticFieldMapFineMesh::InterpolateField(), DMaterialMap::IsInMap(), main(), Parameterize(), ParseCommandLineArguments(), plot_gain_factors(), plot_gain_factors2(), DMagneticFieldMapFineMesh::ReadMap(), DMagneticFieldMapCalibDB::ReadMap(), DMagneticFieldMapPS2DMap::ReadMap(), DRootGeom::ReadMap(), DReferenceTrajectory::SetZminTrackingBoundary(), and WriteFile().