00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #ifndef G4ParameterisationTubsRho_H
00044 #define G4ParameterisationTubsRho_H 1
00045
00046 #include "G4VDivisionParameterisation.hh"
00047
00048 class G4VPhysicalVolume;
00049
00050
00051
00052 class G4Trd;
00053 class G4Trap;
00054 class G4Cons;
00055 class G4Sphere;
00056 class G4Orb;
00057 class G4Torus;
00058 class G4Para;
00059 class G4Hype;
00060 class G4Polycone;
00061 class G4Polyhedra;
00062
00063 class G4VParameterisationTubs : public G4VDivisionParameterisation
00064 {
00065 public:
00066
00067 G4VParameterisationTubs( EAxis axis, G4int nCopies,
00068 G4double offset, G4double step,
00069 G4VSolid* msolid, DivisionType divType );
00070
00071 virtual ~G4VParameterisationTubs();
00072 };
00073
00074 class G4ParameterisationTubsRho : public G4VParameterisationTubs
00075 {
00076 public:
00077
00078 G4ParameterisationTubsRho( EAxis axis, G4int nCopies,
00079 G4double offset, G4double step,
00080 G4VSolid* motherSolid, DivisionType divType );
00081 ~G4ParameterisationTubsRho();
00082
00083 G4double GetMaxParameter() const;
00084
00085 void ComputeTransformation(const G4int copyNo,
00086 G4VPhysicalVolume* physVol) const;
00087 void ComputeDimensions(G4Tubs& tubs, const G4int copyNo,
00088 const G4VPhysicalVolume* physVol) const;
00089
00090 private:
00091
00092 void ComputeDimensions (G4Trd&,const G4int,
00093 const G4VPhysicalVolume*) const {}
00094 void ComputeDimensions (G4Trap&,const G4int,
00095 const G4VPhysicalVolume*) const {}
00096 void ComputeDimensions (G4Box&,const G4int,
00097 const G4VPhysicalVolume*) const {}
00098 void ComputeDimensions (G4Sphere&,const G4int,
00099 const G4VPhysicalVolume*) const {}
00100 void ComputeDimensions (G4Orb&,const G4int,
00101 const G4VPhysicalVolume*) const {}
00102 void ComputeDimensions (G4Torus&,const G4int,
00103 const G4VPhysicalVolume*) const {}
00104 void ComputeDimensions (G4Para&,const G4int,
00105 const G4VPhysicalVolume*) const {}
00106 void ComputeDimensions (G4Hype&,const G4int,
00107 const G4VPhysicalVolume*) const {}
00108 void ComputeDimensions (G4Cons&,const G4int,
00109 const G4VPhysicalVolume*) const {}
00110 void ComputeDimensions (G4Polycone&,const G4int,
00111 const G4VPhysicalVolume*) const {}
00112 void ComputeDimensions (G4Polyhedra&,const G4int,
00113 const G4VPhysicalVolume*) const {}
00114 };
00115
00116
00117 class G4ParameterisationTubsPhi : public G4VParameterisationTubs
00118 {
00119 public:
00120
00121 G4ParameterisationTubsPhi( EAxis axis, G4int nCopies,
00122 G4double offset, G4double step,
00123 G4VSolid* motherSolid, DivisionType divType );
00124 ~G4ParameterisationTubsPhi();
00125
00126 G4double GetMaxParameter() const;
00127
00128 void ComputeTransformation(const G4int copyNo,
00129 G4VPhysicalVolume* physVol) const;
00130 void ComputeDimensions(G4Tubs& tubs, const G4int copyNo,
00131 const G4VPhysicalVolume* physVol) const;
00132
00133 private:
00134
00135 void ComputeDimensions (G4Trd&,const G4int,
00136 const G4VPhysicalVolume*) const {}
00137 void ComputeDimensions (G4Trap&,const G4int,
00138 const G4VPhysicalVolume*) const {}
00139 void ComputeDimensions (G4Box&,const G4int,
00140 const G4VPhysicalVolume*) const {}
00141 void ComputeDimensions (G4Sphere&,const G4int,
00142 const G4VPhysicalVolume*) const {}
00143 void ComputeDimensions (G4Orb&,const G4int,
00144 const G4VPhysicalVolume*) const {}
00145 void ComputeDimensions (G4Torus&,const G4int,
00146 const G4VPhysicalVolume*) const {}
00147 void ComputeDimensions (G4Para&,const G4int,
00148 const G4VPhysicalVolume*) const {}
00149 void ComputeDimensions (G4Hype&,const G4int,
00150 const G4VPhysicalVolume*) const {}
00151 void ComputeDimensions (G4Cons&,const G4int,
00152 const G4VPhysicalVolume*) const {}
00153 void ComputeDimensions (G4Polycone&,const G4int,
00154 const G4VPhysicalVolume*) const {}
00155 void ComputeDimensions (G4Polyhedra&,const G4int,
00156 const G4VPhysicalVolume*) const {}
00157 };
00158
00159
00160 class G4ParameterisationTubsZ : public G4VParameterisationTubs
00161 {
00162 public:
00163
00164 G4ParameterisationTubsZ( EAxis axis, G4int nCopies,
00165 G4double offset, G4double step,
00166 G4VSolid* motherSolid, DivisionType divType );
00167 ~G4ParameterisationTubsZ();
00168
00169 G4double GetMaxParameter() const;
00170
00171 void ComputeTransformation(const G4int copyNo,
00172 G4VPhysicalVolume* physVol) const;
00173 void ComputeDimensions(G4Tubs& tubs, const G4int copyNo,
00174 const G4VPhysicalVolume* physVol) const;
00175
00176 private:
00177
00178 void ComputeDimensions (G4Trd&,const G4int,
00179 const G4VPhysicalVolume*) const {}
00180 void ComputeDimensions (G4Trap&,const G4int,
00181 const G4VPhysicalVolume*) const {}
00182 void ComputeDimensions (G4Box&,const G4int,
00183 const G4VPhysicalVolume*) const {}
00184 void ComputeDimensions (G4Sphere&,const G4int,
00185 const G4VPhysicalVolume*) const {}
00186 void ComputeDimensions (G4Orb&,const G4int,
00187 const G4VPhysicalVolume*) const {}
00188 void ComputeDimensions (G4Torus&,const G4int,
00189 const G4VPhysicalVolume*) const {}
00190 void ComputeDimensions (G4Para&,const G4int,
00191 const G4VPhysicalVolume*) const {}
00192 void ComputeDimensions (G4Hype&,const G4int,
00193 const G4VPhysicalVolume*) const {}
00194 void ComputeDimensions (G4Cons&,const G4int,
00195 const G4VPhysicalVolume*) const {}
00196 void ComputeDimensions (G4Polycone&,const G4int,
00197 const G4VPhysicalVolume*) const {}
00198 void ComputeDimensions (G4Polyhedra&,const G4int,
00199 const G4VPhysicalVolume*) const {}
00200 };
00201
00202 #endif