Hall-D Software
alpha
|
#include <iostream>
#include <iomanip>
#include <string>
#include <stdlib.h>
#include <DANA/DApplication.h>
#include <HDGEOMETRY/DMagneticFieldMap.h>
#include <JANA/JParameterManager.h>
#include <TFile.h>
#include <TTree.h>
#include <TVector3.h>
#include <TH2.h>
Go to the source code of this file.
Functions | |
void | Usage (void) |
void | ParseCommandLineArgs (int narg, char *argv[], vector< char * > &unused_args) |
int | main (int narg, char *argv[]) |
Variables | |
int32_t | RUN_NUMBER = 30000 |
int | Nr = 81 |
int | Nphi = 1 |
int | Nz = 401 |
double | Rmin = 1.0*2.54 |
double | Rmax = 81.0*2.54 |
double | Phimin = 0.0 |
double | Phimax = 0.0 |
double | Zmin = -126.0*2.54 |
double | Zmax = 274.0*2.54 |
double | Z0 = 0.0 |
bool | INCLUDE_GRADIENTS = false |
int main | ( | int | narg, |
char * | argv[] | ||
) |
Definition at line 47 of file bfield2root.cc.
References Btot_vs_r_vs_z(), dapp, dBtot_vs_r_vs_z(), DApplication::GetBfield(), DMagneticFieldMap::GetField(), DMagneticFieldMap::GetFieldAndGradient(), INCLUDE_GRADIENTS, DApplication::Init(), Nphi, Nr, Nz, ParseCommandLineArgs(), Phimax, Phimin, Rmax, Rmin, ROOTfile, RUN_NUMBER, sin(), sqrt(), x, y, Z0, Zmax, and Zmin.
void ParseCommandLineArgs | ( | int | narg, |
char * | argv[], | ||
vector< char * > & | unused_args | ||
) |
void Usage | ( | void | ) |
bool INCLUDE_GRADIENTS = false |
Definition at line 39 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
int Nphi = 1 |
Definition at line 26 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
int Nr = 81 |
Definition at line 25 of file bfield2root.cc.
Referenced by DMaterialMap::FindBoundaries(), DRootGeom::FindMatTable(), DRootGeom::InitTable(), main(), Parameterize(), ParseCommandLineArgs(), ParseCommandLineArguments(), and DRootGeom::ReadMap().
int Nz = 401 |
Definition at line 27 of file bfield2root.cc.
Referenced by DMaterialMap::EstimatedDistanceToBoundarySearch(), DMaterialMap::FindBoundaries(), DRootGeom::FindMatTable(), DMagneticFieldMapFineMesh::GetBz(), DMagneticFieldMapCalibDB::GetBz(), DMagneticFieldMapFineMesh::GetField(), DMagneticFieldMapCalibDB::GetField(), DMagneticFieldMapPS2DMap::GetField(), DMagneticFieldMapFineMesh::GetFieldAndGradient(), DMagneticFieldMapPS2DMap::GetFieldAndGradient(), DMagneticFieldMapCalibDB::GetFieldAndGradient(), DMagneticFieldMapFineMesh::GetFieldBicubic(), DMagneticFieldMapPS2DMap::GetFieldBicubic(), DMagneticFieldMapCalibDB::GetFieldBicubic(), DMagneticFieldMapFineMesh::GetFieldGradient(), DMagneticFieldMapPS2DMap::GetFieldGradient(), DMagneticFieldMapCalibDB::GetFieldGradient(), DRootGeom::InitTable(), DMagneticFieldMapFineMesh::InterpolateField(), main(), ParseCommandLineArgs(), ParseCommandLineArguments(), DMagneticFieldMapFineMesh::ReadMap(), DMagneticFieldMapCalibDB::ReadMap(), DMagneticFieldMapPS2DMap::ReadMap(), and DRootGeom::ReadMap().
double Phimax = 0.0 |
Definition at line 33 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
double Phimin = 0.0 |
Definition at line 32 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
double Rmax = 81.0*2.54 |
Definition at line 30 of file bfield2root.cc.
Referenced by main(), ParseCommandLineArgs(), and DQuickFit::QuickPtrans().
double Rmin = 1.0*2.54 |
Definition at line 29 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
int32_t RUN_NUMBER = 30000 |
Definition at line 23 of file bfield2root.cc.
double Z0 = 0.0 |
Definition at line 37 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
double Zmax = 274.0*2.54 |
Definition at line 36 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().
double Zmin = -126.0*2.54 |
Definition at line 35 of file bfield2root.cc.
Referenced by main(), and ParseCommandLineArgs().