00001 #ifndef BDSTRANSFORM3D_H 00002 #define BDSTRANSFORM3D_H 00003 00004 #include "globals.hh" 00005 #include "BDSAcceleratorComponent.hh" 00006 00007 class BDSTransform3D: public BDSAcceleratorComponent 00008 { 00009 public: 00010 BDSTransform3D(G4String aName, G4double x, 00011 G4double y, G4double z, G4double phi, 00012 G4double theta, G4double psi); 00013 00014 ~BDSTransform3D(); 00015 00017 inline G4double GetDX() const; 00018 inline G4double GetDY() const; 00019 inline G4double GetDZ() const; 00021 00023 inline G4double GetDTheta() const; 00024 inline G4double GetDPsi() const; 00025 inline G4double GetDPhi() const; 00027 00028 private: 00033 virtual void BuildContainerLogicalVolume(){;}; 00034 00035 G4double dx; 00036 G4double dy; 00037 G4double dz; 00038 G4double dTheta; 00039 G4double dPsi; 00040 G4double dPhi; 00041 }; 00042 00043 inline G4double BDSTransform3D::GetDX() const 00044 {return dx;} 00045 00046 inline G4double BDSTransform3D::GetDY() const 00047 {return dy;} 00048 00049 inline G4double BDSTransform3D::GetDZ() const 00050 {return dz;} 00051 00052 inline G4double BDSTransform3D::GetDTheta() const 00053 {return dTheta;} 00054 00055 inline G4double BDSTransform3D::GetDPsi() const 00056 {return dPsi;} 00057 00058 inline G4double BDSTransform3D::GetDPhi() const 00059 {return dPhi;} 00060 00061 00062 #endif