Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DicomBeamWedge Class Reference

#include <DicomBeamWedge.hh>

Public Member Functions

 DicomBeamWedge (DRTWedgeSequence::Item bcompItem)
 
 ~DicomBeamWedge ()
 
void Print (std::ostream &out)
 
void DumpToFile (std::ofstream &out)
 

Detailed Description

Definition at line 34 of file DicomBeamWedge.hh.

Constructor & Destructor Documentation

DicomBeamWedge::DicomBeamWedge ( DRTWedgeSequence::Item  bcompItem)

Definition at line 32 of file DicomBeamWedge.cc.

33 {
34  OFString fstr;
35  Sint32 fint;
36  Float64 ffloat;
37  OFVector<Float64> fvfloat;
38  OFCondition cond;
39  G4cout << " DicomBeamWedge::DicomBeamWedge " << G4endl;
40 
41  bwItem.getWedgeID(fstr);
42  bwItem.getWedgeNumber(fint);
43  theWedgeNumber = fint;
44  G4cout << " Number " << fint << G4endl;
45  bwItem.getWedgeType(fstr);
46  bwItem.getSourceToWedgeTrayDistance(ffloat);
47  theSourceToWedgeTrayDistance = ffloat;
48  bwItem.getWedgeAngle(fint);
49  theWedgeAngle = fint;
50  bwItem.getWedgeFactor(ffloat);
51  bwItem.getWedgeOrientation(ffloat);
52 
53 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
DicomBeamWedge::~DicomBeamWedge ( )
inline

Definition at line 38 of file DicomBeamWedge.hh.

38 {};

Member Function Documentation

void DicomBeamWedge::DumpToFile ( std::ofstream &  out)

Definition at line 62 of file DicomBeamWedge.cc.

63 {
64  std::string name = ":P WEDGE_" + G4UIcommand::ConvertToString(theWedgeNumber) + "_";
65 
66  fout << name << "SourceToWedgeTrayDistance " << theSourceToWedgeTrayDistance << G4endl;
67 
68  fout << name << "WedgeAngle " << theWedgeAngle << G4endl;
69 
70 }
const XML_Char * name
Definition: expat.h:151
static G4String ConvertToString(G4bool boolVal)
Definition: G4UIcommand.cc:372
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void DicomBeamWedge::Print ( std::ostream &  out)

Definition at line 56 of file DicomBeamWedge.cc.

57 {
58 
59 }

The documentation for this class was generated from the following files: