BLCMDpillbox.cc File Reference

#include <vector>
#include <stdio.h>
#include "G4VisAttributes.hh"
#include "G4Tubs.hh"
#include "G4LogicalVolume.hh"
#include "G4VPhysicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4Color.hh"
#include "G4UserLimits.hh"
#include "G4Track.hh"
#include "G4Step.hh"
#include "G4SteppingManager.hh"
#include "G4Material.hh"
#include "gsl/gsl_sf_bessel.h"
#include "BLElement.hh"
#include "BLElementField.hh"
#include "BLGlobalField.hh"
#include "BLManager.hh"
#include "BLParam.hh"
#include "BLFieldMap.hh"
#include "BLTune.hh"
#include "BLKillTrack.hh"

Classes

class  PillboxField
 PillboxField represents one placement of a pillbox. More...
class  BLCMDpillbox
 BLCMDpillbox implements a pillbox. More...

Functions

void g4bl_exit (int)
bool isUndetermined (G4double v)

Variables

const double UNDETERMINED = -4.7e21
const G4int ITERATION_LIMIT = 10
BLCMDpillbox defaultPillbox


Function Documentation

void g4bl_exit ( int   ) 

00058 {
00059         // Instead of deleting things, just open the geometry to avoid 
00060         // warnings when exit() is called.
00061         G4GeometryManager::GetInstance()->OpenGeometry();
00062 
00063         fflush(stdout);
00064         exit(value);
00065 }

bool isUndetermined ( G4double  v  )  [inline]

References UNDETERMINED.

Referenced by PillboxField::PillboxField().

00048 { return v == UNDETERMINED; }


Variable Documentation

const double UNDETERMINED = -4.7e21

const G4int ITERATION_LIMIT = 10

g4beamline