Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bfield2root.cc File Reference
#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
 

Function Documentation

void ParseCommandLineArgs ( int  narg,
char *  argv[],
vector< char * > &  unused_args 
)

Definition at line 298 of file bfield2root.cc.

References _DBG_, INCLUDE_GRADIENTS, Nphi, Nr, Nz, Phimax, Phimin, Rmax, Rmin, RUN_NUMBER, Usage(), Z0, Zmax, and Zmin.

Referenced by main().

void Usage ( void  )

Variable Documentation

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().

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().