#include <SimpleGeometryParameter.hh>
Public Member Functions | |
SimpleGeometryParameter (G4String name, G4String opt="") | |
virtual | ~SimpleGeometryParameter (void) |
virtual void | InitFromFile (G4String) |
virtual void | Calculate () |
virtual void | Dump () |
int | GetValue (G4String) |
void | Preset () |
bool | CheckInfo () |
void | DumpInfo (void) |
G4int | get_VolIndex (G4String name) |
G4int | get_VolNo () |
G4double | get_PosX (G4int VolId, G4int j=0) |
G4double | get_PosY (G4int VolId, G4int j=0) |
G4double | get_PosZ (G4int VolId, G4int j=0) |
G4String | get_name (G4int VolId) |
G4String | get_SDName (G4int VolId) |
G4String | get_MotherName (G4int VolId) |
G4String | get_material (G4int VolId) |
G4int | get_SRepNo (G4int VolId) |
G4int | get_RepNo (G4int VolId) |
G4String | get_SolidType (G4int VolId) |
G4int | get_SolidIndex (G4int VolId) |
G4double | get_Ephi (G4int VolId, G4int j=0) |
G4double | get_Etheta (G4int VolId, G4int j=0) |
G4double | get_Epsi (G4int VolId, G4int j=0) |
G4bool | get_SolidBoolean (G4int VolId) |
G4int | get_BoxNo () |
G4double | get_Box_X (G4int BoxId, G4int j=0) |
G4double | get_Box_Y (G4int BoxId, G4int j=0) |
G4double | get_Box_Z (G4int BoxId, G4int j=0) |
G4int | get_EllipticalTubeNo () |
G4double | get_EllipticalTube_X (G4int EllipticalTubeId, G4int j=0) |
G4double | get_EllipticalTube_Y (G4int EllipticalTubeId, G4int j=0) |
G4double | get_EllipticalTube_Z (G4int EllipticalTubeId, G4int j=0) |
G4int | get_TubsNo () |
G4double | get_Tubs_RMax (G4int TubsId, G4int j=0) |
G4double | get_Tubs_RMin (G4int TubsId, G4int j=0) |
G4double | get_Tubs_Length (G4int TubsId, G4int j=0) |
G4double | get_Tubs_StartAng (G4int TubsId, G4int j=0) |
G4double | get_Tubs_SpanAng (G4int TubsId, G4int j=0) |
G4int | get_TorusNo () |
G4double | get_Torus_RMax (G4int TorusId, G4int j=0) |
G4double | get_Torus_RMin (G4int TorusId, G4int j=0) |
G4double | get_Torus_Rtor (G4int TorusId, G4int j=0) |
G4double | get_Torus_StartAng (G4int TorusId, G4int j=0) |
G4double | get_Torus_SpanAng (G4int TorusId, G4int j=0) |
G4int | get_SphereNo () |
G4double | get_Sphere_RMax (G4int SphereId, G4int j=0) |
G4double | get_Sphere_RMin (G4int SphereId, G4int j=0) |
G4double | get_Sphere_StartPhi (G4int SphereId, G4int j=0) |
G4double | get_Sphere_SpanPhi (G4int SphereId, G4int j=0) |
G4double | get_Sphere_StartTheta (G4int SphereId, G4int j=0) |
G4double | get_Sphere_SpanTheta (G4int SphereId, G4int j=0) |
G4int | get_HypeNo () |
G4double | get_Hype_innerRadius (G4int HypeId, G4int j=0) |
G4double | get_Hype_outerRadius (G4int HypeId, G4int j=0) |
G4double | get_Hype_innerStereo (G4int HypeId, G4int j=0) |
G4double | get_Hype_outerStereo (G4int HypeId, G4int j=0) |
G4double | get_Hype_Length (G4int HypeId, G4int j=0) |
G4int | get_TwistedTubsNo () |
G4double | get_TwistedTubs_twistedangle (G4int TwistedTubsId, G4int j=0) |
G4double | get_TwistedTubs_endinnerrad (G4int TwistedTubsId, G4int j=0) |
G4double | get_TwistedTubs_endouterrad (G4int TwistedTubsId, G4int j=0) |
G4double | get_TwistedTubs_Length (G4int TwistedTubsId, G4int j=0) |
G4double | get_TwistedTubs_dphi (G4int TwistedTubsId, G4int j=0) |
G4int | get_ConsNo () |
G4double | get_Cons_RMax1 (G4int ConsId, G4int j=0) |
G4double | get_Cons_RMin1 (G4int ConsId, G4int j=0) |
G4double | get_Cons_RMax2 (G4int ConsId, G4int j=0) |
G4double | get_Cons_RMin2 (G4int ConsId, G4int j=0) |
G4double | get_Cons_Length (G4int ConsId, G4int j=0) |
G4double | get_Cons_StartAng (G4int ConsId, G4int j=0) |
G4double | get_Cons_SpanAng (G4int ConsId, G4int j=0) |
G4int | get_PolyconeNo () |
G4int | get_Polycone_numZ (G4int PolyconeId, G4int j=0) |
G4double | get_Polycone_RMax (G4int PolyconeId, G4int i, G4int j=0) |
G4double | get_Polycone_RMin (G4int PolyconeId, G4int i, G4int j=0) |
G4double | get_Polycone_Z (G4int PolyconeId, G4int i, G4int j=0) |
G4double | get_Polycone_StartAng (G4int PolyconeId, G4int j=0) |
G4double | get_Polycone_SpanAng (G4int PolyconeId, G4int j=0) |
G4int | get_ExtrudedSolidNo () |
G4int | get_ExtrudedSolid_numZ (G4int ExtrudedSolidId, G4int j=0) |
G4int | get_ExtrudedSolid_numP (G4int ExtrudedSolidId, G4int j=0) |
G4double | get_ExtrudedSolid_X (G4int ExtrudedSolidId, G4int i, G4int j=0) |
G4double | get_ExtrudedSolid_Y (G4int ExtrudedSolidId, G4int i, G4int j=0) |
G4double | get_ExtrudedSolid_Z (G4int ExtrudedSolidId, G4int i, G4int j=0) |
G4double | get_ExtrudedSolid_X0 (G4int ExtrudedSolidId, G4int i, G4int j=0) |
G4double | get_ExtrudedSolid_Y0 (G4int ExtrudedSolidId, G4int i, G4int j=0) |
G4double | get_ExtrudedSolid_Scale (G4int ExtrudedSolidId, G4int i, G4int j=0) |
G4String | get_BooleanSolid_type (G4int BooleanSolidId) |
G4String | get_BooleanSolid_sol1 (G4int BooleanSolidId) |
G4String | get_BooleanSolid_sol2 (G4int BooleanSolidId) |
G4double | get_BooleanSolid_Ephi (G4int BooleanSolidId, G4int j=0) |
G4double | get_BooleanSolid_Etheta (G4int BooleanSolidId, G4int j=0) |
G4double | get_BooleanSolid_Epsi (G4int BooleanSolidId, G4int j=0) |
G4double | get_BooleanSolid_PosX (G4int BooleanSolidId, G4int j=0) |
G4double | get_BooleanSolid_PosY (G4int BooleanSolidId, G4int j=0) |
G4double | get_BooleanSolid_PosZ (G4int BooleanSolidId, G4int j=0) |
bool | get_vis (G4int VolId) |
G4double | get_r (G4int VolId) |
G4double | get_g (G4int VolId) |
G4double | get_b (G4int VolId) |
G4double | get_t (G4int VolId) |
void | set_PosX (G4String type, G4int i, G4double val, G4int j=0) |
void | set_PosY (G4String type, G4int i, G4double val, G4int j=0) |
void | set_PosZ (G4String type, G4int i, G4double val, G4int j=0) |
void | set_name (G4String type, G4int i, G4String val) |
void | set_SDName (G4String type, G4int i, G4String val) |
void | set_MotherName (G4String type, G4int i, G4String val) |
void | set_material (G4String type, G4int i, G4String val) |
void | set_SRepNo (G4String type, G4int i, G4int val) |
void | set_RepNo (G4String type, G4int i, G4int val) |
void | set_Ephi (G4String type, G4int i, G4double val, G4int j=0) |
void | set_Etheta (G4String type, G4int i, G4double val, G4int j=0) |
void | set_Epsi (G4String type, G4int i, G4double val, G4int j=0) |
void | set_SolidBoolean (G4String type, G4int i, G4int val) |
void | set_name (G4String name, G4String val) |
void | set_SDName (G4String name, G4String val) |
void | set_MotherName (G4String name, G4String val) |
void | set_material (G4String name, G4String val) |
void | set_SRepNo (G4String name, G4int val) |
void | set_RepNo (G4String name, G4int val) |
void | set_SolidBoolean (G4String name, G4int val) |
void | set_PosX (G4String name, G4double val, G4int j=0) |
void | set_PosY (G4String name, G4double val, G4int j=0) |
void | set_PosZ (G4String name, G4double val, G4int j=0) |
void | set_Ephi (G4String name, G4double val, G4int j=0) |
void | set_Etheta (G4String name, G4double val, G4int j=0) |
void | set_Epsi (G4String name, G4double val, G4int j=0) |
void | set_Box_X (G4int i, G4double val, G4int j=0) |
void | set_Box_Y (G4int i, G4double val, G4int j=0) |
void | set_Box_Z (G4int i, G4double val, G4int j=0) |
void | set_Box_X (G4String name, G4double val, G4int j=0) |
void | set_Box_Y (G4String name, G4double val, G4int j=0) |
void | set_Box_Z (G4String name, G4double val, G4int j=0) |
void | set_EllipticalTube_X (G4int i, G4double val, G4int j=0) |
void | set_EllipticalTube_Y (G4int i, G4double val, G4int j=0) |
void | set_EllipticalTube_Z (G4int i, G4double val, G4int j=0) |
void | set_EllipticalTube_X (G4String name, G4double val, G4int j=0) |
void | set_EllipticalTube_Y (G4String name, G4double val, G4int j=0) |
void | set_EllipticalTube_Z (G4String name, G4double val, G4int j=0) |
void | set_Tubs_RMax (G4int i, G4double val, G4int j=0) |
void | set_Tubs_RMin (G4int i, G4double val, G4int j=0) |
void | set_Tubs_Length (G4int i, G4double val, G4int j=0) |
void | set_Tubs_StartAng (G4int i, G4double val, G4int j=0) |
void | set_Tubs_SpanAng (G4int i, G4double val, G4int j=0) |
void | set_Tubs_RMax (G4String name, G4double val, G4int j=0) |
void | set_Tubs_RMin (G4String name, G4double val, G4int j=0) |
void | set_Tubs_Length (G4String name, G4double val, G4int j=0) |
void | set_Tubs_StartAng (G4String name, G4double val, G4int j=0) |
void | set_Tubs_SpanAng (G4String name, G4double val, G4int j=0) |
void | set_Torus_RMax (G4int i, G4double val, G4int j=0) |
void | set_Torus_RMin (G4int i, G4double val, G4int j=0) |
void | set_Torus_Rtor (G4int i, G4double val, G4int j=0) |
void | set_Torus_StartAng (G4int i, G4double val, G4int j=0) |
void | set_Torus_SpanAng (G4int i, G4double val, G4int j=0) |
void | set_Torus_RMax (G4String name, G4double val, G4int j=0) |
void | set_Torus_RMin (G4String name, G4double val, G4int j=0) |
void | set_Torus_Rtor (G4String name, G4double val, G4int j=0) |
void | set_Torus_StartAng (G4String name, G4double val, G4int j=0) |
void | set_Torus_SpanAng (G4String name, G4double val, G4int j=0) |
void | set_Sphere_RMax (G4int i, G4double val, G4int j=0) |
void | set_Sphere_RMin (G4int i, G4double val, G4int j=0) |
void | set_Sphere_StartPhi (G4int i, G4double val, G4int j=0) |
void | set_Sphere_SpanPhi (G4int i, G4double val, G4int j=0) |
void | set_Sphere_StartTheta (G4int i, G4double val, G4int j=0) |
void | set_Sphere_SpanTheta (G4int i, G4double val, G4int j=0) |
void | set_Sphere_RMax (G4String name, G4double val, G4int j=0) |
void | set_Sphere_RMin (G4String name, G4double val, G4int j=0) |
void | set_Sphere_StartPhi (G4String name, G4double val, G4int j=0) |
void | set_Sphere_SpanPhi (G4String name, G4double val, G4int j=0) |
void | set_Sphere_StartTheta (G4String name, G4double val, G4int j=0) |
void | set_Sphere_SpanTheta (G4String name, G4double val, G4int j=0) |
void | set_Hype_innerRadius (G4int i, G4double val, G4int j=0) |
void | set_Hype_outerRadius (G4int i, G4double val, G4int j=0) |
void | set_Hype_innerStereo (G4int i, G4double val, G4int j=0) |
void | set_Hype_outerStereo (G4int i, G4double val, G4int j=0) |
void | set_Hype_Length (G4int i, G4double val, G4int j=0) |
void | set_Hype_innerRadius (G4String name, G4double val, G4int j=0) |
void | set_Hype_outerRadius (G4String name, G4double val, G4int j=0) |
void | set_Hype_innerStereo (G4String name, G4double val, G4int j=0) |
void | set_Hype_outerStereo (G4String name, G4double val, G4int j=0) |
void | set_Hype_Length (G4String name, G4double val, G4int j=0) |
void | set_TwistedTubs_twistedangle (G4int i, G4double val, G4int j=0) |
void | set_TwistedTubs_endinnerrad (G4int i, G4double val, G4int j=0) |
void | set_TwistedTubs_endouterrad (G4int i, G4double val, G4int j=0) |
void | set_TwistedTubs_Length (G4int i, G4double val, G4int j=0) |
void | set_TwistedTubs_dphi (G4int i, G4double val, G4int j=0) |
void | set_TwistedTubs_twistedangle (G4String name, G4double val, G4int j=0) |
void | set_TwistedTubs_endinnerrad (G4String name, G4double val, G4int j=0) |
void | set_TwistedTubs_endouterrad (G4String name, G4double val, G4int j=0) |
void | set_TwistedTubs_Length (G4String name, G4double val, G4int j=0) |
void | set_TwistedTubs_dphi (G4String name, G4double val, G4int j=0) |
void | set_Cons_RMax1 (G4int i, G4double val, G4int j=0) |
void | set_Cons_RMin1 (G4int i, G4double val, G4int j=0) |
void | set_Cons_RMax2 (G4int i, G4double val, G4int j=0) |
void | set_Cons_RMin2 (G4int i, G4double val, G4int j=0) |
void | set_Cons_Length (G4int i, G4double val, G4int j=0) |
void | set_Cons_StartAng (G4int i, G4double val, G4int j=0) |
void | set_Cons_SpanAng (G4int i, G4double val, G4int j=0) |
void | set_Cons_RMax1 (G4String name, G4double val, G4int j=0) |
void | set_Cons_RMin1 (G4String name, G4double val, G4int j=0) |
void | set_Cons_RMax2 (G4String name, G4double val, G4int j=0) |
void | set_Cons_RMin2 (G4String name, G4double val, G4int j=0) |
void | set_Cons_Length (G4String name, G4double val, G4int j=0) |
void | set_Cons_StartAng (G4String name, G4double val, G4int j=0) |
void | set_Cons_SpanAng (G4String name, G4double val, G4int j=0) |
void | set_Polycone_numZ (G4int PolyconeId, G4int val, G4int j=0) |
void | set_Polycone_RMax (G4int PolyconeId, G4int i, G4double val, G4int j=0) |
void | set_Polycone_RMin (G4int PolyconeId, G4int i, G4double val, G4int j=0) |
void | set_Polycone_Z (G4int PolyconeId, G4int i, G4double val, G4int j=0) |
void | set_Polycone_StartAng (G4int PolyconeId, G4double val, G4int j=0) |
void | set_Polycone_SpanAng (G4int PolyconeId, G4double val, G4int j=0) |
void | set_Polycone_numZ (G4String name, G4int val, G4int j=0) |
void | set_Polycone_RMax (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_Polycone_RMin (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_Polycone_Z (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_Polycone_StartAng (G4String name, G4double val, G4int j=0) |
void | set_Polycone_SpanAng (G4String name, G4double val, G4int j=0) |
void | set_ExtrudedSolid_numZ (G4int ExtrudedSolidId, G4int val, G4int j=0) |
void | set_ExtrudedSolid_numP (G4int ExtrudedSolidId, G4int val, G4int j=0) |
void | set_ExtrudedSolid_X (G4int ExtrudedSolidId, G4int i, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Y (G4int ExtrudedSolidId, G4int i, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Z (G4int ExtrudedSolidId, G4int i, G4double val, G4int j=0) |
void | set_ExtrudedSolid_X0 (G4int ExtrudedSolidId, G4int i, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Y0 (G4int ExtrudedSolidId, G4int i, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Scale (G4int ExtrudedSolidId, G4int i, G4double val, G4int j=0) |
void | set_ExtrudedSolid_numZ (G4String name, G4int val, G4int j=0) |
void | set_ExtrudedSolid_numP (G4String name, G4int val, G4int j=0) |
void | set_ExtrudedSolid_X (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Y (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Z (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_ExtrudedSolid_X0 (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Y0 (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_ExtrudedSolid_Scale (G4String name, G4int iCone, G4double val, G4int j=0) |
void | set_BooleanSolid_type (G4int BooleanSolidId, G4String val) |
void | set_BooleanSolid_sol1 (G4int BooleanSolidId, G4String val) |
void | set_BooleanSolid_sol2 (G4int BooleanSolidId, G4String val) |
void | set_BooleanSolid_Ephi (G4int BooleanSolidId, G4double val, G4int j=0) |
void | set_BooleanSolid_Etheta (G4int BooleanSolidId, G4double val, G4int j=0) |
void | set_BooleanSolid_Epsi (G4int BooleanSolidId, G4double val, G4int j=0) |
void | set_BooleanSolid_PosX (G4int BooleanSolidId, G4double val, G4int j=0) |
void | set_BooleanSolid_PosY (G4int BooleanSolidId, G4double val, G4int j=0) |
void | set_BooleanSolid_PosZ (G4int BooleanSolidId, G4double val, G4int j=0) |
void | set_BooleanSolid_type (G4String name, G4String val) |
void | set_BooleanSolid_sol1 (G4String name, G4String val) |
void | set_BooleanSolid_sol2 (G4String name, G4String val) |
void | set_BooleanSolid_Ephi (G4String name, G4double val, G4int j=0) |
void | set_BooleanSolid_Etheta (G4String name, G4double val, G4int j=0) |
void | set_BooleanSolid_Epsi (G4String name, G4double val, G4int j=0) |
void | set_BooleanSolid_PosX (G4String name, G4double val, G4int j=0) |
void | set_BooleanSolid_PosY (G4String name, G4double val, G4int j=0) |
void | set_BooleanSolid_PosZ (G4String name, G4double val, G4int j=0) |
void | set_vis (G4String type, G4int i, bool val) |
void | set_r (G4String type, G4int i, G4double val) |
void | set_g (G4String type, G4int i, G4double val) |
void | set_b (G4String type, G4int i, G4double val) |
void | set_t (G4String type, G4int i, G4double val) |
void | set_vis (G4int i, bool val) |
void | set_r (G4int i, G4double val) |
void | set_g (G4int i, G4double val) |
void | set_b (G4int i, G4double val) |
void | set_t (G4int i, G4double val) |
void | set_vis (G4String name, bool val) |
void | set_r (G4String name, G4double val) |
void | set_g (G4String name, G4double val) |
void | set_b (G4String name, G4double val) |
void | set_t (G4String name, G4double val) |
void | get_RepCont (G4String RepCont, G4int &SRepNo, G4int &RepNo) |
bool | ISEMPTY (G4String) |
void | DEBUG (G4String content, int level=1) |
bool | get_checkoverlap () |
int | get_VerboseLevel () |
G4String | get_Name () |
G4String | get_filename () |
void | set_checkoverlap (bool val) |
void | set_VerboseLevel (int val) |
void | set_GeometryParameterMessenger (MyVGeometryParameterMessenger *val) |
void | set_Name (G4String val) |
void | set_filename (G4String val) |
std::vector< G4String > | GetWords (G4String formula) |
bool | FindMacro (G4String word, G4String &value) |
void | Replace (G4String &formula, G4String word, G4String value) |
double | CalFormula (G4String formula, int iRep=0) |
G4String | ReplaceMacro (G4String formula) |
Static Public Attributes | |
static std::vector< G4String > | knownValueNames |
static std::vector< G4String > | knownValues |
Private Member Functions | |
void | ReSetVis () |
int | get_index (G4String type, G4int i) |
bool | check_VolId (int VolId) |
bool | check_BoxId (int BoxId) |
bool | check_EllipticalTubeId (int EllipticalTubeId) |
bool | check_BoxNo (int No) |
bool | check_TubsId (int TubsId) |
bool | check_TubsNo (int No) |
bool | check_TorusId (int TorusId) |
bool | check_TorusNo (int No) |
bool | check_SphereId (int SphereId) |
bool | check_SphereNo (int No) |
bool | check_HypeId (int HypeId) |
bool | check_HypeNo (int No) |
bool | check_TwistedTubsId (int TwistedTubsId) |
bool | check_TwistedTubsNo (int No) |
bool | check_ConsId (int ConsId) |
bool | check_ConsNo (int No) |
bool | check_PolyconeId (int PolyconeId) |
bool | check_PolyconeNo (int No) |
bool | check_ExtrudedSolidId (int ExtrudedSolidId) |
bool | check_ExtrudedSolidNo (int No) |
bool | check_BooleanSolidId (int BooleanSolidId) |
bool | check_BooleanSolidNo (int No) |
void | dump_general_header () |
void | dump_general_note () |
void | dump_general_value (G4int index, G4int j=0) |
Private Attributes | |
G4int | VolNo |
std::vector< G4String > | fPosX |
std::vector< G4String > | fPosY |
std::vector< G4String > | fPosZ |
std::vector< G4String > | fPosR |
std::vector< G4String > | fPosPhi |
std::vector< G4String > | fPosTheta |
std::vector< G4String > | PosType |
std::vector< std::vector < G4ThreeVector > > | Pos |
std::vector< G4String > | Name |
std::vector< G4String > | MotherName |
std::vector< G4String > | SDName |
std::vector< G4String > | Material |
std::vector< G4int > | SRepNo |
std::vector< G4int > | RepNo |
std::vector< G4String > | SolidType |
std::vector< G4int > | SolidIndex |
std::vector< std::vector < G4double > > | Ephi |
std::vector< std::vector < G4double > > | Etheta |
std::vector< std::vector < G4double > > | Epsi |
std::vector< G4String > | fEphi |
std::vector< G4String > | fEtheta |
std::vector< G4String > | fEpsi |
std::vector< G4bool > | SolidBoolean |
G4int | BoxNo |
std::vector< std::vector < G4double > > | Box_X |
std::vector< std::vector < G4double > > | Box_Y |
std::vector< std::vector < G4double > > | Box_Z |
std::vector< G4String > | fBox_X |
std::vector< G4String > | fBox_Y |
std::vector< G4String > | fBox_Z |
std::vector< G4int > | Box_GenIndex |
G4int | EllipticalTubeNo |
std::vector< std::vector < G4double > > | EllipticalTube_X |
std::vector< std::vector < G4double > > | EllipticalTube_Y |
std::vector< std::vector < G4double > > | EllipticalTube_Z |
std::vector< G4String > | fEllipticalTube_X |
std::vector< G4String > | fEllipticalTube_Y |
std::vector< G4String > | fEllipticalTube_Z |
std::vector< G4int > | EllipticalTube_GenIndex |
G4int | TubsNo |
std::vector< std::vector < G4double > > | Tubs_RMax |
std::vector< std::vector < G4double > > | Tubs_RMin |
std::vector< std::vector < G4double > > | Tubs_Length |
std::vector< std::vector < G4double > > | Tubs_StartAng |
std::vector< std::vector < G4double > > | Tubs_SpanAng |
std::vector< G4String > | fTubs_RMax |
std::vector< G4String > | fTubs_RMin |
std::vector< G4String > | fTubs_Length |
std::vector< G4String > | fTubs_StartAng |
std::vector< G4String > | fTubs_SpanAng |
std::vector< G4int > | Tubs_GenIndex |
G4int | TorusNo |
std::vector< G4String > | fTorus_RMax |
std::vector< G4String > | fTorus_RMin |
std::vector< G4String > | fTorus_Rtor |
std::vector< G4String > | fTorus_StartAng |
std::vector< G4String > | fTorus_SpanAng |
std::vector< std::vector < G4double > > | Torus_RMax |
std::vector< std::vector < G4double > > | Torus_RMin |
std::vector< std::vector < G4double > > | Torus_Rtor |
std::vector< std::vector < G4double > > | Torus_StartAng |
std::vector< std::vector < G4double > > | Torus_SpanAng |
std::vector< G4int > | Torus_GenIndex |
G4int | SphereNo |
std::vector< G4String > | fSphere_RMax |
std::vector< G4String > | fSphere_RMin |
std::vector< G4String > | fSphere_StartPhi |
std::vector< G4String > | fSphere_SpanPhi |
std::vector< G4String > | fSphere_StartTheta |
std::vector< G4String > | fSphere_SpanTheta |
std::vector< std::vector < G4double > > | Sphere_RMax |
std::vector< std::vector < G4double > > | Sphere_RMin |
std::vector< std::vector < G4double > > | Sphere_StartPhi |
std::vector< std::vector < G4double > > | Sphere_SpanPhi |
std::vector< std::vector < G4double > > | Sphere_StartTheta |
std::vector< std::vector < G4double > > | Sphere_SpanTheta |
std::vector< G4int > | Sphere_GenIndex |
G4int | HypeNo |
std::vector< G4String > | fHype_innerRadius |
std::vector< G4String > | fHype_outerRadius |
std::vector< G4String > | fHype_innerStereo |
std::vector< G4String > | fHype_outerStereo |
std::vector< G4String > | fHype_Length |
std::vector< std::vector < G4double > > | Hype_innerRadius |
std::vector< std::vector < G4double > > | Hype_outerRadius |
std::vector< std::vector < G4double > > | Hype_innerStereo |
std::vector< std::vector < G4double > > | Hype_outerStereo |
std::vector< std::vector < G4double > > | Hype_Length |
std::vector< G4int > | Hype_GenIndex |
G4int | TwistedTubsNo |
std::vector< G4String > | fTwistedTubs_twistedangle |
std::vector< G4String > | fTwistedTubs_endinnerrad |
std::vector< G4String > | fTwistedTubs_endouterrad |
std::vector< G4String > | fTwistedTubs_Length |
std::vector< G4String > | fTwistedTubs_dphi |
std::vector< std::vector < G4double > > | TwistedTubs_twistedangle |
std::vector< std::vector < G4double > > | TwistedTubs_endinnerrad |
std::vector< std::vector < G4double > > | TwistedTubs_endouterrad |
std::vector< std::vector < G4double > > | TwistedTubs_Length |
std::vector< std::vector < G4double > > | TwistedTubs_dphi |
std::vector< G4int > | TwistedTubs_GenIndex |
G4int | ConsNo |
std::vector< G4String > | fCons_RMax1 |
std::vector< G4String > | fCons_RMin1 |
std::vector< G4String > | fCons_RMax2 |
std::vector< G4String > | fCons_RMin2 |
std::vector< G4String > | fCons_Length |
std::vector< G4String > | fCons_StartAng |
std::vector< G4String > | fCons_SpanAng |
std::vector< std::vector < G4double > > | Cons_RMax1 |
std::vector< std::vector < G4double > > | Cons_RMin1 |
std::vector< std::vector < G4double > > | Cons_RMax2 |
std::vector< std::vector < G4double > > | Cons_RMin2 |
std::vector< std::vector < G4double > > | Cons_Length |
std::vector< std::vector < G4double > > | Cons_StartAng |
std::vector< std::vector < G4double > > | Cons_SpanAng |
std::vector< G4int > | Cons_GenIndex |
G4int | PolyconeNo |
std::vector< G4int > | Polycone_numZ |
std::vector< std::vector < G4String > > | fPolycone_RMax |
std::vector< std::vector < G4String > > | fPolycone_RMin |
std::vector< std::vector < G4String > > | fPolycone_Z |
std::vector< std::vector < std::vector< G4double > > > | Polycone_RMax |
std::vector< std::vector < std::vector< G4double > > > | Polycone_RMin |
std::vector< std::vector < std::vector< G4double > > > | Polycone_Z |
std::vector< G4String > | fPolycone_StartAng |
std::vector< G4String > | fPolycone_SpanAng |
std::vector< std::vector < G4double > > | Polycone_StartAng |
std::vector< std::vector < G4double > > | Polycone_SpanAng |
std::vector< G4int > | Polycone_GenIndex |
G4int | waited_Polycone_iVol |
G4int | achieved_componets_Polycone |
G4int | ExtrudedSolidNo |
std::vector< G4int > | ExtrudedSolid_numZ |
std::vector< G4int > | ExtrudedSolid_numP |
std::vector< std::vector < G4String > > | fExtrudedSolid_X |
std::vector< std::vector < G4String > > | fExtrudedSolid_Y |
std::vector< std::vector < G4String > > | fExtrudedSolid_Z |
std::vector< std::vector < G4String > > | fExtrudedSolid_X0 |
std::vector< std::vector < G4String > > | fExtrudedSolid_Y0 |
std::vector< std::vector < G4String > > | fExtrudedSolid_Scale |
std::vector< std::vector < std::vector< G4double > > > | ExtrudedSolid_X |
std::vector< std::vector < std::vector< G4double > > > | ExtrudedSolid_Y |
std::vector< std::vector < std::vector< G4double > > > | ExtrudedSolid_Z |
std::vector< std::vector < std::vector< G4double > > > | ExtrudedSolid_X0 |
std::vector< std::vector < std::vector< G4double > > > | ExtrudedSolid_Y0 |
std::vector< std::vector < std::vector< G4double > > > | ExtrudedSolid_Scale |
std::vector< G4int > | ExtrudedSolid_GenIndex |
G4int | waited_ExtrudedSolid_iVol |
G4int | achieved_P_ExtrudedSolid |
G4int | achieved_Z_ExtrudedSolid |
G4int | BooleanSolidNo |
std::vector< G4String > | BooleanSolid_type |
std::vector< G4String > | BooleanSolid_sol1 |
std::vector< G4String > | BooleanSolid_sol2 |
std::vector< G4int > | BooleanSolid_GenIndex |
std::vector< std::vector < G4double > > | BooleanSolid_Ephi |
std::vector< std::vector < G4double > > | BooleanSolid_Etheta |
std::vector< std::vector < G4double > > | BooleanSolid_Epsi |
std::vector< std::vector < G4ThreeVector > > | BooleanSolid_Pos |
std::vector< G4String > | fBooleanSolid_Ephi |
std::vector< G4String > | fBooleanSolid_Etheta |
std::vector< G4String > | fBooleanSolid_Epsi |
std::vector< G4String > | fBooleanSolid_PosX |
std::vector< G4String > | fBooleanSolid_PosY |
std::vector< G4String > | fBooleanSolid_PosZ |
std::vector< G4String > | fBooleanSolid_PosTheta |
std::vector< G4String > | fBooleanSolid_PosPhi |
std::vector< G4String > | fBooleanSolid_PosR |
std::vector< G4String > | BooleanSolid_PosType |
std::vector< bool > | vVis |
std::vector< G4double > | vR |
std::vector< G4double > | vG |
std::vector< G4double > | vB |
std::vector< G4double > | vT |
bool | notReSetVis |
Definition at line 24 of file SimpleGeometryParameter.hh.
SimpleGeometryParameter::SimpleGeometryParameter | ( | G4String | name, | |
G4String | opt = "" | |||
) |
Definition at line 23 of file SimpleGeometryParameter.cc.
References MyVGeometryParameter::set_GeometryParameterMessenger().
00024 : MyVGeometryParameter(name, "S") // Use a not-empty opt to stop inherited class from creating new GeometryParameterMessenger 00025 { 00026 if ( opt == "" ){ 00027 SimpleGeometryParameterMessenger *pointer = new SimpleGeometryParameterMessenger(this, name); 00028 // std::cout<<"======>In SimpleGeometryParameter, new SimpleGeometryParameterMessenger at ("<<(void*)pointer<<")!"<<std::endl; 00029 set_GeometryParameterMessenger(pointer); 00030 } 00031 }
SimpleGeometryParameter::~SimpleGeometryParameter | ( | void | ) | [virtual] |
Definition at line 33 of file SimpleGeometryParameter.cc.
void SimpleGeometryParameter::Calculate | ( | ) | [virtual] |
Reimplemented from MyVGeometryParameter.
Definition at line 68 of file SimpleGeometryParameter.cc.
References BooleanSolid_Ephi, BooleanSolid_Epsi, BooleanSolid_Etheta, BooleanSolid_Pos, BooleanSolid_PosType, Box_X, Box_Y, Box_Z, MyConfigure::CalFormula(), Cons_Length, Cons_RMax1, Cons_RMax2, Cons_RMin1, Cons_RMin2, Cons_SpanAng, Cons_StartAng, EllipticalTube_X, EllipticalTube_Y, EllipticalTube_Z, Ephi, Epsi, Etheta, ExtrudedSolid_numP, ExtrudedSolid_numZ, ExtrudedSolid_Scale, ExtrudedSolid_X, ExtrudedSolid_X0, ExtrudedSolid_Y, ExtrudedSolid_Y0, ExtrudedSolid_Z, fBooleanSolid_Ephi, fBooleanSolid_Epsi, fBooleanSolid_Etheta, fBooleanSolid_PosPhi, fBooleanSolid_PosR, fBooleanSolid_PosTheta, fBooleanSolid_PosX, fBooleanSolid_PosY, fBooleanSolid_PosZ, fBox_X, fBox_Y, fBox_Z, fCons_Length, fCons_RMax1, fCons_RMax2, fCons_RMin1, fCons_RMin2, fCons_SpanAng, fCons_StartAng, fEllipticalTube_X, fEllipticalTube_Y, fEllipticalTube_Z, fEphi, fEpsi, fEtheta, fExtrudedSolid_Scale, fExtrudedSolid_X, fExtrudedSolid_X0, fExtrudedSolid_Y, fExtrudedSolid_Y0, fExtrudedSolid_Z, fHype_innerRadius, fHype_innerStereo, fHype_Length, fHype_outerRadius, fHype_outerStereo, fPolycone_RMax, fPolycone_RMin, fPolycone_SpanAng, fPolycone_StartAng, fPolycone_Z, fPosPhi, fPosR, fPosTheta, fPosX, fPosY, fPosZ, fSphere_RMax, fSphere_RMin, fSphere_SpanPhi, fSphere_SpanTheta, fSphere_StartPhi, fSphere_StartTheta, fTorus_RMax, fTorus_RMin, fTorus_Rtor, fTorus_SpanAng, fTorus_StartAng, fTubs_Length, fTubs_RMax, fTubs_RMin, fTubs_SpanAng, fTubs_StartAng, fTwistedTubs_dphi, fTwistedTubs_endinnerrad, fTwistedTubs_endouterrad, fTwistedTubs_Length, fTwistedTubs_twistedangle, Hype_innerRadius, Hype_innerStereo, Hype_Length, Hype_outerRadius, Hype_outerStereo, Polycone_numZ, Polycone_RMax, Polycone_RMin, Polycone_SpanAng, Polycone_StartAng, Polycone_Z, Pos, PosType, RepNo, SolidBoolean, SolidIndex, SolidType, Sphere_RMax, Sphere_RMin, Sphere_SpanPhi, Sphere_SpanTheta, Sphere_StartPhi, Sphere_StartTheta, Torus_RMax, Torus_RMin, Torus_Rtor, Torus_SpanAng, Torus_StartAng, Tubs_Length, Tubs_RMax, Tubs_RMin, Tubs_SpanAng, Tubs_StartAng, TwistedTubs_dphi, TwistedTubs_endinnerrad, TwistedTubs_endouterrad, TwistedTubs_Length, TwistedTubs_twistedangle, and VolNo.
Referenced by InitFromFile().
00068 { 00069 // std::cout<<"In SimpleGeometryParameter::Calculate"<<std::endl; // to be deleted 00070 MyVGeometryParameter::Calculate(); 00071 for ( int VolId = 0; VolId < VolNo; VolId++ ){ 00072 std::vector<G4ThreeVector> tPos; tPos.clear(); 00073 std::vector<G4double> tEphi; tEphi.clear(); 00074 std::vector<G4double> tEtheta; tEtheta.clear(); 00075 std::vector<G4double> tEpsi; tEpsi.clear(); 00076 if (!SolidBoolean[VolId]){ 00077 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00078 tEphi.push_back(CalFormula(fEphi[VolId],RepId)*deg); 00079 tEtheta.push_back(CalFormula(fEtheta[VolId],RepId)*deg); 00080 tEpsi.push_back(CalFormula(fEpsi[VolId],RepId)*deg); 00081 G4ThreeVector vec3temp(1,1,1); 00082 if (PosType[VolId]=="Cartesian"){ 00083 vec3temp.setX(CalFormula(fPosX[VolId],RepId)*mm); 00084 vec3temp.setY(CalFormula(fPosY[VolId],RepId)*mm); 00085 vec3temp.setZ(CalFormula(fPosZ[VolId],RepId)*mm); 00086 } 00087 else if (PosType[VolId]=="Spherical"){ 00088 vec3temp.setMag(CalFormula(fPosR[VolId],RepId)*mm); 00089 vec3temp.setTheta(CalFormula(fPosTheta[VolId],RepId)*deg); 00090 vec3temp.setPhi(CalFormula(fPosPhi[VolId],RepId)*deg); 00091 } 00092 else if (PosType[VolId]=="Polar"){ 00093 vec3temp.setRho(CalFormula(fPosR[VolId],RepId)*mm); 00094 vec3temp.setZ(CalFormula(fPosZ[VolId],RepId)*mm); 00095 vec3temp.setPhi(CalFormula(fPosPhi[VolId],RepId)*deg); 00096 } 00097 tPos.push_back(vec3temp); 00098 } 00099 } 00100 Pos.push_back(tPos); 00101 Ephi.push_back(tEphi); 00102 Etheta.push_back(tEtheta); 00103 Epsi.push_back(tEpsi); 00104 int SolId = SolidIndex[VolId]; 00105 if ( SolidType[VolId] == "BooleanSolid" ){ 00106 std::vector<G4double> tBooleanSolid_Ephi; 00107 std::vector<G4double> tBooleanSolid_Etheta; 00108 std::vector<G4double> tBooleanSolid_Epsi; 00109 std::vector<G4ThreeVector> tBooleanSolid_Pos; 00110 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00111 tBooleanSolid_Ephi.push_back(CalFormula(fBooleanSolid_Ephi[SolId],RepId)*deg); 00112 tBooleanSolid_Etheta.push_back(CalFormula(fBooleanSolid_Etheta[SolId],RepId)*deg); 00113 tBooleanSolid_Epsi.push_back(CalFormula(fBooleanSolid_Epsi[SolId],RepId)*deg); 00114 G4ThreeVector vec3temp(1,1,1); 00115 if (BooleanSolid_PosType[SolId]=="Cartesian"){ 00116 vec3temp.setX(CalFormula(fBooleanSolid_PosX[SolId],RepId)*mm); 00117 vec3temp.setY(CalFormula(fBooleanSolid_PosY[SolId],RepId)*mm); 00118 vec3temp.setZ(CalFormula(fBooleanSolid_PosZ[SolId],RepId)*mm); 00119 } 00120 else if (BooleanSolid_PosType[SolId]=="Spherical"){ 00121 vec3temp.setMag(CalFormula(fBooleanSolid_PosR[SolId],RepId)*mm); 00122 vec3temp.setTheta(CalFormula(fBooleanSolid_PosTheta[SolId],RepId)*deg); 00123 vec3temp.setPhi(CalFormula(fBooleanSolid_PosPhi[SolId],RepId)*deg); 00124 } 00125 else if (BooleanSolid_PosType[SolId]=="Polar"){ 00126 vec3temp.setRho(CalFormula(fBooleanSolid_PosR[SolId],RepId)*mm); 00127 vec3temp.setZ(CalFormula(fBooleanSolid_PosZ[SolId],RepId)*mm); 00128 vec3temp.setPhi(CalFormula(fBooleanSolid_PosPhi[SolId],RepId)*deg); 00129 } 00130 tBooleanSolid_Pos.push_back(vec3temp); 00131 } 00132 BooleanSolid_Ephi.push_back(tBooleanSolid_Ephi); 00133 BooleanSolid_Etheta.push_back(tBooleanSolid_Etheta); 00134 BooleanSolid_Epsi.push_back(tBooleanSolid_Epsi); 00135 BooleanSolid_Pos.push_back(tBooleanSolid_Pos); 00136 } 00137 else if ( SolidType[VolId] == "Box" ){ 00138 std::vector<G4double> tBox_X; tBox_X.clear(); 00139 std::vector<G4double> tBox_Y; tBox_Y.clear(); 00140 std::vector<G4double> tBox_Z; tBox_Z.clear(); 00141 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00142 tBox_X.push_back(CalFormula(fBox_X[SolId],RepId)*mm); 00143 tBox_Y.push_back(CalFormula(fBox_Y[SolId],RepId)*mm); 00144 tBox_Z.push_back(CalFormula(fBox_Z[SolId],RepId)*mm); 00145 } 00146 Box_X.push_back(tBox_X); 00147 Box_Y.push_back(tBox_Y); 00148 Box_Z.push_back(tBox_Z); 00149 } 00150 else if ( SolidType[VolId] == "EllipticalTube" ){ 00151 std::vector<G4double> tEllipticalTube_X; tEllipticalTube_X.clear(); 00152 std::vector<G4double> tEllipticalTube_Y; tEllipticalTube_Y.clear(); 00153 std::vector<G4double> tEllipticalTube_Z; tEllipticalTube_Z.clear(); 00154 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00155 tEllipticalTube_X.push_back(CalFormula(fEllipticalTube_X[SolId],RepId)*mm); 00156 tEllipticalTube_Y.push_back(CalFormula(fEllipticalTube_Y[SolId],RepId)*mm); 00157 tEllipticalTube_Z.push_back(CalFormula(fEllipticalTube_Z[SolId],RepId)*mm); 00158 } 00159 EllipticalTube_X.push_back(tEllipticalTube_X); 00160 EllipticalTube_Y.push_back(tEllipticalTube_Y); 00161 EllipticalTube_Z.push_back(tEllipticalTube_Z); 00162 } 00163 else if ( SolidType[VolId] == "Tubs" ){ 00164 std::vector<G4double> tTubs_RMax; 00165 std::vector<G4double> tTubs_RMin; 00166 std::vector<G4double> tTubs_Length; 00167 std::vector<G4double> tTubs_StartAng; 00168 std::vector<G4double> tTubs_SpanAng; 00169 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00170 tTubs_RMax.push_back(CalFormula(fTubs_RMax[SolId],RepId)*mm); 00171 tTubs_RMin.push_back(CalFormula(fTubs_RMin[SolId],RepId)*mm); 00172 tTubs_Length.push_back(CalFormula(fTubs_Length[SolId],RepId)*mm); 00173 tTubs_StartAng.push_back(CalFormula(fTubs_StartAng[SolId],RepId)*deg); 00174 tTubs_SpanAng.push_back(CalFormula(fTubs_SpanAng[SolId],RepId)*deg); 00175 } 00176 Tubs_RMax.push_back(tTubs_RMax); 00177 Tubs_RMin.push_back(tTubs_RMin); 00178 Tubs_Length.push_back(tTubs_Length); 00179 Tubs_StartAng.push_back(tTubs_StartAng); 00180 Tubs_SpanAng.push_back(tTubs_SpanAng); 00181 } 00182 else if( SolidType[VolId] == "Torus" ){ 00183 std::vector<G4double> tTorus_RMax; 00184 std::vector<G4double> tTorus_RMin; 00185 std::vector<G4double> tTorus_Rtor; 00186 std::vector<G4double> tTorus_StartAng; 00187 std::vector<G4double> tTorus_SpanAng; 00188 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00189 tTorus_RMax.push_back(CalFormula(fTorus_RMax[SolId],RepId)*mm); 00190 tTorus_RMin.push_back(CalFormula(fTorus_RMin[SolId],RepId)*mm); 00191 tTorus_Rtor.push_back(CalFormula(fTorus_Rtor[SolId],RepId)*mm); 00192 tTorus_StartAng.push_back(CalFormula(fTorus_StartAng[SolId],RepId)*deg); 00193 tTorus_SpanAng.push_back(CalFormula(fTorus_SpanAng[SolId],RepId)*deg); 00194 } 00195 Torus_RMax.push_back(tTorus_RMax); 00196 Torus_RMin.push_back(tTorus_RMin); 00197 Torus_Rtor.push_back(tTorus_Rtor); 00198 Torus_StartAng.push_back(tTorus_StartAng); 00199 Torus_SpanAng.push_back(tTorus_SpanAng); 00200 } 00201 else if( SolidType[VolId] == "Sphere" ){ 00202 std::vector<G4double> tSphere_RMax; 00203 std::vector<G4double> tSphere_RMin; 00204 std::vector<G4double> tSphere_StartPhi; 00205 std::vector<G4double> tSphere_SpanPhi; 00206 std::vector<G4double> tSphere_StartTheta; 00207 std::vector<G4double> tSphere_SpanTheta; 00208 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00209 tSphere_RMax.push_back(CalFormula(fSphere_RMax[SolId],RepId)*mm); 00210 tSphere_RMin.push_back(CalFormula(fSphere_RMin[SolId],RepId)*mm); 00211 tSphere_StartPhi.push_back(CalFormula(fSphere_StartPhi[SolId],RepId)*deg); 00212 tSphere_SpanPhi.push_back(CalFormula(fSphere_SpanPhi[SolId],RepId)*deg); 00213 tSphere_StartTheta.push_back(CalFormula(fSphere_StartTheta[SolId],RepId)*deg); 00214 tSphere_SpanTheta.push_back(CalFormula(fSphere_SpanTheta[SolId],RepId)*deg); 00215 } 00216 Sphere_RMax.push_back(tSphere_RMax); 00217 Sphere_RMin.push_back(tSphere_RMin); 00218 Sphere_StartPhi.push_back(tSphere_StartPhi); 00219 Sphere_SpanPhi.push_back(tSphere_SpanPhi); 00220 Sphere_StartTheta.push_back(tSphere_StartTheta); 00221 Sphere_SpanTheta.push_back(tSphere_SpanTheta); 00222 } 00223 else if( SolidType[VolId] == "Hype" ){ 00224 std::vector<G4double> tHype_innerRadius; 00225 std::vector<G4double> tHype_outerRadius; 00226 std::vector<G4double> tHype_innerStereo; 00227 std::vector<G4double> tHype_outerStereo; 00228 std::vector<G4double> tHype_Length; 00229 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00230 tHype_innerRadius.push_back(CalFormula(fHype_innerRadius[SolId],RepId)*mm); 00231 tHype_outerRadius.push_back(CalFormula(fHype_outerRadius[SolId],RepId)*mm); 00232 tHype_innerStereo.push_back(CalFormula(fHype_innerStereo[SolId],RepId)*deg); 00233 tHype_outerStereo.push_back(CalFormula(fHype_outerStereo[SolId],RepId)*deg); 00234 tHype_Length.push_back(CalFormula(fHype_Length[SolId],RepId)*mm); 00235 } 00236 Hype_innerRadius.push_back(tHype_innerRadius); 00237 Hype_outerRadius.push_back(tHype_outerRadius); 00238 Hype_innerStereo.push_back(tHype_innerStereo); 00239 Hype_outerStereo.push_back(tHype_outerStereo); 00240 Hype_Length.push_back(tHype_Length); 00241 } 00242 else if( SolidType[VolId] == "TwistedTubs" ){ 00243 std::vector<G4double> tTwistedTubs_twistedangle; 00244 std::vector<G4double> tTwistedTubs_endinnerrad; 00245 std::vector<G4double> tTwistedTubs_endouterrad; 00246 std::vector<G4double> tTwistedTubs_Length; 00247 std::vector<G4double> tTwistedTubs_dphi; 00248 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00249 tTwistedTubs_twistedangle.push_back(CalFormula(fTwistedTubs_twistedangle[SolId],RepId)*deg); 00250 tTwistedTubs_endinnerrad.push_back(CalFormula(fTwistedTubs_endinnerrad[SolId],RepId)*mm); 00251 tTwistedTubs_endouterrad.push_back(CalFormula(fTwistedTubs_endouterrad[SolId],RepId)*mm); 00252 tTwistedTubs_Length.push_back(CalFormula(fTwistedTubs_Length[SolId],RepId)*mm); 00253 tTwistedTubs_dphi.push_back(CalFormula(fTwistedTubs_dphi[SolId],RepId)*deg); 00254 } 00255 TwistedTubs_twistedangle.push_back(tTwistedTubs_twistedangle); 00256 TwistedTubs_endinnerrad.push_back(tTwistedTubs_endinnerrad); 00257 TwistedTubs_endouterrad.push_back(tTwistedTubs_endouterrad); 00258 TwistedTubs_Length.push_back(tTwistedTubs_Length); 00259 TwistedTubs_dphi.push_back(tTwistedTubs_dphi); 00260 } 00261 else if( SolidType[VolId] == "Cons" ){ 00262 std::vector<G4double> tCons_RMax1; 00263 std::vector<G4double> tCons_RMin1; 00264 std::vector<G4double> tCons_RMax2; 00265 std::vector<G4double> tCons_RMin2; 00266 std::vector<G4double> tCons_Length; 00267 std::vector<G4double> tCons_StartAng; 00268 std::vector<G4double> tCons_SpanAng; 00269 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00270 tCons_RMax1.push_back(CalFormula(fCons_RMax1[SolId],RepId)*mm); 00271 tCons_RMin1.push_back(CalFormula(fCons_RMin1[SolId],RepId)*mm); 00272 tCons_RMax2.push_back(CalFormula(fCons_RMax2[SolId],RepId)*mm); 00273 tCons_RMin2.push_back(CalFormula(fCons_RMin2[SolId],RepId)*mm); 00274 tCons_Length.push_back(CalFormula(fCons_Length[SolId],RepId)*mm); 00275 tCons_StartAng.push_back(CalFormula(fCons_StartAng[SolId],RepId)*deg); 00276 tCons_SpanAng.push_back(CalFormula(fCons_SpanAng[SolId],RepId)*deg); 00277 } 00278 Cons_RMax1.push_back(tCons_RMax1); 00279 Cons_RMin1.push_back(tCons_RMin1); 00280 Cons_RMax2.push_back(tCons_RMax2); 00281 Cons_RMin2.push_back(tCons_RMin2); 00282 Cons_Length.push_back(tCons_Length); 00283 Cons_StartAng.push_back(tCons_StartAng); 00284 Cons_SpanAng.push_back(tCons_SpanAng); 00285 } 00286 else if( SolidType[VolId] == "Polycone" ){ 00287 std::vector<G4double> tPolycone_StartAng; 00288 std::vector<G4double> tPolycone_SpanAng; 00289 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00290 tPolycone_StartAng.push_back(CalFormula(fPolycone_StartAng[SolId],RepId)*deg); 00291 tPolycone_SpanAng.push_back(CalFormula(fPolycone_SpanAng[SolId],RepId)*deg); 00292 } 00293 Polycone_StartAng.push_back(tPolycone_StartAng); 00294 Polycone_SpanAng.push_back(tPolycone_SpanAng); 00295 std::vector<std::vector<G4double> > iPolycone_RMax; 00296 std::vector<std::vector<G4double> > iPolycone_RMin; 00297 std::vector<std::vector<G4double> > iPolycone_Z; 00298 for ( int ConeId = 0; ConeId < Polycone_numZ[SolId]; ConeId++ ){ 00299 std::vector<G4double> tPolycone_RMax; 00300 std::vector<G4double> tPolycone_RMin; 00301 std::vector<G4double> tPolycone_Z; 00302 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00303 tPolycone_RMax.push_back(CalFormula(fPolycone_RMax[SolId][ConeId],RepId)*mm); 00304 tPolycone_RMin.push_back(CalFormula(fPolycone_RMin[SolId][ConeId],RepId)*mm); 00305 tPolycone_Z.push_back(CalFormula(fPolycone_Z[SolId][ConeId],RepId)*mm); 00306 } 00307 iPolycone_RMax.push_back(tPolycone_RMax); 00308 iPolycone_RMin.push_back(tPolycone_RMin); 00309 iPolycone_Z.push_back(tPolycone_Z); 00310 } 00311 Polycone_RMax.push_back(iPolycone_RMax); 00312 Polycone_RMin.push_back(iPolycone_RMin); 00313 Polycone_Z.push_back(iPolycone_Z); 00314 } 00315 else if( SolidType[VolId] == "ExtrudedSolid" ){ 00316 std::vector<std::vector<G4double> > iExtrudedSolid_X; 00317 std::vector<std::vector<G4double> > iExtrudedSolid_Y; 00318 std::vector<std::vector<G4double> > iExtrudedSolid_Z; 00319 std::vector<std::vector<G4double> > iExtrudedSolid_X0; 00320 std::vector<std::vector<G4double> > iExtrudedSolid_Y0; 00321 std::vector<std::vector<G4double> > iExtrudedSolid_Scale; 00322 for ( int ConeId = 0; ConeId < ExtrudedSolid_numZ[SolId]; ConeId++ ){ 00323 std::vector<G4double> tExtrudedSolid_Z; 00324 std::vector<G4double> tExtrudedSolid_X0; 00325 std::vector<G4double> tExtrudedSolid_Y0; 00326 std::vector<G4double> tExtrudedSolid_Scale; 00327 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00328 tExtrudedSolid_Z.push_back(CalFormula(fExtrudedSolid_Z[SolId][ConeId],RepId)*mm); 00329 tExtrudedSolid_X0.push_back(CalFormula(fExtrudedSolid_X0[SolId][ConeId],RepId)*mm); 00330 tExtrudedSolid_Y0.push_back(CalFormula(fExtrudedSolid_Y0[SolId][ConeId],RepId)*mm); 00331 tExtrudedSolid_Scale.push_back(CalFormula(fExtrudedSolid_Scale[SolId][ConeId],RepId)); 00332 } 00333 iExtrudedSolid_Z.push_back(tExtrudedSolid_Z); 00334 iExtrudedSolid_X0.push_back(tExtrudedSolid_X0); 00335 iExtrudedSolid_Y0.push_back(tExtrudedSolid_Y0); 00336 iExtrudedSolid_Scale.push_back(tExtrudedSolid_Scale); 00337 } 00338 for ( int ConeId = 0; ConeId < ExtrudedSolid_numP[SolId]; ConeId++ ){ 00339 std::vector<G4double> tExtrudedSolid_X; 00340 std::vector<G4double> tExtrudedSolid_Y; 00341 for ( int RepId = 0; RepId < RepNo[VolId]; RepId++ ){ 00342 tExtrudedSolid_X.push_back(CalFormula(fExtrudedSolid_X[SolId][ConeId],RepId)*mm); 00343 tExtrudedSolid_Y.push_back(CalFormula(fExtrudedSolid_Y[SolId][ConeId],RepId)*mm); 00344 } 00345 iExtrudedSolid_X.push_back(tExtrudedSolid_X); 00346 iExtrudedSolid_Y.push_back(tExtrudedSolid_Y); 00347 } 00348 ExtrudedSolid_X.push_back(iExtrudedSolid_X); 00349 ExtrudedSolid_Y.push_back(iExtrudedSolid_Y); 00350 ExtrudedSolid_Z.push_back(iExtrudedSolid_Z); 00351 ExtrudedSolid_X0.push_back(iExtrudedSolid_X0); 00352 ExtrudedSolid_Y0.push_back(iExtrudedSolid_Y0); 00353 ExtrudedSolid_Scale.push_back(iExtrudedSolid_Scale); 00354 } 00355 } 00356 // std::cout<<"End of SimpleGeometryParameter::Calculate"<<std::endl; // to be deleted 00357 }
double MyConfigure::CalFormula | ( | G4String | formula, | |
int | iRep = 0 | |||
) | [inherited] |
Definition at line 23 of file MyConfigure.cc.
Referenced by Calculate(), and PrimaryGeneratorAction::ReadCard().
00023 { 00024 // std::cout<<"TO Calculate for: \""<<formula<<"\" "<<iRep<<std::endl; // to be deleted 00025 // formula = ReplaceMacro(formula); 00026 TF1 *f1 = new TF1("f1", formula); 00027 double value = f1->Eval(iRep); 00028 // std::cout<<"\t=>"<<value<<std::endl; 00029 delete f1; 00030 return value; 00031 }
bool SimpleGeometryParameter::check_BooleanSolidId | ( | int | BooleanSolidId | ) | [inline, private] |
Definition at line 549 of file SimpleGeometryParameter.hh.
References BooleanSolidNo.
Referenced by get_BooleanSolid_Ephi(), get_BooleanSolid_Epsi(), get_BooleanSolid_Etheta(), get_BooleanSolid_PosX(), get_BooleanSolid_PosY(), get_BooleanSolid_PosZ(), get_BooleanSolid_sol1(), get_BooleanSolid_sol2(), get_BooleanSolid_type(), get_index(), set_BooleanSolid_Ephi(), set_BooleanSolid_Epsi(), set_BooleanSolid_Etheta(), set_BooleanSolid_PosX(), set_BooleanSolid_PosY(), set_BooleanSolid_PosZ(), set_BooleanSolid_sol1(), set_BooleanSolid_sol2(), and set_BooleanSolid_type().
00549 { 00550 if ( BooleanSolidId < BooleanSolidNo ) return true; 00551 else{ 00552 std::cout<<"In SimpleGeometryParameter, BooleanSolidId is out of range! BooleanSolidId = "<<BooleanSolidId<<", BooleanSolidNo = "<<BooleanSolidNo<<std::endl; 00553 return false; 00554 } 00555 }
bool SimpleGeometryParameter::check_BooleanSolidNo | ( | int | No | ) | [inline, private] |
Definition at line 556 of file SimpleGeometryParameter.hh.
References BooleanSolidNo.
00556 { 00557 if( No != BooleanSolidNo ){ 00558 std::cout<<"In SimpleGeometryParameter::InitFromFile(), insufficient BooleanSolid info! BooleanSolidNo = "<<BooleanSolidNo<<", while only "<<No<<" BooleanSolid were found."<<std::endl; 00559 return false; 00560 } 00561 else return true; 00562 }
bool SimpleGeometryParameter::check_BoxId | ( | int | BoxId | ) | [inline, private] |
Definition at line 416 of file SimpleGeometryParameter.hh.
References BoxNo.
Referenced by get_Box_X(), get_Box_Y(), get_Box_Z(), and get_index().
bool SimpleGeometryParameter::check_BoxNo | ( | int | No | ) | [inline, private] |
Definition at line 430 of file SimpleGeometryParameter.hh.
References BoxNo.
bool SimpleGeometryParameter::check_ConsId | ( | int | ConsId | ) | [inline, private] |
Definition at line 507 of file SimpleGeometryParameter.hh.
References ConsNo.
Referenced by get_Cons_Length(), get_Cons_RMax1(), get_Cons_RMax2(), get_Cons_RMin1(), get_Cons_RMin2(), get_Cons_SpanAng(), get_Cons_StartAng(), and get_index().
bool SimpleGeometryParameter::check_ConsNo | ( | int | No | ) | [inline, private] |
Definition at line 514 of file SimpleGeometryParameter.hh.
References ConsNo.
bool SimpleGeometryParameter::check_EllipticalTubeId | ( | int | EllipticalTubeId | ) | [inline, private] |
Definition at line 423 of file SimpleGeometryParameter.hh.
References EllipticalTubeNo.
Referenced by get_EllipticalTube_X(), get_EllipticalTube_Y(), get_EllipticalTube_Z(), and get_index().
00423 { 00424 if ( EllipticalTubeId < EllipticalTubeNo ) return true; 00425 else{ 00426 std::cout<<"In SimpleGeometryParameter, EllipticalTubeId is out of range! EllipticalTubeId = "<<EllipticalTubeId<<", EllipticalTubeNo = "<<EllipticalTubeNo<<std::endl; 00427 return false; 00428 } 00429 }
bool SimpleGeometryParameter::check_ExtrudedSolidId | ( | int | ExtrudedSolidId | ) | [inline, private] |
Definition at line 535 of file SimpleGeometryParameter.hh.
References ExtrudedSolidNo.
Referenced by get_ExtrudedSolid_numP(), get_ExtrudedSolid_numZ(), get_ExtrudedSolid_Scale(), get_ExtrudedSolid_X(), get_ExtrudedSolid_X0(), get_ExtrudedSolid_Y(), get_ExtrudedSolid_Y0(), get_ExtrudedSolid_Z(), get_index(), set_ExtrudedSolid_numP(), set_ExtrudedSolid_numZ(), set_ExtrudedSolid_Scale(), set_ExtrudedSolid_X(), set_ExtrudedSolid_X0(), set_ExtrudedSolid_Y(), set_ExtrudedSolid_Y0(), and set_ExtrudedSolid_Z().
00535 { 00536 if ( ExtrudedSolidId < ExtrudedSolidNo ) return true; 00537 else{ 00538 std::cout<<"In SimpleGeometryParameter, ExtrudedSolidId is out of range! ExtrudedSolidId = "<<ExtrudedSolidId<<", ExtrudedSolidNo = "<<ExtrudedSolidNo<<std::endl; 00539 return false; 00540 } 00541 }
bool SimpleGeometryParameter::check_ExtrudedSolidNo | ( | int | No | ) | [inline, private] |
Definition at line 542 of file SimpleGeometryParameter.hh.
References ExtrudedSolidNo.
00542 { 00543 if( No != ExtrudedSolidNo ){ 00544 std::cout<<"In SimpleGeometryParameter::InitFromFile(), insufficient ExtrudedSolid info! ExtrudedSolidNo = "<<ExtrudedSolidNo<<", while only "<<No<<" ExtrudedSolid were found."<<std::endl; 00545 return false; 00546 } 00547 else return true; 00548 }
bool SimpleGeometryParameter::check_HypeId | ( | int | HypeId | ) | [inline, private] |
Definition at line 479 of file SimpleGeometryParameter.hh.
References HypeNo.
Referenced by get_Hype_innerRadius(), get_Hype_innerStereo(), get_Hype_Length(), get_Hype_outerRadius(), get_Hype_outerStereo(), and get_index().
bool SimpleGeometryParameter::check_HypeNo | ( | int | No | ) | [inline, private] |
Definition at line 486 of file SimpleGeometryParameter.hh.
References HypeNo.
bool SimpleGeometryParameter::check_PolyconeId | ( | int | PolyconeId | ) | [inline, private] |
Definition at line 521 of file SimpleGeometryParameter.hh.
References PolyconeNo.
Referenced by get_index(), get_Polycone_numZ(), get_Polycone_RMax(), get_Polycone_RMin(), get_Polycone_SpanAng(), get_Polycone_StartAng(), get_Polycone_Z(), set_Polycone_numZ(), set_Polycone_RMax(), set_Polycone_RMin(), set_Polycone_SpanAng(), set_Polycone_StartAng(), and set_Polycone_Z().
00521 { 00522 if ( PolyconeId < PolyconeNo ) return true; 00523 else{ 00524 std::cout<<"In SimpleGeometryParameter, PolyconeId is out of range! PolyconeId = "<<PolyconeId<<", PolyconeNo = "<<PolyconeNo<<std::endl; 00525 return false; 00526 } 00527 }
bool SimpleGeometryParameter::check_PolyconeNo | ( | int | No | ) | [inline, private] |
Definition at line 528 of file SimpleGeometryParameter.hh.
References PolyconeNo.
00528 { 00529 if( No != PolyconeNo ){ 00530 std::cout<<"In SimpleGeometryParameter::InitFromFile(), insufficient Polycone info! PolyconeNo = "<<PolyconeNo<<", while only "<<No<<" Polycone were found."<<std::endl; 00531 return false; 00532 } 00533 else return true; 00534 }
bool SimpleGeometryParameter::check_SphereId | ( | int | SphereId | ) | [inline, private] |
Definition at line 465 of file SimpleGeometryParameter.hh.
References SphereNo.
Referenced by get_index(), get_Sphere_RMax(), get_Sphere_RMin(), get_Sphere_SpanPhi(), get_Sphere_SpanTheta(), get_Sphere_StartPhi(), and get_Sphere_StartTheta().
bool SimpleGeometryParameter::check_SphereNo | ( | int | No | ) | [inline, private] |
Definition at line 472 of file SimpleGeometryParameter.hh.
References SphereNo.
bool SimpleGeometryParameter::check_TorusId | ( | int | TorusId | ) | [inline, private] |
Definition at line 451 of file SimpleGeometryParameter.hh.
References TorusNo.
Referenced by get_index(), get_Torus_RMax(), get_Torus_RMin(), get_Torus_Rtor(), get_Torus_SpanAng(), and get_Torus_StartAng().
bool SimpleGeometryParameter::check_TorusNo | ( | int | No | ) | [inline, private] |
Definition at line 458 of file SimpleGeometryParameter.hh.
References TorusNo.
bool SimpleGeometryParameter::check_TubsId | ( | int | TubsId | ) | [inline, private] |
Definition at line 437 of file SimpleGeometryParameter.hh.
References TubsNo.
Referenced by get_index(), get_Tubs_Length(), get_Tubs_RMax(), get_Tubs_RMin(), get_Tubs_SpanAng(), and get_Tubs_StartAng().
bool SimpleGeometryParameter::check_TubsNo | ( | int | No | ) | [inline, private] |
Definition at line 444 of file SimpleGeometryParameter.hh.
References TubsNo.
bool SimpleGeometryParameter::check_TwistedTubsId | ( | int | TwistedTubsId | ) | [inline, private] |
Definition at line 493 of file SimpleGeometryParameter.hh.
References TwistedTubsNo.
Referenced by get_index(), get_TwistedTubs_dphi(), get_TwistedTubs_endinnerrad(), get_TwistedTubs_endouterrad(), get_TwistedTubs_Length(), and get_TwistedTubs_twistedangle().
00493 { 00494 if ( TwistedTubsId < TwistedTubsNo ) return true; 00495 else{ 00496 std::cout<<"In SimpleGeometryParameter, TwistedTubsId is out of range! TwistedTubsId = "<<TwistedTubsId<<", TwistedTubsNo = "<<TwistedTubsNo<<std::endl; 00497 return false; 00498 } 00499 }
bool SimpleGeometryParameter::check_TwistedTubsNo | ( | int | No | ) | [inline, private] |
Definition at line 500 of file SimpleGeometryParameter.hh.
References TwistedTubsNo.
00500 { 00501 if( No != TwistedTubsNo ){ 00502 std::cout<<"In SimpleGeometryParameter::InitFromFile(), insufficient TwistedTubs info! TwistedTubsNo = "<<TwistedTubsNo<<", while only "<<No<<" TwistedTubs were found."<<std::endl; 00503 return false; 00504 } 00505 else return true; 00506 }
bool SimpleGeometryParameter::check_VolId | ( | int | VolId | ) | [inline, private] |
Definition at line 409 of file SimpleGeometryParameter.hh.
References VolNo.
Referenced by get_b(), get_Ephi(), get_Epsi(), get_Etheta(), get_g(), get_material(), get_MotherName(), get_name(), get_PosX(), get_PosY(), get_PosZ(), get_r(), get_RepNo(), get_SDName(), get_SolidBoolean(), get_SolidIndex(), get_SolidType(), get_SRepNo(), get_t(), and get_vis().
bool SimpleGeometryParameter::CheckInfo | ( | ) |
Reimplemented from MyVGeometryParameter.
Definition at line 365 of file SimpleGeometryParameter.cc.
Referenced by InitFromFile().
00365 { 00366 bool flag = false;// false means no problem 00367 flag = MyVGeometryParameter::CheckInfo(); 00368 if (flag) return flag;// if something is wrong with its Parent Class, then return the status. 00369 00370 //examine 00371 return flag; 00372 }
void MyVGeometryParameter::DEBUG | ( | G4String | content, | |
int | level = 1 | |||
) | [inline, inherited] |
Definition at line 54 of file MyVGeometryParameter.hh.
Referenced by get_index(), and InitFromFile().
void SimpleGeometryParameter::Dump | ( | ) | [virtual] |
Reimplemented from MyVGeometryParameter.
Definition at line 359 of file SimpleGeometryParameter.cc.
References DumpInfo().
Referenced by SimpleGeometrySvc::SetGeometry().
00359 { 00360 DumpInfo(); 00361 }
void SimpleGeometryParameter::dump_general_header | ( | ) | [private] |
Definition at line 1459 of file SimpleGeometryParameter.cc.
Referenced by DumpInfo().
01459 { 01460 std::cout<<std::setiosflags(std::ios::left)<<std::setw(15)<<"Name" 01461 <<std::setiosflags(std::ios::left)<<std::setw(15)<<"MotherName" 01462 <<std::setiosflags(std::ios::left)<<std::setw(15)<<"Matierial" 01463 <<std::setiosflags(std::ios::left)<<std::setw(15)<<"SDName" 01464 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"PosX" 01465 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"PosY" 01466 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"PosZ" 01467 <<std::setiosflags(std::ios::left)<<std::setw(6) <<"RepNo" 01468 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Ephi" 01469 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Etheta" 01470 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Epsi"; 01471 }
void SimpleGeometryParameter::dump_general_note | ( | ) | [private] |
Definition at line 1473 of file SimpleGeometryParameter.cc.
Referenced by DumpInfo().
01473 { 01474 std::cout<<std::setiosflags(std::ios::left)<<std::setw(15)<<"" 01475 <<std::setiosflags(std::ios::left)<<std::setw(15)<<"" 01476 <<std::setiosflags(std::ios::left)<<std::setw(15)<<"" 01477 <<std::setiosflags(std::ios::left)<<std::setw(15)<<"" 01478 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01479 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01480 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01481 <<std::setiosflags(std::ios::left)<<std::setw(6) <<"" 01482 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01483 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01484 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01485 }
void SimpleGeometryParameter::dump_general_value | ( | G4int | index, | |
G4int | j = 0 | |||
) | [private] |
Definition at line 1487 of file SimpleGeometryParameter.cc.
References Ephi, Epsi, Etheta, Material, MotherName, Name, Pos, PosType, RepNo, SDName, and SolidBoolean.
Referenced by DumpInfo().
01487 { 01488 std::cout<<std::setiosflags(std::ios::left)<<std::setw(15)<<Name[index]<<" "; 01489 if (!SolidBoolean[index]){ 01490 std::cout<<std::setiosflags(std::ios::left)<<std::setw(15)<<MotherName[index]<<" " 01491 <<std::setiosflags(std::ios::left)<<std::setw(15)<<Material[index]<<" " 01492 <<std::setiosflags(std::ios::left)<<std::setw(15)<<SDName[index]<<" "; 01493 if (PosType[index]=="Cartesian"){ 01494 std::cout<<std::setiosflags(std::ios::left)<<std::setw(2) <<"C" 01495 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].x()/mm 01496 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].y()/mm 01497 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].z()/mm; 01498 } 01499 else if (PosType[index]=="Polar"){ 01500 std::cout<<std::setiosflags(std::ios::left)<<std::setw(2) <<"P" 01501 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].rho()/mm 01502 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].phi()/deg 01503 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].z()/mm; 01504 } 01505 else if (PosType[index]=="Spherical"){ 01506 std::cout<<std::setiosflags(std::ios::left)<<std::setw(2) <<"S" 01507 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].mag()/mm 01508 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].phi()/deg 01509 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Pos[index][j].theta()/deg; 01510 } 01511 std::cout<<std::setiosflags(std::ios::left)<<std::setw(6) <<RepNo[index] 01512 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Ephi[index][j]/deg 01513 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Etheta[index][j]/deg 01514 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Epsi[index][j]/deg; 01515 } 01516 else{ 01517 std::cout<<" [BOOLEANCOMPONENT!]"; 01518 } 01519 }
void SimpleGeometryParameter::DumpInfo | ( | void | ) |
Reimplemented from MyVGeometryParameter.
Definition at line 1023 of file SimpleGeometryParameter.cc.
References BooleanSolid_Ephi, BooleanSolid_Epsi, BooleanSolid_Etheta, BooleanSolid_GenIndex, BooleanSolid_Pos, BooleanSolid_PosType, BooleanSolid_sol1, BooleanSolid_sol2, BooleanSolid_type, BooleanSolidNo, Box_GenIndex, Box_X, Box_Y, Box_Z, BoxNo, Cons_GenIndex, Cons_Length, Cons_RMax1, Cons_RMax2, Cons_RMin1, Cons_RMin2, Cons_SpanAng, Cons_StartAng, ConsNo, dump_general_header(), dump_general_note(), dump_general_value(), EllipticalTube_GenIndex, EllipticalTube_X, EllipticalTube_Y, EllipticalTube_Z, EllipticalTubeNo, ExtrudedSolid_GenIndex, ExtrudedSolid_numP, ExtrudedSolid_numZ, ExtrudedSolid_Scale, ExtrudedSolid_X, ExtrudedSolid_X0, ExtrudedSolid_Y, ExtrudedSolid_Y0, ExtrudedSolid_Z, ExtrudedSolidNo, Hype_GenIndex, Hype_innerRadius, Hype_innerStereo, Hype_Length, Hype_outerRadius, Hype_outerStereo, HypeNo, Polycone_GenIndex, Polycone_numZ, Polycone_RMax, Polycone_RMin, Polycone_SpanAng, Polycone_StartAng, Polycone_Z, PolyconeNo, RepNo, Sphere_GenIndex, Sphere_RMax, Sphere_RMin, Sphere_SpanPhi, Sphere_SpanTheta, Sphere_StartPhi, Sphere_StartTheta, SphereNo, Torus_GenIndex, Torus_RMax, Torus_RMin, Torus_Rtor, Torus_SpanAng, Torus_StartAng, TorusNo, Tubs_GenIndex, Tubs_Length, Tubs_RMax, Tubs_RMin, Tubs_SpanAng, Tubs_StartAng, TubsNo, TwistedTubs_dphi, TwistedTubs_endinnerrad, TwistedTubs_endouterrad, TwistedTubs_GenIndex, TwistedTubs_Length, TwistedTubs_twistedangle, and TwistedTubsNo.
Referenced by Dump().
01023 { 01024 MyVGeometryParameter::DumpInfo();// dump info of its Parent Class first 01025 std::cout<<"------SimpleGeometry info :--------"<<std::endl; 01026 // std::cout<<std::scientific<<std::setprecision(2); 01027 for( G4int i = 0; i < BoxNo; i++ ){ 01028 if ( i == 0 ){ 01029 std::cout<<"=>Box info:"<<BoxNo<<std::endl; 01030 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01031 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"x" 01032 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"y" 01033 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"z"; 01034 dump_general_header(); 01035 std::cout<<std::endl; 01036 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01037 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01038 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01039 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm"; 01040 dump_general_note(); 01041 std::cout<<std::endl; 01042 } 01043 int index = Box_GenIndex[i]; 01044 int repNo = RepNo[index]; 01045 for ( G4int j = 0; j < repNo; j++ ){ 01046 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01047 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Box_X[i][j]/mm 01048 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Box_Y[i][j]/mm 01049 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Box_Z[i][j]/mm; 01050 dump_general_value(index,j); 01051 std::cout<<std::endl; 01052 } 01053 } 01054 for( G4int i = 0; i < EllipticalTubeNo; i++ ){ 01055 if ( i == 0 ){ 01056 std::cout<<"=>EllipticalTube info:"<<EllipticalTubeNo<<std::endl; 01057 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01058 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Dx" 01059 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Dy" 01060 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Dz"; 01061 dump_general_header(); 01062 std::cout<<std::endl; 01063 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01064 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01065 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01066 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm"; 01067 dump_general_note(); 01068 std::cout<<std::endl; 01069 } 01070 int index = EllipticalTube_GenIndex[i]; 01071 int repNo = RepNo[index]; 01072 for ( G4int j = 0; j < repNo; j++ ){ 01073 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01074 <<std::setiosflags(std::ios::left)<<std::setw(10) <<EllipticalTube_X[i][j]/mm 01075 <<std::setiosflags(std::ios::left)<<std::setw(10) <<EllipticalTube_Y[i][j]/mm 01076 <<std::setiosflags(std::ios::left)<<std::setw(10) <<EllipticalTube_Z[i][j]/mm; 01077 dump_general_value(index,j); 01078 std::cout<<std::endl; 01079 } 01080 } 01081 01082 for( G4int i = 0; i < TubsNo; i++ ){ 01083 if ( i == 0 ){ 01084 std::cout<<"=>Tubs info:"<<TubsNo<<std::endl; 01085 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01086 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMin" 01087 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMax" 01088 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Length" 01089 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"StartAng" 01090 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"SpanAng"; 01091 dump_general_header(); 01092 std::cout<<std::endl; 01093 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01094 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01095 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01096 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01097 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01098 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01099 dump_general_note(); 01100 std::cout<<std::endl; 01101 } 01102 int index = Tubs_GenIndex[i]; 01103 int repNo = RepNo[index]; 01104 for ( G4int j = 0; j < repNo; j++ ){ 01105 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01106 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Tubs_RMin[i][j]/mm 01107 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Tubs_RMax[i][j]/mm 01108 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Tubs_Length[i][j]/mm 01109 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Tubs_StartAng[i][j]/deg 01110 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Tubs_SpanAng[i][j]/deg; 01111 dump_general_value(index,j); 01112 std::cout<<std::endl; 01113 } 01114 } 01115 01116 for( G4int i = 0; i < TorusNo; i++ ){ 01117 if ( i == 0 ){ 01118 std::cout<<"=>Torus info:"<<std::endl; 01119 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01120 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMin" 01121 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMax" 01122 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Rtor" 01123 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"StartAng" 01124 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"SpanAng"; 01125 dump_general_header(); 01126 std::cout<<std::endl; 01127 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01128 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01129 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01130 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01131 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01132 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01133 dump_general_note(); 01134 std::cout<<std::endl; 01135 } 01136 int index = Torus_GenIndex[i]; 01137 int repNo = RepNo[index]; 01138 for ( G4int j = 0; j < repNo; j++ ){ 01139 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01140 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Torus_RMin[i][j]/mm 01141 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Torus_RMax[i][j]/mm 01142 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Torus_Rtor[i][j]/mm 01143 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Torus_StartAng[i][j]/deg 01144 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Torus_SpanAng[i][j]/deg; 01145 dump_general_value(index,j); 01146 std::cout<<std::endl; 01147 } 01148 } 01149 01150 for( G4int i = 0; i < SphereNo; i++ ){ 01151 if ( i == 0 ){ 01152 std::cout<<"=>Sphere info:"<<std::endl; 01153 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01154 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMin" 01155 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMax" 01156 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"StartPhi" 01157 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"SpanPhi" 01158 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"StartThe" 01159 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"SpanThe"; 01160 dump_general_header(); 01161 std::cout<<std::endl; 01162 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01163 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01164 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01165 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01166 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01167 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01168 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01169 dump_general_note(); 01170 std::cout<<std::endl; 01171 } 01172 int index = Sphere_GenIndex[i]; 01173 int repNo = RepNo[index]; 01174 for ( G4int j = 0; j < repNo; j++ ){ 01175 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01176 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Sphere_RMin[i][j]/mm 01177 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Sphere_RMax[i][j]/mm 01178 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Sphere_StartPhi[i][j]/deg 01179 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Sphere_SpanPhi[i][j]/deg 01180 <<std::setiosflags(std::ios::left)<<std::setw(10)<<Sphere_StartTheta[i][j]/deg 01181 <<std::setiosflags(std::ios::left)<<std::setw(10)<<Sphere_SpanTheta[i][j]/deg; 01182 dump_general_value(index); 01183 std::cout<<std::endl; 01184 } 01185 } 01186 01187 for( G4int i = 0; i < HypeNo; i++ ){ 01188 if ( i == 0 ){ 01189 std::cout<<"=>Hype info:"<<std::endl; 01190 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01191 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"iRadius" 01192 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"oRadius" 01193 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"iStereo" 01194 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"oStereo" 01195 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Length"; 01196 dump_general_header(); 01197 std::cout<<std::endl; 01198 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01199 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"mm" 01200 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"mm" 01201 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"deg" 01202 <<std::setiosflags(std::ios::left)<<std::setw(10)<<"deg" 01203 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm"; 01204 dump_general_note(); 01205 std::cout<<std::endl; 01206 } 01207 int index = Hype_GenIndex[i]; 01208 int repNo = RepNo[index]; 01209 for ( G4int j = 0; j < repNo; j++ ){ 01210 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01211 <<std::setiosflags(std::ios::left)<<std::setw(10)<<Hype_innerRadius[i][j]/mm 01212 <<std::setiosflags(std::ios::left)<<std::setw(10)<<Hype_outerRadius[i][j]/mm 01213 <<std::setiosflags(std::ios::left)<<std::setw(10)<<Hype_innerStereo[i][j]/deg 01214 <<std::setiosflags(std::ios::left)<<std::setw(10)<<Hype_outerStereo[i][j]/deg 01215 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Hype_Length[i][j]/mm; 01216 dump_general_value(index); 01217 std::cout<<std::endl; 01218 } 01219 } 01220 01221 for( G4int i = 0; i < TwistedTubsNo; i++ ){ 01222 if ( i == 0 ){ 01223 std::cout<<"=>TwistedTubs info:"<<std::endl; 01224 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01225 <<std::setiosflags(std::ios::left)<<std::setw(13)<<"TwistedAngle" 01226 <<std::setiosflags(std::ios::left)<<std::setw(12)<<"EndInnerRad" 01227 <<std::setiosflags(std::ios::left)<<std::setw(12)<<"EndOuterRad" 01228 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Length" 01229 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"dphi"; 01230 dump_general_header(); 01231 std::cout<<std::endl; 01232 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01233 <<std::setiosflags(std::ios::left)<<std::setw(13)<<"deg" 01234 <<std::setiosflags(std::ios::left)<<std::setw(12)<<"mm" 01235 <<std::setiosflags(std::ios::left)<<std::setw(12)<<"mm" 01236 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01237 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01238 dump_general_note(); 01239 std::cout<<std::endl; 01240 } 01241 int index = TwistedTubs_GenIndex[i]; 01242 int repNo = RepNo[index]; 01243 for ( G4int j = 0; j < repNo; j++ ){ 01244 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01245 <<std::setiosflags(std::ios::left)<<std::setw(13)<<TwistedTubs_twistedangle[i][j]/deg 01246 <<std::setiosflags(std::ios::left)<<std::setw(12)<<TwistedTubs_endinnerrad[i][j]/mm 01247 <<std::setiosflags(std::ios::left)<<std::setw(12)<<TwistedTubs_endouterrad[i][j]/mm 01248 <<std::setiosflags(std::ios::left)<<std::setw(10) <<TwistedTubs_Length[i][j]/mm 01249 <<std::setiosflags(std::ios::left)<<std::setw(10) <<TwistedTubs_dphi[i][j]/deg; 01250 dump_general_value(index); 01251 std::cout<<std::endl; 01252 } 01253 } 01254 01255 for( G4int i = 0; i < ConsNo; i++ ){ 01256 if ( i == 0 ){ 01257 std::cout<<"=>Cons info:"<<std::endl; 01258 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01259 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMin1" 01260 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMax1" 01261 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMin2" 01262 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMax2" 01263 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Length" 01264 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"StartAng" 01265 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"SpanAng"; 01266 dump_general_header(); 01267 std::cout<<std::endl; 01268 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01269 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01270 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01271 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01272 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01273 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01274 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01275 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01276 dump_general_note(); 01277 std::cout<<std::endl; 01278 } 01279 int index = Cons_GenIndex[i]; 01280 int repNo = RepNo[index]; 01281 for ( G4int j = 0; j < repNo; j++ ){ 01282 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01283 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_RMin1[i][j]/mm 01284 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_RMax1[i][j]/mm 01285 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_RMin2[i][j]/mm 01286 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_RMax2[i][j]/mm 01287 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_Length[i][j]/mm 01288 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_StartAng[i][j]/deg 01289 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Cons_SpanAng[i][j]/deg; 01290 dump_general_value(index); 01291 std::cout<<std::endl; 01292 } 01293 } 01294 01295 for( G4int i = 0; i < PolyconeNo; i++ ){ 01296 if ( i == 0 ){ 01297 std::cout<<"=>Polycone info:"<<std::endl; 01298 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01299 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"numZ" 01300 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"StartAng" 01301 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"SpanAng"; 01302 dump_general_header(); 01303 std::cout<<std::endl; 01304 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01305 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"" 01306 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01307 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01308 dump_general_note(); 01309 std::cout<<std::endl; 01310 } 01311 int index = Polycone_GenIndex[i]; 01312 int repNo = RepNo[index]; 01313 for ( G4int j = 0; j < repNo; j++ ){ 01314 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01315 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Polycone_numZ[i] 01316 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Polycone_StartAng[i][j]/deg 01317 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Polycone_SpanAng[i][j]/deg; 01318 dump_general_value(index); 01319 std::cout<<std::endl; 01320 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01321 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Z" 01322 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMin" 01323 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"RMax" 01324 <<std::endl; 01325 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01326 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01327 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01328 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01329 <<std::endl; 01330 for (int k = 0; k< Polycone_numZ[i]; k++){ 01331 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<k 01332 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Polycone_Z[i][k][j]/mm 01333 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Polycone_RMin[i][k][j]/mm 01334 <<std::setiosflags(std::ios::left)<<std::setw(10) <<Polycone_RMax[i][k][j]/mm 01335 <<std::endl; 01336 } 01337 } 01338 } 01339 for( G4int i = 0; i < ExtrudedSolidNo; i++ ){ 01340 if ( i == 0 ){ 01341 std::cout<<"=>ExtrudedSolid info:"<<std::endl; 01342 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01343 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"numZ" 01344 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"numP"; 01345 dump_general_header(); 01346 std::cout<<std::endl; 01347 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01348 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"" 01349 <<std::setiosflags(std::ios::left)<<std::setw(10) <<""; 01350 dump_general_note(); 01351 std::cout<<std::endl; 01352 } 01353 int index = ExtrudedSolid_GenIndex[i]; 01354 int repNo = RepNo[index]; 01355 for ( G4int j = 0; j < repNo; j++ ){ 01356 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01357 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_numZ[i] 01358 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_numP[i]; 01359 dump_general_value(index); 01360 std::cout<<std::endl; 01361 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01362 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Z" 01363 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"X0" 01364 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Y0" 01365 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Scale" 01366 <<std::endl; 01367 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01368 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01369 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01370 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01371 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"" 01372 <<std::endl; 01373 for (int k = 0; k< ExtrudedSolid_numZ[i]; k++){ 01374 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<k 01375 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_Z[i][k][j]/mm 01376 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_X0[i][k][j]/mm 01377 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_Y0[i][k][j]/mm 01378 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_Scale[i][k][j] 01379 <<std::endl; 01380 } 01381 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"No." 01382 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"X" 01383 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Y" 01384 <<std::endl; 01385 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<"" 01386 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01387 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01388 <<std::endl; 01389 for (int k = 0; k< ExtrudedSolid_numP[i]; k++){ 01390 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<k 01391 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_X[i][k][j]/mm 01392 <<std::setiosflags(std::ios::left)<<std::setw(10) <<ExtrudedSolid_Y[i][k][j]/mm 01393 <<std::endl; 01394 } 01395 } 01396 } 01397 for( G4int i = 0; i < BooleanSolidNo; i++ ){ 01398 if ( i == 0 ){ 01399 std::cout<<"=>BooleanSolid info:"<<BooleanSolidNo<<std::endl; 01400 std::cout<<std::setiosflags(std::ios::left)<<std::setw(10) <<"type." 01401 <<std::setiosflags(std::ios::left)<<std::setw(20) <<"solid1" 01402 <<std::setiosflags(std::ios::left)<<std::setw(20) <<"solid2" 01403 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"PosX" 01404 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"PosY" 01405 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"PosZ" 01406 <<std::setiosflags(std::ios::left)<<std::setw(6) <<"RepNo" 01407 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Ephi" 01408 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Etheta" 01409 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"Epsi"; 01410 dump_general_header(); 01411 std::cout<<std::endl; 01412 std::cout<<std::setiosflags(std::ios::left)<<std::setw(10) <<"" 01413 <<std::setiosflags(std::ios::left)<<std::setw(20) <<"" 01414 <<std::setiosflags(std::ios::left)<<std::setw(20) <<"" 01415 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01416 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01417 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"mm" 01418 <<std::setiosflags(std::ios::left)<<std::setw(6) <<"" 01419 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01420 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg" 01421 <<std::setiosflags(std::ios::left)<<std::setw(10) <<"deg"; 01422 dump_general_note(); 01423 std::cout<<std::endl; 01424 } 01425 int index = BooleanSolid_GenIndex[i]; 01426 int repNo = RepNo[index]; 01427 for ( G4int j = 0; j < repNo; j++ ){ 01428 std::cout<<std::setiosflags(std::ios::left)<<std::setw(5) <<i 01429 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_type[i] 01430 <<std::setiosflags(std::ios::left)<<std::setw(20)<<BooleanSolid_sol1[i]<<" " 01431 <<std::setiosflags(std::ios::left)<<std::setw(20)<<BooleanSolid_sol2[i]<<" "; 01432 if (BooleanSolid_PosType[i]=="Cartesian"){ 01433 std::cout<<std::setiosflags(std::ios::left)<<std::setw(2) <<"C" 01434 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].x()/mm 01435 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].y()/mm 01436 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].z()/mm; 01437 } 01438 else if (BooleanSolid_PosType[i]=="Polar"){ 01439 std::cout<<std::setiosflags(std::ios::left)<<std::setw(2) <<"P" 01440 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].rho()/mm 01441 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].phi()/deg 01442 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].z()/mm; 01443 } 01444 else if (BooleanSolid_PosType[i]=="Spherical"){ 01445 std::cout<<std::setiosflags(std::ios::left)<<std::setw(2) <<"S" 01446 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].mag()/mm 01447 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].phi()/deg 01448 <<std::setiosflags(std::ios::left)<<std::setw(10) <<BooleanSolid_Pos[i][j].theta()/deg; 01449 } 01450 std::cout<<std::setiosflags(std::ios::left)<<std::setw(10) << BooleanSolid_Ephi[i][j]/deg 01451 <<std::setiosflags(std::ios::left)<<std::setw(10) << BooleanSolid_Etheta[i][j]/deg 01452 <<std::setiosflags(std::ios::left)<<std::setw(10) << BooleanSolid_Epsi[i][j]/deg; 01453 dump_general_value(index,j); 01454 std::cout<<std::endl; 01455 } 01456 } 01457 }
bool MyConfigure::FindMacro | ( | G4String | word, | |
G4String & | value | |||
) | [inherited] |
Definition at line 87 of file MyConfigure.cc.
References MyConfigure::knownValueNames, and MyConfigure::knownValues.
Referenced by MyConfigure::Replace(), and MyConfigure::ReplaceMacro().
00087 { 00088 bool found = false; 00089 for (int i = 0; i< knownValues.size(); i++){ 00090 if (knownValueNames[i]==word){ 00091 value = knownValues[i]; 00092 found = true; 00093 break; 00094 } 00095 } 00096 return found; 00097 }
G4double SimpleGeometryParameter::get_b | ( | G4int | VolId | ) | [inline] |
Definition at line 179 of file SimpleGeometryParameter.hh.
References check_VolId(), and vB.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00179 {if( check_VolId(VolId) ) return vB[VolId]; else return 0;}
G4double SimpleGeometryParameter::get_BooleanSolid_Ephi | ( | G4int | BooleanSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 168 of file SimpleGeometryParameter.hh.
References BooleanSolid_Ephi, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00168 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_Ephi[BooleanSolidId][j]; else return 0;}
G4double SimpleGeometryParameter::get_BooleanSolid_Epsi | ( | G4int | BooleanSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 170 of file SimpleGeometryParameter.hh.
References BooleanSolid_Epsi, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00170 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_Epsi[BooleanSolidId][j]; else return 0;}
G4double SimpleGeometryParameter::get_BooleanSolid_Etheta | ( | G4int | BooleanSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 169 of file SimpleGeometryParameter.hh.
References BooleanSolid_Etheta, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00169 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_Etheta[BooleanSolidId][j]; else return 0;}
G4double SimpleGeometryParameter::get_BooleanSolid_PosX | ( | G4int | BooleanSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 171 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00171 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_Pos[BooleanSolidId][j].x(); else return 0;}
G4double SimpleGeometryParameter::get_BooleanSolid_PosY | ( | G4int | BooleanSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 172 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00172 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_Pos[BooleanSolidId][j].y(); else return 0;}
G4double SimpleGeometryParameter::get_BooleanSolid_PosZ | ( | G4int | BooleanSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 173 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00173 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_Pos[BooleanSolidId][j].z(); else return 0;}
G4String SimpleGeometryParameter::get_BooleanSolid_sol1 | ( | G4int | BooleanSolidId | ) | [inline] |
Definition at line 166 of file SimpleGeometryParameter.hh.
References BooleanSolid_sol1, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00166 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_sol1[BooleanSolidId]; else return "";}
G4String SimpleGeometryParameter::get_BooleanSolid_sol2 | ( | G4int | BooleanSolidId | ) | [inline] |
Definition at line 167 of file SimpleGeometryParameter.hh.
References BooleanSolid_sol2, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00167 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_sol2[BooleanSolidId]; else return "";}
G4String SimpleGeometryParameter::get_BooleanSolid_type | ( | G4int | BooleanSolidId | ) | [inline] |
Definition at line 165 of file SimpleGeometryParameter.hh.
References BooleanSolid_type, and check_BooleanSolidId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00165 {if( check_BooleanSolidId(BooleanSolidId) ) return BooleanSolid_type[BooleanSolidId]; else return "";}
G4double SimpleGeometryParameter::get_Box_X | ( | G4int | BoxId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 83 of file SimpleGeometryParameter.hh.
References Box_X, and check_BoxId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00083 {if( check_BoxId(BoxId) ) return Box_X[BoxId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Box_Y | ( | G4int | BoxId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 84 of file SimpleGeometryParameter.hh.
References Box_Y, and check_BoxId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00084 {if( check_BoxId(BoxId) ) return Box_Y[BoxId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Box_Z | ( | G4int | BoxId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 85 of file SimpleGeometryParameter.hh.
References Box_Z, and check_BoxId().
Referenced by SimpleGeometrySvc::ConstructVolumes().
00085 {if( check_BoxId(BoxId) ) return Box_Z[BoxId][j]; else return 0;}
G4int SimpleGeometryParameter::get_BoxNo | ( | ) | [inline] |
bool MyVGeometryParameter::get_checkoverlap | ( | ) | [inline, inherited] |
Definition at line 66 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::checkoverlap.
Referenced by SimpleGeometrySvc::PlaceVolumes().
00066 {return checkoverlap;}
G4double SimpleGeometryParameter::get_Cons_Length | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 140 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_Length.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00140 {if( check_ConsId(ConsId) ) return Cons_Length[ConsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Cons_RMax1 | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 136 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_RMax1.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00136 {if( check_ConsId(ConsId) ) return Cons_RMax1[ConsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Cons_RMax2 | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 138 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_RMax2.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00138 {if( check_ConsId(ConsId) ) return Cons_RMax2[ConsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Cons_RMin1 | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 137 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_RMin1.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00137 {if( check_ConsId(ConsId) ) return Cons_RMin1[ConsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Cons_RMin2 | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 139 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_RMin2.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00139 {if( check_ConsId(ConsId) ) return Cons_RMin2[ConsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Cons_SpanAng | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 142 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_SpanAng.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00142 {if( check_ConsId(ConsId) ) return Cons_SpanAng[ConsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Cons_StartAng | ( | G4int | ConsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 141 of file SimpleGeometryParameter.hh.
References check_ConsId(), and Cons_StartAng.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00141 {if( check_ConsId(ConsId) ) return Cons_StartAng[ConsId][j]; else return 0;}
G4int SimpleGeometryParameter::get_ConsNo | ( | ) | [inline] |
Definition at line 135 of file SimpleGeometryParameter.hh.
References ConsNo.
00135 {return ConsNo;}
G4double SimpleGeometryParameter::get_EllipticalTube_X | ( | G4int | EllipticalTubeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 89 of file SimpleGeometryParameter.hh.
References check_EllipticalTubeId(), and EllipticalTube_X.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00089 {if( check_EllipticalTubeId(EllipticalTubeId) ) return EllipticalTube_X[EllipticalTubeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_EllipticalTube_Y | ( | G4int | EllipticalTubeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 90 of file SimpleGeometryParameter.hh.
References check_EllipticalTubeId(), and EllipticalTube_Y.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00090 {if( check_EllipticalTubeId(EllipticalTubeId) ) return EllipticalTube_Y[EllipticalTubeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_EllipticalTube_Z | ( | G4int | EllipticalTubeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 91 of file SimpleGeometryParameter.hh.
References check_EllipticalTubeId(), and EllipticalTube_Z.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00091 {if( check_EllipticalTubeId(EllipticalTubeId) ) return EllipticalTube_Z[EllipticalTubeId][j]; else return 0;}
G4int SimpleGeometryParameter::get_EllipticalTubeNo | ( | ) | [inline] |
Definition at line 88 of file SimpleGeometryParameter.hh.
References EllipticalTubeNo.
00088 {return EllipticalTubeNo;}
G4double SimpleGeometryParameter::get_Ephi | ( | G4int | VolId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 76 of file SimpleGeometryParameter.hh.
References check_VolId(), and Ephi.
Referenced by SimpleGeometrySvc::PlaceVolumes().
00076 {if( check_VolId(VolId) ) return Ephi[VolId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Epsi | ( | G4int | VolId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 78 of file SimpleGeometryParameter.hh.
References check_VolId(), and Epsi.
Referenced by SimpleGeometrySvc::PlaceVolumes().
00078 {if( check_VolId(VolId) ) return Epsi[VolId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Etheta | ( | G4int | VolId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 77 of file SimpleGeometryParameter.hh.
References check_VolId(), and Etheta.
Referenced by SimpleGeometrySvc::PlaceVolumes().
00077 {if( check_VolId(VolId) ) return Etheta[VolId][j]; else return 0;}
G4int SimpleGeometryParameter::get_ExtrudedSolid_numP | ( | G4int | ExtrudedSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 156 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), and ExtrudedSolid_numP.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00156 {if( check_ExtrudedSolidId(ExtrudedSolidId) ) return ExtrudedSolid_numP[ExtrudedSolidId]; else return 0;}
G4int SimpleGeometryParameter::get_ExtrudedSolid_numZ | ( | G4int | ExtrudedSolidId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 155 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), and ExtrudedSolid_numZ.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00155 {if( check_ExtrudedSolidId(ExtrudedSolidId) ) return ExtrudedSolid_numZ[ExtrudedSolidId]; else return 0;}
G4double SimpleGeometryParameter::get_ExtrudedSolid_Scale | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 162 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_Scale.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00162 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) return ExtrudedSolid_Scale[ExtrudedSolidId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_ExtrudedSolid_X | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 157 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, and ExtrudedSolid_X.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00157 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numP[ExtrudedSolidId] ) return ExtrudedSolid_X[ExtrudedSolidId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_ExtrudedSolid_X0 | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 160 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_X0.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00160 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) return ExtrudedSolid_X0[ExtrudedSolidId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_ExtrudedSolid_Y | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 158 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, and ExtrudedSolid_Y.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00158 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numP[ExtrudedSolidId] ) return ExtrudedSolid_Y[ExtrudedSolidId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_ExtrudedSolid_Y0 | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 161 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_Y0.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00161 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) return ExtrudedSolid_Y0[ExtrudedSolidId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_ExtrudedSolid_Z | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 159 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_Z.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00159 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) return ExtrudedSolid_Z[ExtrudedSolidId][i][j]; else return 0;}
G4int SimpleGeometryParameter::get_ExtrudedSolidNo | ( | ) | [inline] |
Definition at line 154 of file SimpleGeometryParameter.hh.
References ExtrudedSolidNo.
00154 {return ExtrudedSolidNo;}
G4String MyVGeometryParameter::get_filename | ( | ) | [inline, inherited] |
Definition at line 69 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::m_filename.
00069 { return m_filename; }
G4double SimpleGeometryParameter::get_g | ( | G4int | VolId | ) | [inline] |
Definition at line 178 of file SimpleGeometryParameter.hh.
References check_VolId(), and vG.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00178 {if( check_VolId(VolId) ) return vG[VolId]; else return 0;}
G4double SimpleGeometryParameter::get_Hype_innerRadius | ( | G4int | HypeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 120 of file SimpleGeometryParameter.hh.
References check_HypeId(), and Hype_innerRadius.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00120 {if( check_HypeId(HypeId) ) return Hype_innerRadius[HypeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Hype_innerStereo | ( | G4int | HypeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 122 of file SimpleGeometryParameter.hh.
References check_HypeId(), and Hype_innerStereo.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00122 {if( check_HypeId(HypeId) ) return Hype_innerStereo[HypeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Hype_Length | ( | G4int | HypeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 124 of file SimpleGeometryParameter.hh.
References check_HypeId(), and Hype_Length.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00124 {if( check_HypeId(HypeId) ) return Hype_Length[HypeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Hype_outerRadius | ( | G4int | HypeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 121 of file SimpleGeometryParameter.hh.
References check_HypeId(), and Hype_outerRadius.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00121 {if( check_HypeId(HypeId) ) return Hype_outerRadius[HypeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Hype_outerStereo | ( | G4int | HypeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 123 of file SimpleGeometryParameter.hh.
References check_HypeId(), and Hype_outerStereo.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00123 {if( check_HypeId(HypeId) ) return Hype_outerStereo[HypeId][j]; else return 0;}
G4int SimpleGeometryParameter::get_HypeNo | ( | ) | [inline] |
Definition at line 119 of file SimpleGeometryParameter.hh.
References HypeNo.
00119 {return HypeNo;}
int SimpleGeometryParameter::get_index | ( | G4String | type, | |
G4int | i | |||
) | [inline, private] |
Definition at line 391 of file SimpleGeometryParameter.hh.
References BooleanSolid_GenIndex, Box_GenIndex, check_BooleanSolidId(), check_BoxId(), check_ConsId(), check_EllipticalTubeId(), check_ExtrudedSolidId(), check_HypeId(), check_PolyconeId(), check_SphereId(), check_TorusId(), check_TubsId(), check_TwistedTubsId(), Cons_GenIndex, MyVGeometryParameter::DEBUG(), EllipticalTube_GenIndex, ExtrudedSolid_GenIndex, Hype_GenIndex, Polycone_GenIndex, Sphere_GenIndex, Torus_GenIndex, Tubs_GenIndex, and TwistedTubs_GenIndex.
Referenced by set_b(), set_Ephi(), set_Epsi(), set_Etheta(), set_g(), set_material(), set_MotherName(), set_name(), set_PosX(), set_PosY(), set_PosZ(), set_r(), set_RepNo(), set_SDName(), set_SolidBoolean(), set_SRepNo(), set_t(), and set_vis().
00391 { 00392 int k = -1; 00393 if ( type == "Box" && check_BoxId(i) ) k = Box_GenIndex[i]; 00394 else if ( type == "EllipticalTube" && check_EllipticalTubeId(i) ) k = EllipticalTube_GenIndex[i]; 00395 else if ( type == "Tubs" && check_TubsId(i) ) k = Tubs_GenIndex[i]; 00396 else if ( type == "Torus" && check_TorusId(i) ) k = Torus_GenIndex[i]; 00397 else if ( type == "Sphere" && check_SphereId(i) ) k = Sphere_GenIndex[i]; 00398 else if ( type == "Hype" && check_HypeId(i) ) k = Hype_GenIndex[i]; 00399 else if ( type == "TwistedTubs" && check_TwistedTubsId(i) ) k = TwistedTubs_GenIndex[i]; 00400 else if ( type == "Cons" && check_ConsId(i) ) k = Cons_GenIndex[i]; 00401 else if ( type == "Polycone" && check_PolyconeId(i) ) k = Polycone_GenIndex[i]; 00402 else if ( type == "ExtrudedSolid_Scale" && check_ExtrudedSolidId(i) ) k = ExtrudedSolid_GenIndex[i]; 00403 else if ( type == "BooleanSolid" && check_BooleanSolidId(i) ) k = BooleanSolid_GenIndex[i]; 00404 else DEBUG("Wrong index number or unknown volume type!"); 00405 return k; 00406 }
G4String SimpleGeometryParameter::get_material | ( | G4int | VolId | ) | [inline] |
Definition at line 71 of file SimpleGeometryParameter.hh.
References check_VolId(), and Material.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00071 {if( check_VolId(VolId) ) return Material[VolId]; else return "";}
G4String SimpleGeometryParameter::get_MotherName | ( | G4int | VolId | ) | [inline] |
Definition at line 70 of file SimpleGeometryParameter.hh.
References check_VolId(), and MotherName.
Referenced by SimpleGeometrySvc::PlaceVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00070 {if( check_VolId(VolId) ) return MotherName[VolId]; else return "";}
G4String MyVGeometryParameter::get_Name | ( | ) | [inline, inherited] |
Definition at line 68 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::m_Name.
00068 { return m_Name; }
G4String SimpleGeometryParameter::get_name | ( | G4int | VolId | ) | [inline] |
Definition at line 68 of file SimpleGeometryParameter.hh.
References check_VolId(), and Name.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and SimpleGeometrySvc::PlaceVolumes().
00068 {if( check_VolId(VolId) ) return Name[VolId]; else return "";}
G4int SimpleGeometryParameter::get_Polycone_numZ | ( | G4int | PolyconeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 146 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), and Polycone_numZ.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00146 {if( check_PolyconeId(PolyconeId) ) return Polycone_numZ[PolyconeId]; else return 0;}
G4double SimpleGeometryParameter::get_Polycone_RMax | ( | G4int | PolyconeId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 147 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), Polycone_numZ, and Polycone_RMax.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00147 {if( check_PolyconeId(PolyconeId) && i < Polycone_numZ[PolyconeId] ) return Polycone_RMax[PolyconeId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_Polycone_RMin | ( | G4int | PolyconeId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 148 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), Polycone_numZ, and Polycone_RMin.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00148 {if( check_PolyconeId(PolyconeId) && i < Polycone_numZ[PolyconeId] ) return Polycone_RMin[PolyconeId][i][j]; else return 0;}
G4double SimpleGeometryParameter::get_Polycone_SpanAng | ( | G4int | PolyconeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 151 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), and Polycone_SpanAng.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00151 {if( check_PolyconeId(PolyconeId) ) return Polycone_SpanAng[PolyconeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Polycone_StartAng | ( | G4int | PolyconeId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 150 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), and Polycone_StartAng.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00150 {if( check_PolyconeId(PolyconeId) ) return Polycone_StartAng[PolyconeId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Polycone_Z | ( | G4int | PolyconeId, | |
G4int | i, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 149 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), Polycone_numZ, and Polycone_Z.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00149 {if( check_PolyconeId(PolyconeId) && i < Polycone_numZ[PolyconeId]) return Polycone_Z[PolyconeId][i][j]; else return 0;}
G4int SimpleGeometryParameter::get_PolyconeNo | ( | ) | [inline] |
Definition at line 145 of file SimpleGeometryParameter.hh.
References PolyconeNo.
00145 {return PolyconeNo;}
G4double SimpleGeometryParameter::get_PosX | ( | G4int | VolId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 65 of file SimpleGeometryParameter.hh.
References check_VolId(), and Pos.
Referenced by SimpleGeometrySvc::PlaceVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00065 {if( check_VolId(VolId) ) return Pos[VolId][j].x(); else return 0;}
G4double SimpleGeometryParameter::get_PosY | ( | G4int | VolId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 66 of file SimpleGeometryParameter.hh.
References check_VolId(), and Pos.
Referenced by SimpleGeometrySvc::PlaceVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00066 {if( check_VolId(VolId) ) return Pos[VolId][j].y(); else return 0;}
G4double SimpleGeometryParameter::get_PosZ | ( | G4int | VolId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 67 of file SimpleGeometryParameter.hh.
References check_VolId(), and Pos.
Referenced by SimpleGeometrySvc::PlaceVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00067 {if( check_VolId(VolId) ) return Pos[VolId][j].z(); else return 0;}
G4double SimpleGeometryParameter::get_r | ( | G4int | VolId | ) | [inline] |
Definition at line 177 of file SimpleGeometryParameter.hh.
References check_VolId(), and vR.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00177 {if( check_VolId(VolId) ) return vR[VolId]; else return 0;}
void MyVGeometryParameter::get_RepCont | ( | G4String | RepCont, | |
G4int & | SRepNo, | |||
G4int & | RepNo | |||
) | [inherited] |
Definition at line 84 of file MyVGeometryParameter.cc.
References MyString2Anything::get_I().
Referenced by GetValue().
00084 { 00085 size_t sLast = RepCont.last(','); 00086 if(sLast!=G4String::npos){ 00087 G4String part1 = RepCont.substr(0,sLast); 00088 G4String part2 = RepCont.substr(sLast+1,RepCont.length()-sLast-1); 00089 MyString2Anything::get_I(part1,SRepNo); 00090 MyString2Anything::get_I(part2,RepNo); 00091 } 00092 else{ // not found 00093 sLast = RepCont.last('-'); 00094 if (sLast==G4String::npos){// not found 00095 sLast = RepCont.last('~'); 00096 } 00097 if (sLast!=G4String::npos){ 00098 G4String part1 = RepCont.substr(0,sLast); 00099 G4String part2 = RepCont.substr(sLast+1,RepCont.length()-sLast-1); 00100 MyString2Anything::get_I(part1,SRepNo); 00101 G4int endNo; 00102 MyString2Anything::get_I(part2,endNo); 00103 RepNo = endNo - SRepNo + 1; 00104 } 00105 else{// not found 00106 SRepNo = 0; 00107 MyString2Anything::get_I(RepCont,RepNo); 00108 } 00109 } 00110 // std::cout<<"in get_RepCont: \""<<RepCont<<"\" -> ("<<SRepNo<<","<<RepNo<<")"<<std::endl; // to be deleted 00111 }
G4int SimpleGeometryParameter::get_RepNo | ( | G4int | VolId | ) | [inline] |
Definition at line 73 of file SimpleGeometryParameter.hh.
References check_VolId(), and RepNo.
Referenced by SimpleGeometrySvc::ConstructVolumes(), SimpleGeometrySvc::PlaceVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00073 {if(check_VolId(VolId)) return RepNo[VolId]; else return 0;}
G4String SimpleGeometryParameter::get_SDName | ( | G4int | VolId | ) | [inline] |
Definition at line 69 of file SimpleGeometryParameter.hh.
References check_VolId(), and SDName.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00069 {if( check_VolId(VolId) ) return SDName[VolId]; else return "";}
G4bool SimpleGeometryParameter::get_SolidBoolean | ( | G4int | VolId | ) | [inline] |
Definition at line 79 of file SimpleGeometryParameter.hh.
References check_VolId(), and SolidBoolean.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and SimpleGeometrySvc::PlaceVolumes().
00079 {if( check_VolId(VolId) ) return SolidBoolean[VolId]; else return false;}
G4int SimpleGeometryParameter::get_SolidIndex | ( | G4int | VolId | ) | [inline] |
Definition at line 75 of file SimpleGeometryParameter.hh.
References check_VolId(), and SolidIndex.
Referenced by SimpleGeometrySvc::ConstructVolumes(), set_BooleanSolid_Ephi(), set_BooleanSolid_Epsi(), set_BooleanSolid_Etheta(), set_BooleanSolid_PosX(), set_BooleanSolid_PosY(), set_BooleanSolid_PosZ(), set_BooleanSolid_sol1(), set_BooleanSolid_sol2(), set_BooleanSolid_type(), set_Box_X(), set_Box_Y(), set_Box_Z(), set_Cons_Length(), set_Cons_RMax1(), set_Cons_RMax2(), set_Cons_RMin1(), set_Cons_RMin2(), set_Cons_SpanAng(), set_Cons_StartAng(), set_EllipticalTube_X(), set_EllipticalTube_Y(), set_EllipticalTube_Z(), set_ExtrudedSolid_numP(), set_ExtrudedSolid_numZ(), set_ExtrudedSolid_Scale(), set_ExtrudedSolid_X(), set_ExtrudedSolid_X0(), set_ExtrudedSolid_Y(), set_ExtrudedSolid_Y0(), set_ExtrudedSolid_Z(), set_Hype_innerRadius(), set_Hype_innerStereo(), set_Hype_Length(), set_Hype_outerRadius(), set_Hype_outerStereo(), set_Polycone_numZ(), set_Polycone_RMax(), set_Polycone_RMin(), set_Polycone_SpanAng(), set_Polycone_StartAng(), set_Polycone_Z(), set_Sphere_RMax(), set_Sphere_RMin(), set_Sphere_SpanPhi(), set_Sphere_SpanTheta(), set_Sphere_StartPhi(), set_Sphere_StartTheta(), set_Torus_RMax(), set_Torus_RMin(), set_Torus_Rtor(), set_Torus_SpanAng(), set_Torus_StartAng(), set_Tubs_Length(), set_Tubs_RMax(), set_Tubs_RMin(), set_Tubs_SpanAng(), set_Tubs_StartAng(), set_TwistedTubs_dphi(), set_TwistedTubs_endinnerrad(), set_TwistedTubs_endouterrad(), set_TwistedTubs_Length(), set_TwistedTubs_twistedangle(), and PrimaryGeneratorAction::SetUniformPosition().
00075 {if(check_VolId(VolId)) return SolidIndex[VolId]; else return 0;}
G4String SimpleGeometryParameter::get_SolidType | ( | G4int | VolId | ) | [inline] |
Definition at line 74 of file SimpleGeometryParameter.hh.
References check_VolId(), and SolidType.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00074 {if(check_VolId(VolId)) return SolidType[VolId]; else return "";}
G4double SimpleGeometryParameter::get_Sphere_RMax | ( | G4int | SphereId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 111 of file SimpleGeometryParameter.hh.
References check_SphereId(), and Sphere_RMax.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00111 {if( check_SphereId(SphereId) ) return Sphere_RMax[SphereId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Sphere_RMin | ( | G4int | SphereId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 112 of file SimpleGeometryParameter.hh.
References check_SphereId(), and Sphere_RMin.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00112 {if( check_SphereId(SphereId) ) return Sphere_RMin[SphereId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Sphere_SpanPhi | ( | G4int | SphereId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 114 of file SimpleGeometryParameter.hh.
References check_SphereId(), and Sphere_SpanPhi.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00114 {if( check_SphereId(SphereId) ) return Sphere_SpanPhi[SphereId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Sphere_SpanTheta | ( | G4int | SphereId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 116 of file SimpleGeometryParameter.hh.
References check_SphereId(), and Sphere_SpanTheta.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00116 {if( check_SphereId(SphereId) ) return Sphere_SpanTheta[SphereId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Sphere_StartPhi | ( | G4int | SphereId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 113 of file SimpleGeometryParameter.hh.
References check_SphereId(), and Sphere_StartPhi.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00113 {if( check_SphereId(SphereId) ) return Sphere_StartPhi[SphereId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Sphere_StartTheta | ( | G4int | SphereId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 115 of file SimpleGeometryParameter.hh.
References check_SphereId(), and Sphere_StartTheta.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00115 {if( check_SphereId(SphereId) ) return Sphere_StartTheta[SphereId][j]; else return 0;}
G4int SimpleGeometryParameter::get_SphereNo | ( | ) | [inline] |
Definition at line 110 of file SimpleGeometryParameter.hh.
References SphereNo.
00110 {return SphereNo;}
G4int SimpleGeometryParameter::get_SRepNo | ( | G4int | VolId | ) | [inline] |
Definition at line 72 of file SimpleGeometryParameter.hh.
References check_VolId(), and SRepNo.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and SimpleGeometrySvc::PlaceVolumes().
00072 {if(check_VolId(VolId)) return SRepNo[VolId]; else return 0;}
G4double SimpleGeometryParameter::get_t | ( | G4int | VolId | ) | [inline] |
Definition at line 180 of file SimpleGeometryParameter.hh.
References check_VolId(), and vT.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00180 {if( check_VolId(VolId) ) return vT[VolId]; else return 0;}
G4double SimpleGeometryParameter::get_Torus_RMax | ( | G4int | TorusId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 103 of file SimpleGeometryParameter.hh.
References check_TorusId(), and Torus_RMax.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00103 {if( check_TorusId(TorusId) ) return Torus_RMax[TorusId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Torus_RMin | ( | G4int | TorusId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 104 of file SimpleGeometryParameter.hh.
References check_TorusId(), and Torus_RMin.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00104 {if( check_TorusId(TorusId) ) return Torus_RMin[TorusId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Torus_Rtor | ( | G4int | TorusId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 105 of file SimpleGeometryParameter.hh.
References check_TorusId(), and Torus_Rtor.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00105 {if( check_TorusId(TorusId) ) return Torus_Rtor[TorusId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Torus_SpanAng | ( | G4int | TorusId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 107 of file SimpleGeometryParameter.hh.
References check_TorusId(), and Torus_SpanAng.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00107 {if( check_TorusId(TorusId) ) return Torus_SpanAng[TorusId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Torus_StartAng | ( | G4int | TorusId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 106 of file SimpleGeometryParameter.hh.
References check_TorusId(), and Torus_StartAng.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00106 {if( check_TorusId(TorusId) ) return Torus_StartAng[TorusId][j]; else return 0;}
G4int SimpleGeometryParameter::get_TorusNo | ( | ) | [inline] |
Definition at line 102 of file SimpleGeometryParameter.hh.
References TorusNo.
00102 {return TorusNo;}
G4double SimpleGeometryParameter::get_Tubs_Length | ( | G4int | TubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 97 of file SimpleGeometryParameter.hh.
References check_TubsId(), and Tubs_Length.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00097 {if( check_TubsId(TubsId) ) return Tubs_Length[TubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Tubs_RMax | ( | G4int | TubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 95 of file SimpleGeometryParameter.hh.
References check_TubsId(), and Tubs_RMax.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00095 {if( check_TubsId(TubsId) ) return Tubs_RMax[TubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Tubs_RMin | ( | G4int | TubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 96 of file SimpleGeometryParameter.hh.
References check_TubsId(), and Tubs_RMin.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00096 {if( check_TubsId(TubsId) ) return Tubs_RMin[TubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Tubs_SpanAng | ( | G4int | TubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 99 of file SimpleGeometryParameter.hh.
References check_TubsId(), and Tubs_SpanAng.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00099 {if( check_TubsId(TubsId) ) return Tubs_SpanAng[TubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_Tubs_StartAng | ( | G4int | TubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 98 of file SimpleGeometryParameter.hh.
References check_TubsId(), and Tubs_StartAng.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and PrimaryGeneratorAction::SetUniformPosition().
00098 {if( check_TubsId(TubsId) ) return Tubs_StartAng[TubsId][j]; else return 0;}
G4int SimpleGeometryParameter::get_TubsNo | ( | ) | [inline] |
G4double SimpleGeometryParameter::get_TwistedTubs_dphi | ( | G4int | TwistedTubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 132 of file SimpleGeometryParameter.hh.
References check_TwistedTubsId(), and TwistedTubs_dphi.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00132 {if( check_TwistedTubsId(TwistedTubsId) ) return TwistedTubs_dphi[TwistedTubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_TwistedTubs_endinnerrad | ( | G4int | TwistedTubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 129 of file SimpleGeometryParameter.hh.
References check_TwistedTubsId(), and TwistedTubs_endinnerrad.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00129 {if( check_TwistedTubsId(TwistedTubsId) ) return TwistedTubs_endinnerrad[TwistedTubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_TwistedTubs_endouterrad | ( | G4int | TwistedTubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 130 of file SimpleGeometryParameter.hh.
References check_TwistedTubsId(), and TwistedTubs_endouterrad.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00130 {if( check_TwistedTubsId(TwistedTubsId) ) return TwistedTubs_endouterrad[TwistedTubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_TwistedTubs_Length | ( | G4int | TwistedTubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 131 of file SimpleGeometryParameter.hh.
References check_TwistedTubsId(), and TwistedTubs_Length.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00131 {if( check_TwistedTubsId(TwistedTubsId) ) return TwistedTubs_Length[TwistedTubsId][j]; else return 0;}
G4double SimpleGeometryParameter::get_TwistedTubs_twistedangle | ( | G4int | TwistedTubsId, | |
G4int | j = 0 | |||
) | [inline] |
Definition at line 128 of file SimpleGeometryParameter.hh.
References check_TwistedTubsId(), and TwistedTubs_twistedangle.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00128 {if( check_TwistedTubsId(TwistedTubsId) ) return TwistedTubs_twistedangle[TwistedTubsId][j]; else return 0;}
G4int SimpleGeometryParameter::get_TwistedTubsNo | ( | ) | [inline] |
Definition at line 127 of file SimpleGeometryParameter.hh.
References TwistedTubsNo.
00127 {return TwistedTubsNo;}
int MyVGeometryParameter::get_VerboseLevel | ( | ) | [inline, inherited] |
Definition at line 67 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::fVerboseLevel.
00067 {return fVerboseLevel;}
bool SimpleGeometryParameter::get_vis | ( | G4int | VolId | ) | [inline] |
Definition at line 176 of file SimpleGeometryParameter.hh.
References check_VolId(), and vVis.
Referenced by SimpleGeometrySvc::ConstructVolumes().
00176 {if( check_VolId(VolId) ) return vVis[VolId]; else return 0;}
G4int SimpleGeometryParameter::get_VolIndex | ( | G4String | name | ) | [inline] |
Definition at line 54 of file SimpleGeometryParameter.hh.
Referenced by MyDetectorManager::GetParaFromVolume(), SimpleGeometrySvc::PlaceVolumes(), set_b(), set_BooleanSolid_Ephi(), set_BooleanSolid_Epsi(), set_BooleanSolid_Etheta(), set_BooleanSolid_PosX(), set_BooleanSolid_PosY(), set_BooleanSolid_PosZ(), set_BooleanSolid_sol1(), set_BooleanSolid_sol2(), set_BooleanSolid_type(), set_Box_X(), set_Box_Y(), set_Box_Z(), set_Cons_Length(), set_Cons_RMax1(), set_Cons_RMax2(), set_Cons_RMin1(), set_Cons_RMin2(), set_Cons_SpanAng(), set_Cons_StartAng(), set_EllipticalTube_X(), set_EllipticalTube_Y(), set_EllipticalTube_Z(), set_Ephi(), set_Epsi(), set_Etheta(), set_ExtrudedSolid_numP(), set_ExtrudedSolid_numZ(), set_ExtrudedSolid_Scale(), set_ExtrudedSolid_X(), set_ExtrudedSolid_X0(), set_ExtrudedSolid_Y(), set_ExtrudedSolid_Y0(), set_ExtrudedSolid_Z(), set_g(), set_Hype_innerRadius(), set_Hype_innerStereo(), set_Hype_Length(), set_Hype_outerRadius(), set_Hype_outerStereo(), set_material(), set_MotherName(), set_name(), set_Polycone_numZ(), set_Polycone_RMax(), set_Polycone_RMin(), set_Polycone_SpanAng(), set_Polycone_StartAng(), set_Polycone_Z(), set_PosX(), set_PosY(), set_PosZ(), set_r(), set_RepNo(), set_SDName(), set_SolidBoolean(), set_Sphere_RMax(), set_Sphere_RMin(), set_Sphere_SpanPhi(), set_Sphere_SpanTheta(), set_Sphere_StartPhi(), set_Sphere_StartTheta(), set_SRepNo(), set_t(), set_Torus_RMax(), set_Torus_RMin(), set_Torus_Rtor(), set_Torus_SpanAng(), set_Torus_StartAng(), set_Tubs_Length(), set_Tubs_RMax(), set_Tubs_RMin(), set_Tubs_SpanAng(), set_Tubs_StartAng(), set_TwistedTubs_dphi(), set_TwistedTubs_endinnerrad(), set_TwistedTubs_endouterrad(), set_TwistedTubs_Length(), set_TwistedTubs_twistedangle(), set_vis(), and PrimaryGeneratorAction::SetUniformPosition().
G4int SimpleGeometryParameter::get_VolNo | ( | ) | [inline] |
Definition at line 64 of file SimpleGeometryParameter.hh.
References VolNo.
Referenced by SimpleGeometrySvc::ConstructVolumes(), and SimpleGeometrySvc::PlaceVolumes().
00064 { return VolNo; }
int SimpleGeometryParameter::GetValue | ( | G4String | s_card | ) |
Reimplemented from MyVGeometryParameter.
Definition at line 574 of file SimpleGeometryParameter.cc.
References achieved_componets_Polycone, achieved_P_ExtrudedSolid, achieved_Z_ExtrudedSolid, BooleanSolid_GenIndex, BooleanSolid_PosType, BooleanSolid_sol1, BooleanSolid_sol2, BooleanSolid_type, BooleanSolidNo, Box_GenIndex, BoxNo, Cons_GenIndex, ConsNo, EllipticalTube_GenIndex, EllipticalTubeNo, ExtrudedSolid_GenIndex, ExtrudedSolid_numP, ExtrudedSolid_numZ, ExtrudedSolidNo, fBooleanSolid_Ephi, fBooleanSolid_Epsi, fBooleanSolid_Etheta, fBooleanSolid_PosPhi, fBooleanSolid_PosR, fBooleanSolid_PosTheta, fBooleanSolid_PosX, fBooleanSolid_PosY, fBooleanSolid_PosZ, fBox_X, fBox_Y, fBox_Z, fCons_Length, fCons_RMax1, fCons_RMax2, fCons_RMin1, fCons_RMin2, fCons_SpanAng, fCons_StartAng, fEllipticalTube_X, fEllipticalTube_Y, fEllipticalTube_Z, fEphi, fEpsi, fEtheta, fExtrudedSolid_Scale, fExtrudedSolid_X, fExtrudedSolid_X0, fExtrudedSolid_Y, fExtrudedSolid_Y0, fExtrudedSolid_Z, fHype_innerRadius, fHype_innerStereo, fHype_Length, fHype_outerRadius, fHype_outerStereo, fPolycone_RMax, fPolycone_RMin, fPolycone_SpanAng, fPolycone_StartAng, fPolycone_Z, fPosPhi, fPosR, fPosTheta, fPosX, fPosY, fPosZ, fSphere_RMax, fSphere_RMin, fSphere_SpanPhi, fSphere_SpanTheta, fSphere_StartPhi, fSphere_StartTheta, fTorus_RMax, fTorus_RMin, fTorus_Rtor, fTorus_SpanAng, fTorus_StartAng, fTubs_Length, fTubs_RMax, fTubs_RMin, fTubs_SpanAng, fTubs_StartAng, fTwistedTubs_dphi, fTwistedTubs_endinnerrad, fTwistedTubs_endouterrad, fTwistedTubs_Length, fTwistedTubs_twistedangle, MyVGeometryParameter::get_RepCont(), MyVGeometryParameter::GetValue(), Hype_GenIndex, HypeNo, MyConfigure::knownValueNames, MyConfigure::knownValues, Material, MotherName, Name, notReSetVis, Polycone_GenIndex, Polycone_numZ, PolyconeNo, PosType, MyConfigure::ReplaceMacro(), RepNo, ReSetVis(), SDName, set_b(), set_g(), set_r(), set_t(), set_vis(), SolidBoolean, SolidIndex, SolidType, Sphere_GenIndex, SphereNo, SRepNo, Torus_GenIndex, TorusNo, Tubs_GenIndex, TubsNo, TwistedTubs_GenIndex, TwistedTubsNo, VolNo, waited_ExtrudedSolid_iVol, and waited_Polycone_iVol.
Referenced by InitFromFile().
00574 { 00575 if (!MyVGeometryParameter::GetValue(s_card)) return 0;// if found by Parent Class, then return. 00576 int status = 0;// 0 means found the value 00577 std::stringstream buf_card; 00578 buf_card.str(""); 00579 buf_card.clear(); 00580 buf_card<<s_card; 00581 G4String name; 00582 buf_card>>name; 00583 G4String s_para; 00584 int iVol = VolNo; 00585 bool GoOn = true; 00586 // std::cout<<"==> "<<s_card<<std::endl; // to be deleted 00587 if (waited_Polycone_iVol>=0){ 00588 GoOn = false; 00589 if (achieved_componets_Polycone<Polycone_numZ[waited_Polycone_iVol]){ 00590 if (name=="PCI"){ 00591 G4String tPolycone_RMax; 00592 G4String tPolycone_RMin; 00593 G4String tPolycone_Z; 00594 buf_card>>tPolycone_Z>>tPolycone_RMin>>tPolycone_RMax; 00595 fPolycone_RMax[waited_Polycone_iVol][achieved_componets_Polycone] = ReplaceMacro(tPolycone_RMax); 00596 fPolycone_RMin[waited_Polycone_iVol][achieved_componets_Polycone] = ReplaceMacro(tPolycone_RMin); 00597 fPolycone_Z[waited_Polycone_iVol][achieved_componets_Polycone] = ReplaceMacro(tPolycone_Z); 00598 achieved_componets_Polycone++; 00599 } 00600 else { 00601 std::cout<<"Not enough Polycone components! Needed: "<<Polycone_numZ[waited_Polycone_iVol]<<", got: "<<achieved_componets_Polycone+1<<std::endl; 00602 Polycone_numZ[waited_Polycone_iVol]=achieved_componets_Polycone; 00603 GoOn = true; 00604 } 00605 if (Polycone_numZ[waited_Polycone_iVol]==achieved_componets_Polycone){ 00606 waited_Polycone_iVol=-1; 00607 achieved_componets_Polycone=0; 00608 } 00609 } 00610 } 00611 else if (waited_ExtrudedSolid_iVol>=0){ 00612 GoOn = false; 00613 if (achieved_Z_ExtrudedSolid<ExtrudedSolid_numZ[waited_ExtrudedSolid_iVol]){ 00614 if (name=="ESZ"){ 00615 G4String tExtrudedSolid_Z; 00616 G4String tExtrudedSolid_X0; 00617 G4String tExtrudedSolid_Y0; 00618 G4String tExtrudedSolid_Scale; 00619 buf_card>>tExtrudedSolid_Z>>tExtrudedSolid_X0>>tExtrudedSolid_Y0>>tExtrudedSolid_Scale; 00620 fExtrudedSolid_Z[waited_ExtrudedSolid_iVol][achieved_Z_ExtrudedSolid] = ReplaceMacro(tExtrudedSolid_Z); 00621 fExtrudedSolid_X0[waited_ExtrudedSolid_iVol][achieved_Z_ExtrudedSolid] = ReplaceMacro(tExtrudedSolid_X0); 00622 fExtrudedSolid_Y0[waited_ExtrudedSolid_iVol][achieved_Z_ExtrudedSolid] = ReplaceMacro(tExtrudedSolid_Y0); 00623 fExtrudedSolid_Scale[waited_ExtrudedSolid_iVol][achieved_Z_ExtrudedSolid] = ReplaceMacro(tExtrudedSolid_Scale); 00624 achieved_Z_ExtrudedSolid++; 00625 } 00626 } 00627 if (achieved_P_ExtrudedSolid<ExtrudedSolid_numP[waited_ExtrudedSolid_iVol]){ 00628 if (name=="ESP"){ 00629 G4String tExtrudedSolid_X; 00630 G4String tExtrudedSolid_Y; 00631 buf_card>>tExtrudedSolid_X>>tExtrudedSolid_Y; 00632 fExtrudedSolid_X[waited_ExtrudedSolid_iVol][achieved_P_ExtrudedSolid] = ReplaceMacro(tExtrudedSolid_X); 00633 fExtrudedSolid_Y[waited_ExtrudedSolid_iVol][achieved_P_ExtrudedSolid] = ReplaceMacro(tExtrudedSolid_Y); 00634 achieved_P_ExtrudedSolid++; 00635 } 00636 } 00637 if (ExtrudedSolid_numP[waited_ExtrudedSolid_iVol]==achieved_P_ExtrudedSolid&&ExtrudedSolid_numZ[waited_ExtrudedSolid_iVol]==achieved_Z_ExtrudedSolid){ 00638 waited_ExtrudedSolid_iVol=-1; 00639 achieved_P_ExtrudedSolid=0; 00640 achieved_Z_ExtrudedSolid=0; 00641 } 00642 } 00643 if (GoOn){ 00644 bool foundVolume = false; 00645 if( name == "B" ){ 00646 SolidType.push_back("Box"); 00647 SolidIndex.push_back(BoxNo); 00648 G4String tBox_X; 00649 G4String tBox_Y; 00650 G4String tBox_Z; 00651 buf_card>>tBox_X>>tBox_Y>>tBox_Z; 00652 fBox_X.push_back(ReplaceMacro(tBox_X)); 00653 fBox_Y.push_back(ReplaceMacro(tBox_Y)); 00654 fBox_Z.push_back(ReplaceMacro(tBox_Z)); 00655 Box_GenIndex.push_back(iVol); 00656 BoxNo++; 00657 foundVolume = true; 00658 } 00659 if( name == "ET" ){ 00660 SolidType.push_back("EllipticalTube"); 00661 SolidIndex.push_back(EllipticalTubeNo); 00662 G4String tEllipticalTube_X; 00663 G4String tEllipticalTube_Y; 00664 G4String tEllipticalTube_Z; 00665 buf_card>>tEllipticalTube_X>>tEllipticalTube_Y>>tEllipticalTube_Z; 00666 fEllipticalTube_X.push_back(ReplaceMacro(tEllipticalTube_X)); 00667 fEllipticalTube_Y.push_back(ReplaceMacro(tEllipticalTube_Y)); 00668 fEllipticalTube_Z.push_back(ReplaceMacro(tEllipticalTube_Z)); 00669 EllipticalTube_GenIndex.push_back(iVol); 00670 EllipticalTubeNo++; 00671 foundVolume = true; 00672 } 00673 else if( name == "T" ){ 00674 SolidType.push_back("Tubs"); 00675 SolidIndex.push_back(TubsNo); 00676 G4String tTubs_RMax; 00677 G4String tTubs_RMin; 00678 G4String tTubs_Length; 00679 G4String tTubs_StartAng; 00680 G4String tTubs_SpanAng; 00681 buf_card>>tTubs_RMin>>tTubs_RMax>>tTubs_Length>>tTubs_StartAng>>tTubs_SpanAng; 00682 fTubs_RMax.push_back(ReplaceMacro(tTubs_RMax)); 00683 fTubs_RMin.push_back(ReplaceMacro(tTubs_RMin)); 00684 fTubs_Length.push_back(ReplaceMacro(tTubs_Length)); 00685 fTubs_StartAng.push_back(ReplaceMacro(tTubs_StartAng)); 00686 fTubs_SpanAng.push_back(ReplaceMacro(tTubs_SpanAng)); 00687 Tubs_GenIndex.push_back(iVol); 00688 TubsNo++; 00689 foundVolume = true; 00690 } 00691 else if( name == "Tor" ){ 00692 SolidType.push_back("Torus"); 00693 SolidIndex.push_back(TorusNo); 00694 G4String tTorus_RMax; 00695 G4String tTorus_RMin; 00696 G4String tTorus_Rtor; 00697 G4String tTorus_StartAng; 00698 G4String tTorus_SpanAng; 00699 buf_card>>tTorus_RMin>>tTorus_RMax>>tTorus_Rtor>>tTorus_StartAng>>tTorus_SpanAng; 00700 fTorus_RMax.push_back(ReplaceMacro(tTorus_RMax));; 00701 fTorus_RMin.push_back(ReplaceMacro(tTorus_RMin));; 00702 fTorus_Rtor.push_back(ReplaceMacro(tTorus_Rtor));; 00703 fTorus_StartAng.push_back(ReplaceMacro(tTorus_StartAng));; 00704 fTorus_SpanAng.push_back(ReplaceMacro(tTorus_SpanAng));; 00705 Torus_GenIndex.push_back(iVol); 00706 TorusNo++; 00707 foundVolume = true; 00708 } 00709 else if( name == "Sph" ){ 00710 SolidType.push_back("Sphere"); 00711 SolidIndex.push_back(SphereNo); 00712 G4String tSphere_RMax; 00713 G4String tSphere_RMin; 00714 G4String tSphere_StartPhi; 00715 G4String tSphere_SpanPhi; 00716 G4String tSphere_StartTheta; 00717 G4String tSphere_SpanTheta; 00718 buf_card>>tSphere_RMin>>tSphere_RMax>>tSphere_StartPhi>>tSphere_SpanPhi>>tSphere_StartTheta>>tSphere_SpanTheta; 00719 fSphere_RMax.push_back(ReplaceMacro(tSphere_RMax));; 00720 fSphere_RMin.push_back(ReplaceMacro(tSphere_RMin));; 00721 fSphere_StartPhi.push_back(ReplaceMacro(tSphere_StartPhi));; 00722 fSphere_SpanPhi.push_back(ReplaceMacro(tSphere_SpanPhi));; 00723 fSphere_StartTheta.push_back(ReplaceMacro(tSphere_StartTheta));; 00724 fSphere_SpanTheta.push_back(ReplaceMacro(tSphere_SpanTheta));; 00725 Sphere_GenIndex.push_back(iVol); 00726 SphereNo++; 00727 foundVolume = true; 00728 } 00729 else if( name == "H" ){ 00730 SolidType.push_back("Hype"); 00731 SolidIndex.push_back(HypeNo); 00732 G4String tHype_innerRadius; 00733 G4String tHype_outerRadius; 00734 G4String tHype_innerStereo; 00735 G4String tHype_outerStereo; 00736 G4String tHype_Length; 00737 buf_card>>tHype_innerRadius>>tHype_outerRadius>>tHype_innerStereo>>tHype_outerStereo>>tHype_Length; 00738 fHype_innerRadius.push_back(ReplaceMacro(tHype_innerRadius));; 00739 fHype_outerRadius.push_back(ReplaceMacro(tHype_outerRadius));; 00740 fHype_innerStereo.push_back(ReplaceMacro(tHype_innerStereo));; 00741 fHype_outerStereo.push_back(ReplaceMacro(tHype_outerStereo));; 00742 fHype_Length.push_back(ReplaceMacro(tHype_Length));; 00743 Hype_GenIndex.push_back(iVol); 00744 HypeNo++; 00745 foundVolume = true; 00746 } 00747 else if( name == "TT" ){ 00748 SolidType.push_back("TwistedTubs"); 00749 SolidIndex.push_back(TwistedTubsNo); 00750 G4String tTwistedTubs_twistedangle; 00751 G4String tTwistedTubs_endinnerrad; 00752 G4String tTwistedTubs_endouterrad; 00753 G4String tTwistedTubs_Length; 00754 G4String tTwistedTubs_dphi; 00755 buf_card>>tTwistedTubs_twistedangle>>tTwistedTubs_endinnerrad>>tTwistedTubs_endouterrad>>tTwistedTubs_Length>>tTwistedTubs_dphi; 00756 fTwistedTubs_twistedangle.push_back(ReplaceMacro(tTwistedTubs_twistedangle));; 00757 fTwistedTubs_endinnerrad.push_back(ReplaceMacro(tTwistedTubs_endinnerrad));; 00758 fTwistedTubs_endouterrad.push_back(ReplaceMacro(tTwistedTubs_endouterrad));; 00759 fTwistedTubs_Length.push_back(ReplaceMacro(tTwistedTubs_Length));; 00760 fTwistedTubs_dphi.push_back(ReplaceMacro(tTwistedTubs_dphi));; 00761 TwistedTubs_GenIndex.push_back(iVol); 00762 TwistedTubsNo++; 00763 foundVolume = true; 00764 } 00765 else if( name == "C" ){ 00766 SolidType.push_back("Cons"); 00767 SolidIndex.push_back(ConsNo); 00768 G4String tCons_RMax1; 00769 G4String tCons_RMin1; 00770 G4String tCons_RMax2; 00771 G4String tCons_RMin2; 00772 G4String tCons_Length; 00773 G4String tCons_StartAng; 00774 G4String tCons_SpanAng; 00775 buf_card>>tCons_RMin1>>tCons_RMax1>>tCons_RMin2>>tCons_RMax2>>tCons_Length>>tCons_StartAng>>tCons_SpanAng; 00776 fCons_RMax1.push_back(ReplaceMacro(tCons_RMax1));; 00777 fCons_RMin1.push_back(ReplaceMacro(tCons_RMin1));; 00778 fCons_RMax2.push_back(ReplaceMacro(tCons_RMax2));; 00779 fCons_RMin2.push_back(ReplaceMacro(tCons_RMin2));; 00780 fCons_Length.push_back(ReplaceMacro(tCons_Length));; 00781 fCons_StartAng.push_back(ReplaceMacro(tCons_StartAng));; 00782 fCons_SpanAng.push_back(ReplaceMacro(tCons_SpanAng));; 00783 Cons_GenIndex.push_back(iVol); 00784 ConsNo++; 00785 foundVolume = true; 00786 } 00787 else if( name == "PC" ){ 00788 SolidType.push_back("Polycone"); 00789 SolidIndex.push_back(PolyconeNo); 00790 G4int tPolycone_numZ; 00791 G4String tPolycone_StartAng; 00792 G4String tPolycone_SpanAng; 00793 buf_card>>tPolycone_numZ>>tPolycone_StartAng>>tPolycone_SpanAng; 00794 Polycone_numZ.push_back(tPolycone_numZ); 00795 fPolycone_StartAng.push_back(ReplaceMacro(tPolycone_StartAng));; 00796 fPolycone_SpanAng.push_back(ReplaceMacro(tPolycone_SpanAng));; 00797 Polycone_GenIndex.push_back(iVol); 00798 std::vector<G4String> empty_vec; 00799 empty_vec.resize(tPolycone_numZ); 00800 fPolycone_RMax.push_back(empty_vec);; 00801 fPolycone_RMin.push_back(empty_vec);; 00802 fPolycone_Z.push_back(empty_vec);; 00803 waited_Polycone_iVol = PolyconeNo; 00804 achieved_componets_Polycone = 0; 00805 PolyconeNo++; 00806 foundVolume = true; 00807 } 00808 else if( name == "ES" ){ 00809 SolidType.push_back("ExtrudedSolid"); 00810 SolidIndex.push_back(ExtrudedSolidNo); 00811 G4int tExtrudedSolid_numZ; 00812 G4int tExtrudedSolid_numP; 00813 buf_card>>tExtrudedSolid_numZ>>tExtrudedSolid_numP; 00814 ExtrudedSolid_numZ.push_back(tExtrudedSolid_numZ); 00815 ExtrudedSolid_numP.push_back(tExtrudedSolid_numP); 00816 ExtrudedSolid_GenIndex.push_back(iVol); 00817 std::vector<G4String> empty_vec; 00818 empty_vec.resize(tExtrudedSolid_numP); 00819 fExtrudedSolid_X.push_back(empty_vec);; 00820 fExtrudedSolid_Y.push_back(empty_vec);; 00821 empty_vec.resize(tExtrudedSolid_numZ); 00822 fExtrudedSolid_Z.push_back(empty_vec);; 00823 fExtrudedSolid_X0.push_back(empty_vec);; 00824 fExtrudedSolid_Y0.push_back(empty_vec);; 00825 fExtrudedSolid_Scale.push_back(empty_vec);; 00826 waited_ExtrudedSolid_iVol = ExtrudedSolidNo; 00827 achieved_P_ExtrudedSolid = 0; 00828 achieved_Z_ExtrudedSolid = 0; 00829 ExtrudedSolidNo++; 00830 foundVolume = true; 00831 } 00832 else if( name == "BL" ){ 00833 SolidType.push_back("BooleanSolid"); 00834 SolidIndex.push_back(BooleanSolidNo); 00835 G4String dump; 00836 G4String tBooleanSolid_type; 00837 G4String tBooleanSolid_sol1; 00838 G4String tBooleanSolid_sol2; 00839 G4String tBooleanSolid_Ephi; 00840 G4String tBooleanSolid_Etheta; 00841 G4String tBooleanSolid_Epsi; 00842 G4String tBooleanSolid_PosX; 00843 G4String tBooleanSolid_PosY; 00844 G4String tBooleanSolid_PosZ; 00845 G4String tBooleanSolid_PosR; 00846 G4String tBooleanSolid_PosTheta; 00847 G4String tBooleanSolid_PosPhi; 00848 G4String tBooleanSolid_PosType; 00849 buf_card>>tBooleanSolid_type>>tBooleanSolid_sol1>>tBooleanSolid_sol2>>tBooleanSolid_Ephi>>tBooleanSolid_Etheta>>tBooleanSolid_Epsi>>dump; 00850 if (dump=="P"){ // Need Polar Coordinates 00851 buf_card>>tBooleanSolid_PosR>>tBooleanSolid_PosPhi>>tBooleanSolid_PosZ; 00852 tBooleanSolid_PosType = "Polar"; 00853 } 00854 else if (dump=="S"){ // Need Spherical Coordinates 00855 buf_card>>tBooleanSolid_PosR>>tBooleanSolid_PosPhi>>tBooleanSolid_PosTheta; 00856 tBooleanSolid_PosType = "Spherical"; 00857 } 00858 else if (dump=="C"){ // Need Cartesian Coordinates 00859 buf_card>>tBooleanSolid_PosX>>tBooleanSolid_PosY>>tBooleanSolid_PosZ; 00860 tBooleanSolid_PosType = "Cartesian"; 00861 } 00862 else{ // By default, need Cartesian Coordinates 00863 tBooleanSolid_PosX=dump; 00864 buf_card>>tBooleanSolid_PosY>>tBooleanSolid_PosZ; 00865 tBooleanSolid_PosType = "Cartesian"; 00866 } 00867 BooleanSolid_type.push_back(tBooleanSolid_type); 00868 BooleanSolid_sol1.push_back(tBooleanSolid_sol1); 00869 BooleanSolid_sol2.push_back(tBooleanSolid_sol2); 00870 fBooleanSolid_Ephi.push_back(ReplaceMacro(tBooleanSolid_Ephi)); 00871 fBooleanSolid_Etheta.push_back(ReplaceMacro(tBooleanSolid_Etheta)); 00872 fBooleanSolid_Epsi.push_back(ReplaceMacro(tBooleanSolid_Epsi)); 00873 fBooleanSolid_PosX.push_back(ReplaceMacro(tBooleanSolid_PosX)); 00874 fBooleanSolid_PosY.push_back(ReplaceMacro(tBooleanSolid_PosY)); 00875 fBooleanSolid_PosZ.push_back(ReplaceMacro(tBooleanSolid_PosZ)); 00876 fBooleanSolid_PosR.push_back(ReplaceMacro(tBooleanSolid_PosR)); 00877 fBooleanSolid_PosTheta.push_back(ReplaceMacro(tBooleanSolid_PosTheta)); 00878 fBooleanSolid_PosPhi.push_back(ReplaceMacro(tBooleanSolid_PosPhi)); 00879 BooleanSolid_PosType.push_back(ReplaceMacro(tBooleanSolid_PosType)); 00880 BooleanSolid_GenIndex.push_back(iVol); 00881 BooleanSolidNo++; 00882 foundVolume = true; 00883 } 00884 if (foundVolume){ 00885 G4String dump; 00886 G4String tPosX; 00887 G4String tPosY; 00888 G4String tPosZ; 00889 G4String tPosR; 00890 G4String tPosTheta; 00891 G4String tPosPhi; 00892 G4String tPosType; 00893 G4String tRepCont; 00894 G4int tRepNo = 1; 00895 G4int tSRepNo = 0; 00896 G4String tSDName; 00897 G4String tEphi; 00898 G4String tEtheta; 00899 G4String tEpsi; 00900 G4String tName; 00901 G4String tMotherName; 00902 G4String tMaterial; 00903 G4bool tSolidBoolean = true; 00904 buf_card>>tName>>tRepCont; 00905 get_RepCont(tRepCont,tSRepNo,tRepNo); 00906 if(buf_card>>tMotherName){ 00907 tSolidBoolean = false; 00908 buf_card>>tMaterial>>tSDName>>dump; 00909 if (dump=="P"){ // Need Polar Coordinates 00910 buf_card>>tPosR>>tPosPhi>>tPosZ; 00911 tPosType = "Polar"; 00912 } 00913 else if (dump=="S"){ // Need Spherical Coordinates 00914 buf_card>>tPosR>>tPosPhi>>tPosTheta; 00915 tPosType = "Spherical"; 00916 } 00917 else if (dump=="C"){ // Need Cartesian Coordinates 00918 buf_card>>tPosX>>tPosY>>tPosZ; 00919 tPosType = "Cartesian"; 00920 } 00921 else{ // By default, need Cartesian Coordinates 00922 tPosX=dump; 00923 buf_card>>tPosY>>tPosZ; 00924 tPosType = "Cartesian"; 00925 } 00926 buf_card>>tEphi>>tEtheta>>tEpsi; 00927 } 00928 fPosX.push_back(ReplaceMacro(tPosX));; 00929 fPosY.push_back(ReplaceMacro(tPosY));; 00930 fPosZ.push_back(ReplaceMacro(tPosZ));; 00931 fPosR.push_back(ReplaceMacro(tPosR));; 00932 fPosPhi.push_back(ReplaceMacro(tPosPhi));; 00933 fPosTheta.push_back(ReplaceMacro(tPosTheta));; 00934 PosType.push_back(tPosType); 00935 Name.push_back(tName); 00936 MotherName.push_back(tMotherName); 00937 Material.push_back(tMaterial); 00938 SDName.push_back(tSDName); 00939 SRepNo.push_back(tSRepNo); 00940 RepNo.push_back(tRepNo); 00941 fEphi.push_back(ReplaceMacro(tEphi));; 00942 fEtheta.push_back(ReplaceMacro(tEtheta));; 00943 fEpsi.push_back(ReplaceMacro(tEpsi));; 00944 SolidBoolean.push_back(tSolidBoolean); 00945 VolNo++; 00946 // std::cout<<"found Volume:"<<tName<<std::endl; // to be deleted 00947 } 00948 else if ( name == "DEFINE:" ){ 00949 G4String MacroName; 00950 G4String MacroValue; 00951 buf_card>>MacroName>>MacroValue; 00952 // std::cout<<"found DEFINE:"<<std::endl; // to be deleted 00953 MacroValue = ReplaceMacro(MacroValue); 00954 std::cout<<"Define: "<<MacroName<<":\t"<<MacroValue<<std::endl; 00955 bool foundName = false; 00956 for (int i = 0; i < knownValueNames.size(); i++){ 00957 if (knownValueNames[i]==MacroName){ // If this name occurred once, replace the value 00958 foundName = true; 00959 knownValues[i]=MacroValue; 00960 break; 00961 } 00962 } 00963 if (!foundName){ 00964 knownValueNames.push_back(MacroName); 00965 knownValues.push_back(MacroValue); 00966 } 00967 } 00968 else if ( name == "VISSETTING" ){ 00969 if(notReSetVis) ReSetVis(); 00970 status = -1; 00971 } 00972 else{ 00973 bool foundornot = false; 00974 if ( name.substr(0,4) == "vis_" ){ 00975 std::stringstream buf_temp; 00976 for ( G4int i = 0; i < VolNo; i++ ){ 00977 buf_temp.str(""); 00978 buf_temp.clear(); 00979 buf_temp<<"vis_"<<Name[i]; 00980 if( (std::string)name == buf_temp.str() ){ 00981 set_vis(i,true); 00982 G4double vTr, vTg, vTb; 00983 G4double vTT = 0; 00984 buf_card>>vTr>>vTg>>vTb>>vTT; 00985 if (!vTT) vTT = 1; 00986 set_r(i,vTr); 00987 set_g(i,vTg); 00988 set_b(i,vTb); 00989 set_t(i,vTT); 00990 foundornot = true; 00991 break; // got the parameter, go to next line 00992 } 00993 } 00994 buf_temp.str(""); 00995 buf_temp.clear(); 00996 } 00997 if (!foundornot){ 00998 status = 1; 00999 } 01000 } 01001 } 01002 buf_card.str(""); 01003 buf_card.clear(); 01004 return status; 01005 }
std::vector< G4String > MyConfigure::GetWords | ( | G4String | formula | ) | [inherited] |
Definition at line 48 of file MyConfigure.cc.
Referenced by MyConfigure::ReplaceMacro().
00048 { 00049 std::vector<G4String> words; 00050 words.clear(); 00051 const char* cformula = formula.c_str(); 00052 int length = strlen(cformula); 00053 char temp[1240]; 00054 int tempoffset = 0; 00055 for ( int offset = 0; offset < length; offset++ ){ 00056 char c = cformula[offset]; 00057 bool isword = false; 00058 if (c>='a'&&c<='z' 00059 ||c>='A'&&c<='Z' 00060 ||c>='0'&&c<='9' 00061 ||c=='_' 00062 ){ 00063 temp[tempoffset++] = cformula[offset]; 00064 isword = true; 00065 } 00066 if (!isword||offset==length-1){ 00067 if (tempoffset>0){ 00068 temp[tempoffset++] = '\0'; 00069 tempoffset=0; 00070 G4String word = temp; 00071 bool found = false; 00072 for(int iWord = 0; iWord<words.size(); iWord++){ 00073 if (words[iWord]==word){ 00074 found = true; 00075 break; 00076 } 00077 } 00078 if (!found){ 00079 words.push_back(word); 00080 } 00081 } 00082 } 00083 } 00084 return words; 00085 }
void SimpleGeometryParameter::InitFromFile | ( | G4String | file_name | ) | [virtual] |
Reimplemented from MyVGeometryParameter.
Definition at line 39 of file SimpleGeometryParameter.cc.
References Calculate(), CheckInfo(), MyVGeometryParameter::DEBUG(), GetValue(), MyVGeometryParameter::ISEMPTY(), Preset(), and MyVGeometryParameter::set_filename().
00039 { 00040 00041 set_filename(file_name); 00042 00043 //Remember to preset first! 00044 Preset(); 00045 00046 std::ifstream fin_card(file_name); 00047 if(!fin_card){ 00048 G4String content = "SimpleGeometryParameter::InitFromFile(), cannot find output card \"" + file_name + "\""; 00049 DEBUG(content); 00050 } 00051 G4String s_card; 00052 while(getline(fin_card,s_card)){ 00053 //eleminate useless lines 00054 if ( ISEMPTY(s_card) ) continue; 00055 int status = GetValue(s_card); 00056 if( status > 0 ){ 00057 G4String content = "SimpleGeometryParameter: unknown line:" + s_card + "\n in file " + file_name + "! Will ignore this line!"; 00058 DEBUG(content,0); 00059 } 00060 } 00061 fin_card.close(); 00062 if (CheckInfo()){ 00063 DEBUG("SimpleGeometryParameter::InitFromFile(), insufficient simple solid info"); 00064 } 00065 Calculate(); 00066 }
bool MyVGeometryParameter::ISEMPTY | ( | G4String | s_card | ) | [inherited] |
Definition at line 115 of file MyVGeometryParameter.cc.
Referenced by InitFromFile().
00115 { 00116 bool flag = false; 00117 const char* c_card = s_card.c_str(); 00118 G4int length = strlen(c_card); 00119 G4int offset = 0; 00120 for ( ; offset < length; offset++ ){ 00121 if ( c_card[offset] != ' ' ) break; 00122 } 00123 if ( c_card[offset] == '#' || (c_card[offset] == '/' && c_card[offset+1] == '/') || length - offset == 0 ){ 00124 flag = true; 00125 } 00126 return flag; 00127 }
void SimpleGeometryParameter::Preset | ( | ) |
Reimplemented from MyVGeometryParameter.
Definition at line 374 of file SimpleGeometryParameter.cc.
References achieved_componets_Polycone, achieved_P_ExtrudedSolid, achieved_Z_ExtrudedSolid, BooleanSolid_Ephi, BooleanSolid_Epsi, BooleanSolid_Etheta, BooleanSolid_GenIndex, BooleanSolid_Pos, BooleanSolid_PosType, BooleanSolid_sol1, BooleanSolid_sol2, BooleanSolid_type, BooleanSolidNo, Box_GenIndex, Box_X, Box_Y, Box_Z, BoxNo, Cons_GenIndex, Cons_Length, Cons_RMax1, Cons_RMax2, Cons_RMin1, Cons_RMin2, Cons_SpanAng, Cons_StartAng, ConsNo, EllipticalTube_GenIndex, EllipticalTube_X, EllipticalTube_Y, EllipticalTube_Z, EllipticalTubeNo, Ephi, Epsi, Etheta, ExtrudedSolid_GenIndex, ExtrudedSolid_numP, ExtrudedSolid_numZ, ExtrudedSolid_Scale, ExtrudedSolid_X, ExtrudedSolid_X0, ExtrudedSolid_Y, ExtrudedSolid_Y0, ExtrudedSolid_Z, ExtrudedSolidNo, fBooleanSolid_Ephi, fBooleanSolid_Epsi, fBooleanSolid_Etheta, fBooleanSolid_PosPhi, fBooleanSolid_PosR, fBooleanSolid_PosTheta, fBooleanSolid_PosX, fBooleanSolid_PosY, fBooleanSolid_PosZ, fBox_X, fBox_Y, fBox_Z, fCons_Length, fCons_RMax1, fCons_RMax2, fCons_RMin1, fCons_RMin2, fCons_SpanAng, fCons_StartAng, fEllipticalTube_X, fEllipticalTube_Y, fEllipticalTube_Z, fEphi, fEpsi, fEtheta, fExtrudedSolid_Scale, fExtrudedSolid_X, fExtrudedSolid_X0, fExtrudedSolid_Y, fExtrudedSolid_Y0, fExtrudedSolid_Z, fHype_innerRadius, fHype_innerStereo, fHype_Length, fHype_outerRadius, fHype_outerStereo, fPolycone_RMax, fPolycone_RMin, fPolycone_SpanAng, fPolycone_StartAng, fPolycone_Z, fPosPhi, fPosR, fPosTheta, fPosX, fPosY, fPosZ, fSphere_RMax, fSphere_RMin, fSphere_SpanPhi, fSphere_SpanTheta, fSphere_StartPhi, fSphere_StartTheta, fTorus_RMax, fTorus_RMin, fTorus_Rtor, fTorus_SpanAng, fTorus_StartAng, fTubs_Length, fTubs_RMax, fTubs_RMin, fTubs_SpanAng, fTubs_StartAng, fTwistedTubs_dphi, fTwistedTubs_endinnerrad, fTwistedTubs_endouterrad, fTwistedTubs_Length, fTwistedTubs_twistedangle, Hype_GenIndex, Hype_innerRadius, Hype_innerStereo, Hype_Length, Hype_outerRadius, Hype_outerStereo, HypeNo, Material, MotherName, Name, notReSetVis, Polycone_GenIndex, Polycone_numZ, Polycone_RMax, Polycone_RMin, Polycone_SpanAng, Polycone_StartAng, Polycone_Z, PolyconeNo, Pos, PosType, RepNo, SDName, SolidBoolean, SolidIndex, SolidType, Sphere_GenIndex, Sphere_RMax, Sphere_RMin, Sphere_SpanPhi, Sphere_SpanTheta, Sphere_StartPhi, Sphere_StartTheta, SphereNo, SRepNo, Torus_GenIndex, Torus_RMax, Torus_RMin, Torus_Rtor, Torus_SpanAng, Torus_StartAng, TorusNo, Tubs_GenIndex, Tubs_Length, Tubs_RMax, Tubs_RMin, Tubs_SpanAng, Tubs_StartAng, TubsNo, TwistedTubs_dphi, TwistedTubs_endinnerrad, TwistedTubs_endouterrad, TwistedTubs_GenIndex, TwistedTubs_Length, TwistedTubs_twistedangle, TwistedTubsNo, VolNo, waited_ExtrudedSolid_iVol, and waited_Polycone_iVol.
Referenced by InitFromFile().
00374 { 00375 MyVGeometryParameter::Preset();// Call its Parent class to preset 00376 notReSetVis = true; 00377 VolNo = 0; 00378 BoxNo = 0; 00379 EllipticalTubeNo = 0; 00380 TubsNo = 0; 00381 TorusNo = 0; 00382 SphereNo = 0; 00383 HypeNo = 0; 00384 TwistedTubsNo = 0; 00385 ConsNo = 0; 00386 PolyconeNo = 0; 00387 ExtrudedSolidNo = 0; 00388 BooleanSolidNo = 0; 00389 00390 //General info about volume 00391 Name.clear(); 00392 MotherName.clear(); 00393 SDName.clear(); 00394 Material.clear(); 00395 SRepNo.clear(); 00396 RepNo.clear(); 00397 SolidType.clear(); 00398 SolidIndex.clear(); 00399 SolidBoolean.clear(); 00400 fPosX.clear(); 00401 fPosY.clear(); 00402 fPosZ.clear(); 00403 fPosR.clear(); 00404 fPosPhi.clear(); 00405 fPosTheta.clear(); 00406 PosType.clear(); 00407 fEphi.clear(); 00408 fEtheta.clear(); 00409 fEpsi.clear(); 00410 Pos.clear(); 00411 Ephi.clear(); 00412 Etheta.clear(); 00413 Epsi.clear(); 00414 00415 //Box info 00416 fBox_X.clear(); 00417 fBox_Y.clear(); 00418 fBox_Z.clear(); 00419 Box_X.clear(); 00420 Box_Y.clear(); 00421 Box_Z.clear(); 00422 Box_GenIndex.clear(); 00423 00424 //EllipticalTube info 00425 fEllipticalTube_X.clear(); 00426 fEllipticalTube_Y.clear(); 00427 fEllipticalTube_Z.clear(); 00428 EllipticalTube_X.clear(); 00429 EllipticalTube_Y.clear(); 00430 EllipticalTube_Z.clear(); 00431 EllipticalTube_GenIndex.clear(); 00432 00433 //Tubs info 00434 fTubs_RMax.clear(); 00435 fTubs_RMin.clear(); 00436 fTubs_Length.clear(); 00437 fTubs_StartAng.clear(); 00438 fTubs_SpanAng.clear(); 00439 Tubs_RMax.clear(); 00440 Tubs_RMin.clear(); 00441 Tubs_Length.clear(); 00442 Tubs_StartAng.clear(); 00443 Tubs_SpanAng.clear(); 00444 Tubs_GenIndex.clear(); 00445 00446 //Torus info 00447 fTorus_RMax.clear(); 00448 fTorus_RMin.clear(); 00449 fTorus_Rtor.clear(); 00450 fTorus_StartAng.clear(); 00451 fTorus_SpanAng.clear(); 00452 Torus_RMax.clear(); 00453 Torus_RMin.clear(); 00454 Torus_Rtor.clear(); 00455 Torus_StartAng.clear(); 00456 Torus_SpanAng.clear(); 00457 Torus_GenIndex.clear(); 00458 00459 //Sphere info 00460 fSphere_RMax.clear(); 00461 fSphere_RMin.clear(); 00462 fSphere_StartPhi.clear(); 00463 fSphere_SpanPhi.clear(); 00464 fSphere_StartTheta.clear(); 00465 fSphere_SpanTheta.clear(); 00466 Sphere_RMax.clear(); 00467 Sphere_RMin.clear(); 00468 Sphere_StartPhi.clear(); 00469 Sphere_SpanPhi.clear(); 00470 Sphere_StartTheta.clear(); 00471 Sphere_SpanTheta.clear(); 00472 Sphere_GenIndex.clear(); 00473 00474 //Hype info 00475 fHype_innerRadius.clear(); 00476 fHype_outerRadius.clear(); 00477 fHype_innerStereo.clear(); 00478 fHype_outerStereo.clear(); 00479 fHype_Length.clear(); 00480 Hype_innerRadius.clear(); 00481 Hype_outerRadius.clear(); 00482 Hype_innerStereo.clear(); 00483 Hype_outerStereo.clear(); 00484 Hype_Length.clear(); 00485 Hype_GenIndex.clear(); 00486 00487 //TwistedTubs info 00488 fTwistedTubs_twistedangle.clear(); 00489 fTwistedTubs_endinnerrad.clear(); 00490 fTwistedTubs_endouterrad.clear(); 00491 fTwistedTubs_Length.clear(); 00492 fTwistedTubs_dphi.clear(); 00493 TwistedTubs_twistedangle.clear(); 00494 TwistedTubs_endinnerrad.clear(); 00495 TwistedTubs_endouterrad.clear(); 00496 TwistedTubs_Length.clear(); 00497 TwistedTubs_dphi.clear(); 00498 TwistedTubs_GenIndex.clear(); 00499 00500 //Cons info 00501 fCons_RMax1.clear(); 00502 fCons_RMin1.clear(); 00503 fCons_RMax2.clear(); 00504 fCons_RMin2.clear(); 00505 fCons_Length.clear(); 00506 fCons_StartAng.clear(); 00507 fCons_SpanAng.clear(); 00508 Cons_RMax1.clear(); 00509 Cons_RMin1.clear(); 00510 Cons_RMax2.clear(); 00511 Cons_RMin2.clear(); 00512 Cons_Length.clear(); 00513 Cons_StartAng.clear(); 00514 Cons_SpanAng.clear(); 00515 Cons_GenIndex.clear(); 00516 00517 //Polycone info 00518 fPolycone_RMax.clear(); 00519 fPolycone_RMin.clear(); 00520 fPolycone_Z.clear(); 00521 Polycone_RMax.clear(); 00522 Polycone_RMin.clear(); 00523 Polycone_Z.clear(); 00524 Polycone_numZ.clear(); 00525 fPolycone_StartAng.clear(); 00526 fPolycone_SpanAng.clear(); 00527 Polycone_StartAng.clear(); 00528 Polycone_SpanAng.clear(); 00529 Polycone_GenIndex.clear(); 00530 waited_Polycone_iVol = -1; 00531 achieved_componets_Polycone = 0; 00532 00533 //ExtrudedSolid info 00534 fExtrudedSolid_X.clear(); 00535 fExtrudedSolid_Y.clear(); 00536 fExtrudedSolid_Z.clear(); 00537 fExtrudedSolid_X0.clear(); 00538 fExtrudedSolid_Y0.clear(); 00539 fExtrudedSolid_Scale.clear(); 00540 ExtrudedSolid_X.clear(); 00541 ExtrudedSolid_Y.clear(); 00542 ExtrudedSolid_Z.clear(); 00543 ExtrudedSolid_X0.clear(); 00544 ExtrudedSolid_Y0.clear(); 00545 ExtrudedSolid_Scale.clear(); 00546 ExtrudedSolid_numZ.clear(); 00547 ExtrudedSolid_numP.clear(); 00548 ExtrudedSolid_GenIndex.clear(); 00549 waited_ExtrudedSolid_iVol = -1; 00550 achieved_Z_ExtrudedSolid = 0; 00551 achieved_P_ExtrudedSolid = 0; 00552 00553 //BooleanSolid info 00554 BooleanSolid_type.clear(); 00555 BooleanSolid_sol1.clear(); 00556 BooleanSolid_sol2.clear(); 00557 fBooleanSolid_Ephi.clear(); 00558 fBooleanSolid_Etheta.clear(); 00559 fBooleanSolid_Epsi.clear(); 00560 fBooleanSolid_PosX.clear(); 00561 fBooleanSolid_PosY.clear(); 00562 fBooleanSolid_PosZ.clear(); 00563 fBooleanSolid_PosR.clear(); 00564 fBooleanSolid_PosPhi.clear(); 00565 fBooleanSolid_PosTheta.clear(); 00566 BooleanSolid_PosType.clear(); 00567 BooleanSolid_Ephi.clear(); 00568 BooleanSolid_Etheta.clear(); 00569 BooleanSolid_Epsi.clear(); 00570 BooleanSolid_Pos.clear(); 00571 BooleanSolid_GenIndex.clear(); 00572 }
void MyConfigure::Replace | ( | G4String & | formula, | |
G4String | word, | |||
G4String | value | |||
) | [inherited] |
Definition at line 99 of file MyConfigure.cc.
References MyConfigure::FindMacro().
Referenced by MyConfigure::ReplaceMacro().
00099 { 00100 // std::cout<<"-- \""<<formula<<"\""<<std::endl; // to be deleted 00101 G4String newform = ""; 00102 const char* cformula = formula.c_str(); 00103 int length = strlen(cformula); 00104 char temp[1024]; 00105 int tempoffset = 0; 00106 char cnewform[1024]; 00107 int newformoffset = 0; 00108 for ( int offset = 0; offset < length; offset++ ){ 00109 char c = cformula[offset]; 00110 bool isword = false; 00111 if (c>='a'&&c<='z' 00112 ||c>='A'&&c<='Z' 00113 ||c>='0'&&c<='9' 00114 ||c=='_' 00115 ){ 00116 temp[tempoffset++] = cformula[offset]; 00117 isword = true; 00118 } 00119 if (!isword||offset==length-1){ 00120 if (tempoffset>0){ 00121 temp[tempoffset] = '\0'; 00122 tempoffset=0; 00123 if (newformoffset>0){ 00124 cnewform[newformoffset] = '\0'; 00125 newformoffset=0; 00126 G4String newformtemp = cnewform; 00127 newform=newform+newformtemp; 00128 } 00129 G4String word = temp; 00130 // std::cout<<" \""<<word<<"\""<<std::endl; // to be deleted 00131 G4String newword; 00132 bool found = FindMacro(word,newword); 00133 if (found){ 00134 newform=newform+"("+newword+")"; 00135 } 00136 else{ 00137 newform=newform+word; 00138 } 00139 // std::cout<<" to \""<<newword<<"\""<<std::endl; // to be deleted 00140 } 00141 if(!isword){ 00142 cnewform[newformoffset++] = cformula[offset]; 00143 } 00144 if (offset==length-1){ 00145 cnewform[newformoffset] = '\0'; 00146 G4String newformtemp = cnewform; 00147 newform=newform+newformtemp; 00148 } 00149 } 00150 } 00151 // std::cout<<" -->\""<<newform<<"\""<<std::endl; // to be deleted 00152 formula = newform; 00153 }
G4String MyConfigure::ReplaceMacro | ( | G4String | formula | ) | [inherited] |
Definition at line 33 of file MyConfigure.cc.
References MyConfigure::FindMacro(), MyConfigure::GetWords(), and MyConfigure::Replace().
Referenced by GetValue(), and PrimaryGeneratorAction::ReadCard().
00033 { 00034 // std::cout<<"TO replace for: \""<<formula<<"\""<<std::endl; // to be deleted 00035 std::vector<G4String> words = GetWords(formula); 00036 // std::cout<<" "<<words.size()<<" words"<<std::endl; // to be deleted 00037 for (int iWord = 0; iWord < words.size(); iWord++ ){ 00038 // std::cout<<" "<<iWord<<std::endl; // to be deleted 00039 G4String value; 00040 if (FindMacro(words[iWord],value)){ 00041 Replace(formula,words[iWord],value); 00042 } 00043 } 00044 // std::cout<<"\t=>"<<formula<<std::endl; 00045 return formula; 00046 }
void SimpleGeometryParameter::ReSetVis | ( | ) | [private] |
Definition at line 1009 of file SimpleGeometryParameter.cc.
References notReSetVis, vB, vG, VolNo, vR, vT, and vVis.
Referenced by GetValue().
void SimpleGeometryParameter::set_b | ( | G4String | name, | |
G4double | val | |||
) | [inline] |
Definition at line 385 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and vB.
00385 {int k = get_VolIndex(name); vB[k] = val;}
void SimpleGeometryParameter::set_b | ( | G4int | i, | |
G4double | val | |||
) | [inline] |
void SimpleGeometryParameter::set_b | ( | G4String | type, | |
G4int | i, | |||
G4double | val | |||
) | [inline] |
Definition at line 373 of file SimpleGeometryParameter.hh.
References get_index(), and vB.
Referenced by GetValue(), and SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_BooleanSolid_Ephi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 362 of file SimpleGeometryParameter.hh.
References BooleanSolid_Ephi, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00362 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_Ephi[i][j]=val;}
void SimpleGeometryParameter::set_BooleanSolid_Ephi | ( | G4int | BooleanSolidId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 352 of file SimpleGeometryParameter.hh.
References BooleanSolid_Ephi, and check_BooleanSolidId().
00352 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_Ephi[BooleanSolidId][j]=val;}
void SimpleGeometryParameter::set_BooleanSolid_Epsi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 364 of file SimpleGeometryParameter.hh.
References BooleanSolid_Epsi, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00364 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_Epsi[i][j]=val;}
void SimpleGeometryParameter::set_BooleanSolid_Epsi | ( | G4int | BooleanSolidId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 354 of file SimpleGeometryParameter.hh.
References BooleanSolid_Epsi, and check_BooleanSolidId().
00354 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_Epsi[BooleanSolidId][j]=val;}
void SimpleGeometryParameter::set_BooleanSolid_Etheta | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 363 of file SimpleGeometryParameter.hh.
References BooleanSolid_Etheta, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00363 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_Etheta[i][j]=val;}
void SimpleGeometryParameter::set_BooleanSolid_Etheta | ( | G4int | BooleanSolidId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 353 of file SimpleGeometryParameter.hh.
References BooleanSolid_Etheta, and check_BooleanSolidId().
00353 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_Etheta[BooleanSolidId][j]=val;}
void SimpleGeometryParameter::set_BooleanSolid_PosX | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 365 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00365 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_Pos[i][j].setX(val);}
void SimpleGeometryParameter::set_BooleanSolid_PosX | ( | G4int | BooleanSolidId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 355 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, and check_BooleanSolidId().
00355 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_Pos[BooleanSolidId][j].setX(val);}
void SimpleGeometryParameter::set_BooleanSolid_PosY | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 366 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00366 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_Pos[i][j].setY(val);}
void SimpleGeometryParameter::set_BooleanSolid_PosY | ( | G4int | BooleanSolidId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 356 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, and check_BooleanSolidId().
00356 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_Pos[BooleanSolidId][j].setY(val);}
void SimpleGeometryParameter::set_BooleanSolid_PosZ | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 367 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00367 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_Pos[i][j].setZ(val);}
void SimpleGeometryParameter::set_BooleanSolid_PosZ | ( | G4int | BooleanSolidId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 357 of file SimpleGeometryParameter.hh.
References BooleanSolid_Pos, and check_BooleanSolidId().
00357 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_Pos[BooleanSolidId][j].setZ(val);}
void SimpleGeometryParameter::set_BooleanSolid_sol1 | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 360 of file SimpleGeometryParameter.hh.
References BooleanSolid_sol1, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00360 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_sol1[i]=val;}
void SimpleGeometryParameter::set_BooleanSolid_sol1 | ( | G4int | BooleanSolidId, | |
G4String | val | |||
) | [inline] |
Definition at line 350 of file SimpleGeometryParameter.hh.
References BooleanSolid_sol1, and check_BooleanSolidId().
00350 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_sol1[BooleanSolidId]=val;}
void SimpleGeometryParameter::set_BooleanSolid_sol2 | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 361 of file SimpleGeometryParameter.hh.
References BooleanSolid_sol2, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00361 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_sol2[i]=val;}
void SimpleGeometryParameter::set_BooleanSolid_sol2 | ( | G4int | BooleanSolidId, | |
G4String | val | |||
) | [inline] |
Definition at line 351 of file SimpleGeometryParameter.hh.
References BooleanSolid_sol2, and check_BooleanSolidId().
00351 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_sol2[BooleanSolidId]=val;}
void SimpleGeometryParameter::set_BooleanSolid_type | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 359 of file SimpleGeometryParameter.hh.
References BooleanSolid_type, check_BooleanSolidId(), get_SolidIndex(), and get_VolIndex().
00359 {int i = get_SolidIndex(get_VolIndex(name));if( check_BooleanSolidId(i) ) BooleanSolid_type[i]=val;}
void SimpleGeometryParameter::set_BooleanSolid_type | ( | G4int | BooleanSolidId, | |
G4String | val | |||
) | [inline] |
Definition at line 349 of file SimpleGeometryParameter.hh.
References BooleanSolid_type, and check_BooleanSolidId().
00349 {if( check_BooleanSolidId(BooleanSolidId) ) BooleanSolid_type[BooleanSolidId]=val;}
void SimpleGeometryParameter::set_Box_X | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 217 of file SimpleGeometryParameter.hh.
References Box_X, get_SolidIndex(), and get_VolIndex().
00217 {int i = get_SolidIndex(get_VolIndex(name)); Box_X[i][j] = val;}
void SimpleGeometryParameter::set_Box_X | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 213 of file SimpleGeometryParameter.hh.
References Box_X.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00213 { Box_X[i][j] = val;}
void SimpleGeometryParameter::set_Box_Y | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 218 of file SimpleGeometryParameter.hh.
References Box_Y, get_SolidIndex(), and get_VolIndex().
00218 {int i = get_SolidIndex(get_VolIndex(name)); Box_Y[i][j] = val;}
void SimpleGeometryParameter::set_Box_Y | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 214 of file SimpleGeometryParameter.hh.
References Box_Y.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00214 { Box_Y[i][j] = val;}
void SimpleGeometryParameter::set_Box_Z | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 219 of file SimpleGeometryParameter.hh.
References Box_Z, get_SolidIndex(), and get_VolIndex().
00219 {int i = get_SolidIndex(get_VolIndex(name)); Box_Z[i][j] = val;}
void SimpleGeometryParameter::set_Box_Z | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 215 of file SimpleGeometryParameter.hh.
References Box_Z.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00215 { Box_Z[i][j] = val;}
void MyVGeometryParameter::set_checkoverlap | ( | bool | val | ) | [inline, inherited] |
Definition at line 73 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::checkoverlap.
Referenced by MyVGeometryParameterMessenger::MySetNewValue().
00073 { checkoverlap = val;}
void SimpleGeometryParameter::set_Cons_Length | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 310 of file SimpleGeometryParameter.hh.
References Cons_Length, get_SolidIndex(), and get_VolIndex().
00310 {int i = get_SolidIndex(get_VolIndex(name)); Cons_Length[i][j] = val;}
void SimpleGeometryParameter::set_Cons_Length | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 302 of file SimpleGeometryParameter.hh.
References Cons_Length.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00302 { Cons_Length[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMax1 | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 306 of file SimpleGeometryParameter.hh.
References Cons_RMax1, get_SolidIndex(), and get_VolIndex().
00306 {int i = get_SolidIndex(get_VolIndex(name)); Cons_RMax1[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMax1 | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 298 of file SimpleGeometryParameter.hh.
References Cons_RMax1.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00298 { Cons_RMax1[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMax2 | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 308 of file SimpleGeometryParameter.hh.
References Cons_RMax2, get_SolidIndex(), and get_VolIndex().
00308 {int i = get_SolidIndex(get_VolIndex(name)); Cons_RMax2[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMax2 | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 300 of file SimpleGeometryParameter.hh.
References Cons_RMax2.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00300 { Cons_RMax2[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMin1 | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 307 of file SimpleGeometryParameter.hh.
References Cons_RMin1, get_SolidIndex(), and get_VolIndex().
00307 {int i = get_SolidIndex(get_VolIndex(name)); Cons_RMin1[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMin1 | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 299 of file SimpleGeometryParameter.hh.
References Cons_RMin1.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00299 { Cons_RMin1[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMin2 | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 309 of file SimpleGeometryParameter.hh.
References Cons_RMin2, get_SolidIndex(), and get_VolIndex().
00309 {int i = get_SolidIndex(get_VolIndex(name)); Cons_RMin2[i][j] = val;}
void SimpleGeometryParameter::set_Cons_RMin2 | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 301 of file SimpleGeometryParameter.hh.
References Cons_RMin2.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00301 { Cons_RMin2[i][j] = val;}
void SimpleGeometryParameter::set_Cons_SpanAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 312 of file SimpleGeometryParameter.hh.
References Cons_SpanAng, get_SolidIndex(), and get_VolIndex().
00312 {int i = get_SolidIndex(get_VolIndex(name)); Cons_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Cons_SpanAng | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 304 of file SimpleGeometryParameter.hh.
References Cons_SpanAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00304 { Cons_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Cons_StartAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 311 of file SimpleGeometryParameter.hh.
References Cons_StartAng, get_SolidIndex(), and get_VolIndex().
00311 {int i = get_SolidIndex(get_VolIndex(name)); Cons_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_Cons_StartAng | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 303 of file SimpleGeometryParameter.hh.
References Cons_StartAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00303 { Cons_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_EllipticalTube_X | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 226 of file SimpleGeometryParameter.hh.
References EllipticalTube_X, get_SolidIndex(), and get_VolIndex().
00226 {int i = get_SolidIndex(get_VolIndex(name)); EllipticalTube_X[i][j] = val;}
void SimpleGeometryParameter::set_EllipticalTube_X | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 222 of file SimpleGeometryParameter.hh.
References EllipticalTube_X.
00222 { EllipticalTube_X[i][j] = val;}
void SimpleGeometryParameter::set_EllipticalTube_Y | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 227 of file SimpleGeometryParameter.hh.
References EllipticalTube_Y, get_SolidIndex(), and get_VolIndex().
00227 {int i = get_SolidIndex(get_VolIndex(name)); EllipticalTube_Y[i][j] = val;}
void SimpleGeometryParameter::set_EllipticalTube_Y | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 223 of file SimpleGeometryParameter.hh.
References EllipticalTube_Y.
00223 { EllipticalTube_Y[i][j] = val;}
void SimpleGeometryParameter::set_EllipticalTube_Z | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 228 of file SimpleGeometryParameter.hh.
References EllipticalTube_Z, get_SolidIndex(), and get_VolIndex().
00228 {int i = get_SolidIndex(get_VolIndex(name)); EllipticalTube_Z[i][j] = val;}
void SimpleGeometryParameter::set_EllipticalTube_Z | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 224 of file SimpleGeometryParameter.hh.
References EllipticalTube_Z.
00224 { EllipticalTube_Z[i][j] = val;}
void SimpleGeometryParameter::set_Ephi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 208 of file SimpleGeometryParameter.hh.
References Ephi, and get_VolIndex().
00208 { int k = get_VolIndex(name); Ephi[k][j] = val;}
void SimpleGeometryParameter::set_Ephi | ( | G4String | type, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 193 of file SimpleGeometryParameter.hh.
References Ephi, and get_index().
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_Epsi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 210 of file SimpleGeometryParameter.hh.
References Epsi, and get_VolIndex().
00210 { int k = get_VolIndex(name); Epsi[k][j] = val;}
void SimpleGeometryParameter::set_Epsi | ( | G4String | type, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 195 of file SimpleGeometryParameter.hh.
References Epsi, and get_index().
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_Etheta | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 209 of file SimpleGeometryParameter.hh.
References Etheta, and get_VolIndex().
00209 { int k = get_VolIndex(name); Etheta[k][j] = val;}
void SimpleGeometryParameter::set_Etheta | ( | G4String | type, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 194 of file SimpleGeometryParameter.hh.
References Etheta, and get_index().
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_ExtrudedSolid_numP | ( | G4String | name, | |
G4int | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 340 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, get_SolidIndex(), and get_VolIndex().
00340 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) ) ExtrudedSolid_numP[i] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_numP | ( | G4int | ExtrudedSolidId, | |
G4int | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 331 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), and ExtrudedSolid_numP.
00331 {if( check_ExtrudedSolidId(ExtrudedSolidId) ) ExtrudedSolid_numP[ExtrudedSolidId] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_numZ | ( | G4String | name, | |
G4int | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 339 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, get_SolidIndex(), and get_VolIndex().
00339 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) ) ExtrudedSolid_numZ[i] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_numZ | ( | G4int | ExtrudedSolidId, | |
G4int | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 330 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), and ExtrudedSolid_numZ.
00330 {if( check_ExtrudedSolidId(ExtrudedSolidId) ) ExtrudedSolid_numZ[ExtrudedSolidId] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Scale | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 346 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, ExtrudedSolid_Scale, get_SolidIndex(), and get_VolIndex().
00346 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) && iCone < ExtrudedSolid_numZ[i]) ExtrudedSolid_Scale[i][iCone][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Scale | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 337 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_Scale.
00337 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) ExtrudedSolid_Scale[ExtrudedSolidId][i][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_X | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 341 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, ExtrudedSolid_X, get_SolidIndex(), and get_VolIndex().
00341 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) && iCone < ExtrudedSolid_numP[i] ) ExtrudedSolid_X[i][iCone][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_X | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 332 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, and ExtrudedSolid_X.
00332 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numP[ExtrudedSolidId] ) ExtrudedSolid_X[ExtrudedSolidId][i][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_X0 | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 344 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, ExtrudedSolid_X0, get_SolidIndex(), and get_VolIndex().
00344 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) && iCone < ExtrudedSolid_numZ[i]) ExtrudedSolid_X0[i][iCone][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_X0 | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 335 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_X0.
00335 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) ExtrudedSolid_X0[ExtrudedSolidId][i][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Y | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 342 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, ExtrudedSolid_Y, get_SolidIndex(), and get_VolIndex().
00342 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) && iCone < ExtrudedSolid_numP[i] ) ExtrudedSolid_Y[i][iCone][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Y | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 333 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numP, and ExtrudedSolid_Y.
00333 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numP[ExtrudedSolidId] ) ExtrudedSolid_Y[ExtrudedSolidId][i][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Y0 | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 345 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, ExtrudedSolid_Y0, get_SolidIndex(), and get_VolIndex().
00345 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) && iCone < ExtrudedSolid_numZ[i]) ExtrudedSolid_Y0[i][iCone][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Y0 | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 336 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_Y0.
00336 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) ExtrudedSolid_Y0[ExtrudedSolidId][i][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Z | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 343 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, ExtrudedSolid_Z, get_SolidIndex(), and get_VolIndex().
00343 {int i = get_SolidIndex(get_VolIndex(name));if( check_ExtrudedSolidId(i) && iCone < ExtrudedSolid_numZ[i]) ExtrudedSolid_Z[i][iCone][j] = val;}
void SimpleGeometryParameter::set_ExtrudedSolid_Z | ( | G4int | ExtrudedSolidId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 334 of file SimpleGeometryParameter.hh.
References check_ExtrudedSolidId(), ExtrudedSolid_numZ, and ExtrudedSolid_Z.
00334 {if( check_ExtrudedSolidId(ExtrudedSolidId) && i < ExtrudedSolid_numZ[ExtrudedSolidId]) ExtrudedSolid_Z[ExtrudedSolidId][i][j] = val;}
void MyVGeometryParameter::set_filename | ( | G4String | val | ) | [inline, inherited] |
Definition at line 77 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::m_filename.
Referenced by InitFromFile().
00077 { m_filename = val; }
void SimpleGeometryParameter::set_g | ( | G4String | name, | |
G4double | val | |||
) | [inline] |
Definition at line 384 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and vG.
00384 {int k = get_VolIndex(name); vG[k] = val;}
void SimpleGeometryParameter::set_g | ( | G4int | i, | |
G4double | val | |||
) | [inline] |
void SimpleGeometryParameter::set_g | ( | G4String | type, | |
G4int | i, | |||
G4double | val | |||
) | [inline] |
Definition at line 372 of file SimpleGeometryParameter.hh.
References get_index(), and vG.
Referenced by GetValue(), and SimpleGeometryParameterMessenger::MySetNewValue().
void MyVGeometryParameter::set_GeometryParameterMessenger | ( | MyVGeometryParameterMessenger * | val | ) | [inline, inherited] |
Definition at line 75 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::m_GeometryParameterMessenger.
Referenced by SimpleGeometryParameter().
00075 {m_GeometryParameterMessenger = val;};
void SimpleGeometryParameter::set_Hype_innerRadius | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 278 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Hype_innerRadius.
00278 {int i = get_SolidIndex(get_VolIndex(name)); Hype_innerRadius[i][j] = val;}
void SimpleGeometryParameter::set_Hype_innerRadius | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 272 of file SimpleGeometryParameter.hh.
References Hype_innerRadius.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00272 { Hype_innerRadius[i][j] = val;}
void SimpleGeometryParameter::set_Hype_innerStereo | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 280 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Hype_innerStereo.
00280 {int i = get_SolidIndex(get_VolIndex(name)); Hype_innerStereo[i][j] = val;}
void SimpleGeometryParameter::set_Hype_innerStereo | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 274 of file SimpleGeometryParameter.hh.
References Hype_innerStereo.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00274 { Hype_innerStereo[i][j] = val;}
void SimpleGeometryParameter::set_Hype_Length | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 282 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Hype_Length.
00282 {int i = get_SolidIndex(get_VolIndex(name)); Hype_Length[i][j] = val;}
void SimpleGeometryParameter::set_Hype_Length | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 276 of file SimpleGeometryParameter.hh.
References Hype_Length.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00276 { Hype_Length[i][j] = val;}
void SimpleGeometryParameter::set_Hype_outerRadius | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 279 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Hype_outerRadius.
00279 {int i = get_SolidIndex(get_VolIndex(name)); Hype_outerRadius[i][j] = val;}
void SimpleGeometryParameter::set_Hype_outerRadius | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 273 of file SimpleGeometryParameter.hh.
References Hype_outerRadius.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00273 { Hype_outerRadius[i][j] = val;}
void SimpleGeometryParameter::set_Hype_outerStereo | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 281 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Hype_outerStereo.
00281 {int i = get_SolidIndex(get_VolIndex(name)); Hype_outerStereo[i][j] = val;}
void SimpleGeometryParameter::set_Hype_outerStereo | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 275 of file SimpleGeometryParameter.hh.
References Hype_outerStereo.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00275 { Hype_outerStereo[i][j] = val;}
void SimpleGeometryParameter::set_material | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 201 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and Material.
00201 { int k = get_VolIndex(name); Material[k] = val;}
void SimpleGeometryParameter::set_material | ( | G4String | type, | |
G4int | i, | |||
G4String | val | |||
) | [inline] |
Definition at line 190 of file SimpleGeometryParameter.hh.
References get_index(), and Material.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_MotherName | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 200 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and MotherName.
00200 { int k = get_VolIndex(name); MotherName[k] = val;}
void SimpleGeometryParameter::set_MotherName | ( | G4String | type, | |
G4int | i, | |||
G4String | val | |||
) | [inline] |
Definition at line 189 of file SimpleGeometryParameter.hh.
References get_index(), and MotherName.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00189 { int k = get_index(type, i); MotherName[k] = val;}
void MyVGeometryParameter::set_Name | ( | G4String | val | ) | [inline, inherited] |
Definition at line 76 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::m_Name.
Referenced by MyVGeometryParameter::MyVGeometryParameter().
00076 { m_Name = val; }
void SimpleGeometryParameter::set_name | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 198 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and Name.
00198 { int k = get_VolIndex(name); Name[k] = val;}
void SimpleGeometryParameter::set_name | ( | G4String | type, | |
G4int | i, | |||
G4String | val | |||
) | [inline] |
Definition at line 187 of file SimpleGeometryParameter.hh.
References get_index(), and Name.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_Polycone_numZ | ( | G4String | name, | |
G4int | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 322 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), get_SolidIndex(), get_VolIndex(), and Polycone_numZ.
00322 {int i = get_SolidIndex(get_VolIndex(name));if( check_PolyconeId(i) ) Polycone_numZ[i] = val;}
void SimpleGeometryParameter::set_Polycone_numZ | ( | G4int | PolyconeId, | |
G4int | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 315 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), and Polycone_numZ.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00315 {if( check_PolyconeId(PolyconeId) ) Polycone_numZ[PolyconeId] = val;}
void SimpleGeometryParameter::set_Polycone_RMax | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 323 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), get_SolidIndex(), get_VolIndex(), Polycone_numZ, and Polycone_RMax.
00323 {int i = get_SolidIndex(get_VolIndex(name));if( check_PolyconeId(i) && iCone < Polycone_numZ[i] ) Polycone_RMax[i][iCone][j] = val;}
void SimpleGeometryParameter::set_Polycone_RMax | ( | G4int | PolyconeId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 316 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), Polycone_numZ, and Polycone_RMax.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00316 {if( check_PolyconeId(PolyconeId) && i < Polycone_numZ[PolyconeId] ) Polycone_RMax[PolyconeId][i][j] = val;}
void SimpleGeometryParameter::set_Polycone_RMin | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 324 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), get_SolidIndex(), get_VolIndex(), Polycone_numZ, and Polycone_RMin.
00324 {int i = get_SolidIndex(get_VolIndex(name));if( check_PolyconeId(i) && iCone < Polycone_numZ[i] ) Polycone_RMin[i][iCone][j] = val;}
void SimpleGeometryParameter::set_Polycone_RMin | ( | G4int | PolyconeId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 317 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), Polycone_numZ, and Polycone_RMin.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00317 {if( check_PolyconeId(PolyconeId) && i < Polycone_numZ[PolyconeId] ) Polycone_RMin[PolyconeId][i][j] = val;}
void SimpleGeometryParameter::set_Polycone_SpanAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 327 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), get_SolidIndex(), get_VolIndex(), and Polycone_SpanAng.
00327 {int i = get_SolidIndex(get_VolIndex(name));if( check_PolyconeId(i) ) Polycone_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Polycone_SpanAng | ( | G4int | PolyconeId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 320 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), and Polycone_SpanAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00320 {if( check_PolyconeId(PolyconeId) ) Polycone_SpanAng[PolyconeId][j] = val;}
void SimpleGeometryParameter::set_Polycone_StartAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 326 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), get_SolidIndex(), get_VolIndex(), and Polycone_StartAng.
00326 {int i = get_SolidIndex(get_VolIndex(name));if( check_PolyconeId(i) ) Polycone_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_Polycone_StartAng | ( | G4int | PolyconeId, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 319 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), and Polycone_StartAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00319 {if( check_PolyconeId(PolyconeId) ) Polycone_StartAng[PolyconeId][j] = val;}
void SimpleGeometryParameter::set_Polycone_Z | ( | G4String | name, | |
G4int | iCone, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 325 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), get_SolidIndex(), get_VolIndex(), Polycone_numZ, and Polycone_Z.
00325 {int i = get_SolidIndex(get_VolIndex(name));if( check_PolyconeId(i) && iCone < Polycone_numZ[i]) Polycone_Z[i][iCone][j] = val;}
void SimpleGeometryParameter::set_Polycone_Z | ( | G4int | PolyconeId, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 318 of file SimpleGeometryParameter.hh.
References check_PolyconeId(), Polycone_numZ, and Polycone_Z.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00318 {if( check_PolyconeId(PolyconeId) && i < Polycone_numZ[PolyconeId]) Polycone_Z[PolyconeId][i][j] = val;}
void SimpleGeometryParameter::set_PosX | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 205 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and Pos.
00205 { int k = get_VolIndex(name); Pos[k][j].setX(val);}
void SimpleGeometryParameter::set_PosX | ( | G4String | type, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 184 of file SimpleGeometryParameter.hh.
References get_index(), and Pos.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_PosY | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 206 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and Pos.
00206 { int k = get_VolIndex(name); Pos[k][j].setY(val);}
void SimpleGeometryParameter::set_PosY | ( | G4String | type, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 185 of file SimpleGeometryParameter.hh.
References get_index(), and Pos.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_PosZ | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 207 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and Pos.
00207 { int k = get_VolIndex(name); Pos[k][j].setZ(val);}
void SimpleGeometryParameter::set_PosZ | ( | G4String | type, | |
G4int | i, | |||
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 186 of file SimpleGeometryParameter.hh.
References get_index(), and Pos.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_r | ( | G4String | name, | |
G4double | val | |||
) | [inline] |
Definition at line 383 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and vR.
00383 {int k = get_VolIndex(name); vR[k] = val;}
void SimpleGeometryParameter::set_r | ( | G4int | i, | |
G4double | val | |||
) | [inline] |
void SimpleGeometryParameter::set_r | ( | G4String | type, | |
G4int | i, | |||
G4double | val | |||
) | [inline] |
Definition at line 371 of file SimpleGeometryParameter.hh.
References get_index(), and vR.
Referenced by GetValue(), and SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_RepNo | ( | G4String | name, | |
G4int | val | |||
) | [inline] |
Definition at line 203 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and RepNo.
00203 { int k = get_VolIndex(name); RepNo[k] = val;}
void SimpleGeometryParameter::set_RepNo | ( | G4String | type, | |
G4int | i, | |||
G4int | val | |||
) | [inline] |
Definition at line 192 of file SimpleGeometryParameter.hh.
References get_index(), and RepNo.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_SDName | ( | G4String | name, | |
G4String | val | |||
) | [inline] |
Definition at line 199 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and SDName.
00199 { int k = get_VolIndex(name); SDName[k] = val;}
void SimpleGeometryParameter::set_SDName | ( | G4String | type, | |
G4int | i, | |||
G4String | val | |||
) | [inline] |
Definition at line 188 of file SimpleGeometryParameter.hh.
References get_index(), and SDName.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_SolidBoolean | ( | G4String | name, | |
G4int | val | |||
) | [inline] |
Definition at line 204 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and SolidBoolean.
00204 { int k = get_VolIndex(name); SolidBoolean[k] = val;}
void SimpleGeometryParameter::set_SolidBoolean | ( | G4String | type, | |
G4int | i, | |||
G4int | val | |||
) | [inline] |
Definition at line 196 of file SimpleGeometryParameter.hh.
References get_index(), and SolidBoolean.
00196 { int k = get_index(type, i); SolidBoolean[k] = val;}
void SimpleGeometryParameter::set_Sphere_RMax | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 264 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Sphere_RMax.
00264 {int i = get_SolidIndex(get_VolIndex(name)); Sphere_RMax[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_RMax | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 257 of file SimpleGeometryParameter.hh.
References Sphere_RMax.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00257 { Sphere_RMax[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_RMin | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 265 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Sphere_RMin.
00265 {int i = get_SolidIndex(get_VolIndex(name)); Sphere_RMin[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_RMin | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 258 of file SimpleGeometryParameter.hh.
References Sphere_RMin.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00258 { Sphere_RMin[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_SpanPhi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 267 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Sphere_SpanPhi.
00267 {int i = get_SolidIndex(get_VolIndex(name)); Sphere_SpanPhi[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_SpanPhi | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 260 of file SimpleGeometryParameter.hh.
References Sphere_SpanPhi.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00260 { Sphere_SpanPhi[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_SpanTheta | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 269 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Sphere_SpanTheta.
00269 {int i = get_SolidIndex(get_VolIndex(name)); Sphere_SpanTheta[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_SpanTheta | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 262 of file SimpleGeometryParameter.hh.
References Sphere_SpanTheta.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00262 { Sphere_SpanTheta[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_StartPhi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 266 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Sphere_StartPhi.
00266 {int i = get_SolidIndex(get_VolIndex(name)); Sphere_StartPhi[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_StartPhi | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 259 of file SimpleGeometryParameter.hh.
References Sphere_StartPhi.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00259 { Sphere_StartPhi[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_StartTheta | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 268 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Sphere_StartTheta.
00268 {int i = get_SolidIndex(get_VolIndex(name)); Sphere_StartTheta[i][j] = val;}
void SimpleGeometryParameter::set_Sphere_StartTheta | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 261 of file SimpleGeometryParameter.hh.
References Sphere_StartTheta.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00261 { Sphere_StartTheta[i][j] = val;}
void SimpleGeometryParameter::set_SRepNo | ( | G4String | name, | |
G4int | val | |||
) | [inline] |
Definition at line 202 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and SRepNo.
00202 { int k = get_VolIndex(name); SRepNo[k] = val;}
void SimpleGeometryParameter::set_SRepNo | ( | G4String | type, | |
G4int | i, | |||
G4int | val | |||
) | [inline] |
Definition at line 191 of file SimpleGeometryParameter.hh.
References get_index(), and SRepNo.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
void SimpleGeometryParameter::set_t | ( | G4String | name, | |
G4double | val | |||
) | [inline] |
Definition at line 386 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and vT.
00386 {int k = get_VolIndex(name); vT[k] = val;}
void SimpleGeometryParameter::set_t | ( | G4int | i, | |
G4double | val | |||
) | [inline] |
void SimpleGeometryParameter::set_t | ( | G4String | type, | |
G4int | i, | |||
G4double | val | |||
) | [inline] |
Definition at line 374 of file SimpleGeometryParameter.hh.
References get_index(), and vT.
Referenced by GetValue().
void SimpleGeometryParameter::set_Torus_RMax | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 250 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Torus_RMax.
00250 {int i = get_SolidIndex(get_VolIndex(name)); Torus_RMax[i][j] = val;}
void SimpleGeometryParameter::set_Torus_RMax | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 244 of file SimpleGeometryParameter.hh.
References Torus_RMax.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00244 { Torus_RMax[i][j] = val;}
void SimpleGeometryParameter::set_Torus_RMin | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 251 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Torus_RMin.
00251 {int i = get_SolidIndex(get_VolIndex(name)); Torus_RMin[i][j] = val;}
void SimpleGeometryParameter::set_Torus_RMin | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 245 of file SimpleGeometryParameter.hh.
References Torus_RMin.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00245 { Torus_RMin[i][j] = val;}
void SimpleGeometryParameter::set_Torus_Rtor | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 252 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Torus_Rtor.
00252 {int i = get_SolidIndex(get_VolIndex(name)); Torus_Rtor[i][j] = val;}
void SimpleGeometryParameter::set_Torus_Rtor | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 246 of file SimpleGeometryParameter.hh.
References Torus_Rtor.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00246 { Torus_Rtor[i][j] = val;}
void SimpleGeometryParameter::set_Torus_SpanAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 254 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Torus_SpanAng.
00254 {int i = get_SolidIndex(get_VolIndex(name)); Torus_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Torus_SpanAng | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 248 of file SimpleGeometryParameter.hh.
References Torus_SpanAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00248 { Torus_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Torus_StartAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 253 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Torus_StartAng.
00253 {int i = get_SolidIndex(get_VolIndex(name)); Torus_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_Torus_StartAng | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 247 of file SimpleGeometryParameter.hh.
References Torus_StartAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00247 { Torus_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_Length | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 239 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Tubs_Length.
00239 {int i = get_SolidIndex(get_VolIndex(name)); Tubs_Length[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_Length | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 233 of file SimpleGeometryParameter.hh.
References Tubs_Length.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00233 { Tubs_Length[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_RMax | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 237 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Tubs_RMax.
00237 {int i = get_SolidIndex(get_VolIndex(name)); Tubs_RMax[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_RMax | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 231 of file SimpleGeometryParameter.hh.
References Tubs_RMax.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00231 { Tubs_RMax[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_RMin | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 238 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Tubs_RMin.
00238 {int i = get_SolidIndex(get_VolIndex(name)); Tubs_RMin[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_RMin | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 232 of file SimpleGeometryParameter.hh.
References Tubs_RMin.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00232 { Tubs_RMin[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_SpanAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 241 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Tubs_SpanAng.
00241 {int i = get_SolidIndex(get_VolIndex(name)); Tubs_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_SpanAng | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 235 of file SimpleGeometryParameter.hh.
References Tubs_SpanAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00235 { Tubs_SpanAng[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_StartAng | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 240 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and Tubs_StartAng.
00240 {int i = get_SolidIndex(get_VolIndex(name)); Tubs_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_Tubs_StartAng | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 234 of file SimpleGeometryParameter.hh.
References Tubs_StartAng.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00234 { Tubs_StartAng[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_dphi | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 295 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and TwistedTubs_dphi.
00295 {int i = get_SolidIndex(get_VolIndex(name)); TwistedTubs_dphi[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_dphi | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 289 of file SimpleGeometryParameter.hh.
References TwistedTubs_dphi.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00289 { TwistedTubs_dphi[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_endinnerrad | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 292 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and TwistedTubs_endinnerrad.
00292 {int i = get_SolidIndex(get_VolIndex(name)); TwistedTubs_endinnerrad[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_endinnerrad | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 286 of file SimpleGeometryParameter.hh.
References TwistedTubs_endinnerrad.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00286 { TwistedTubs_endinnerrad[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_endouterrad | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 293 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and TwistedTubs_endouterrad.
00293 {int i = get_SolidIndex(get_VolIndex(name)); TwistedTubs_endouterrad[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_endouterrad | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 287 of file SimpleGeometryParameter.hh.
References TwistedTubs_endouterrad.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00287 { TwistedTubs_endouterrad[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_Length | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 294 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and TwistedTubs_Length.
00294 {int i = get_SolidIndex(get_VolIndex(name)); TwistedTubs_Length[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_Length | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 288 of file SimpleGeometryParameter.hh.
References TwistedTubs_Length.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00288 { TwistedTubs_Length[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_twistedangle | ( | G4String | name, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 291 of file SimpleGeometryParameter.hh.
References get_SolidIndex(), get_VolIndex(), and TwistedTubs_twistedangle.
00291 {int i = get_SolidIndex(get_VolIndex(name)); TwistedTubs_twistedangle[i][j] = val;}
void SimpleGeometryParameter::set_TwistedTubs_twistedangle | ( | G4int | i, | |
G4double | val, | |||
G4int | j = 0 | |||
) | [inline] |
Definition at line 285 of file SimpleGeometryParameter.hh.
References TwistedTubs_twistedangle.
Referenced by SimpleGeometryParameterMessenger::MySetNewValue().
00285 { TwistedTubs_twistedangle[i][j] = val;}
void MyVGeometryParameter::set_VerboseLevel | ( | int | val | ) | [inline, inherited] |
Definition at line 74 of file MyVGeometryParameter.hh.
References MyVGeometryParameter::fVerboseLevel.
Referenced by MyVGeometryParameterMessenger::MySetNewValue().
00074 { fVerboseLevel = val;}
void SimpleGeometryParameter::set_vis | ( | G4String | name, | |
bool | val | |||
) | [inline] |
Definition at line 382 of file SimpleGeometryParameter.hh.
References get_VolIndex(), and vVis.
00382 {int k = get_VolIndex(name); vVis[k] = val;}
void SimpleGeometryParameter::set_vis | ( | G4int | i, | |
bool | val | |||
) | [inline] |
void SimpleGeometryParameter::set_vis | ( | G4String | type, | |
G4int | i, | |||
bool | val | |||
) | [inline] |
Definition at line 370 of file SimpleGeometryParameter.hh.
References get_index(), and vVis.
Referenced by GetValue(), and SimpleGeometryParameterMessenger::MySetNewValue().
G4int SimpleGeometryParameter::achieved_componets_Polycone [private] |
Definition at line 721 of file SimpleGeometryParameter.hh.
Referenced by GetValue(), and Preset().
G4int SimpleGeometryParameter::achieved_P_ExtrudedSolid [private] |
Definition at line 741 of file SimpleGeometryParameter.hh.
Referenced by GetValue(), and Preset().
G4int SimpleGeometryParameter::achieved_Z_ExtrudedSolid [private] |
Definition at line 742 of file SimpleGeometryParameter.hh.
Referenced by GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::BooleanSolid_Ephi [private] |
Definition at line 750 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_BooleanSolid_Ephi(), Preset(), and set_BooleanSolid_Ephi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::BooleanSolid_Epsi [private] |
Definition at line 752 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_BooleanSolid_Epsi(), Preset(), and set_BooleanSolid_Epsi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::BooleanSolid_Etheta [private] |
Definition at line 751 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_BooleanSolid_Etheta(), Preset(), and set_BooleanSolid_Etheta().
std::vector<G4int> SimpleGeometryParameter::BooleanSolid_GenIndex [private] |
Definition at line 749 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4ThreeVector> > SimpleGeometryParameter::BooleanSolid_Pos [private] |
Definition at line 753 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_BooleanSolid_PosX(), get_BooleanSolid_PosY(), get_BooleanSolid_PosZ(), Preset(), set_BooleanSolid_PosX(), set_BooleanSolid_PosY(), and set_BooleanSolid_PosZ().
std::vector<G4String> SimpleGeometryParameter::BooleanSolid_PosType [private] |
Definition at line 763 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::BooleanSolid_sol1 [private] |
Definition at line 747 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_BooleanSolid_sol1(), GetValue(), Preset(), and set_BooleanSolid_sol1().
std::vector<G4String> SimpleGeometryParameter::BooleanSolid_sol2 [private] |
Definition at line 748 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_BooleanSolid_sol2(), GetValue(), Preset(), and set_BooleanSolid_sol2().
std::vector<G4String> SimpleGeometryParameter::BooleanSolid_type [private] |
Definition at line 746 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_BooleanSolid_type(), GetValue(), Preset(), and set_BooleanSolid_type().
G4int SimpleGeometryParameter::BooleanSolidNo [private] |
Definition at line 745 of file SimpleGeometryParameter.hh.
Referenced by check_BooleanSolidId(), check_BooleanSolidNo(), DumpInfo(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::Box_GenIndex [private] |
Definition at line 604 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Box_X [private] |
Definition at line 598 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Box_X(), Preset(), and set_Box_X().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Box_Y [private] |
Definition at line 599 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Box_Y(), Preset(), and set_Box_Y().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Box_Z [private] |
Definition at line 600 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Box_Z(), Preset(), and set_Box_Z().
G4int SimpleGeometryParameter::BoxNo [private] |
Definition at line 597 of file SimpleGeometryParameter.hh.
Referenced by check_BoxId(), check_BoxNo(), DumpInfo(), get_BoxNo(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::Cons_GenIndex [private] |
Definition at line 704 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_Length [private] |
Definition at line 701 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_Length(), Preset(), and set_Cons_Length().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_RMax1 [private] |
Definition at line 697 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_RMax1(), Preset(), and set_Cons_RMax1().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_RMax2 [private] |
Definition at line 699 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_RMax2(), Preset(), and set_Cons_RMax2().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_RMin1 [private] |
Definition at line 698 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_RMin1(), Preset(), and set_Cons_RMin1().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_RMin2 [private] |
Definition at line 700 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_RMin2(), Preset(), and set_Cons_RMin2().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_SpanAng [private] |
Definition at line 703 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_SpanAng(), Preset(), and set_Cons_SpanAng().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Cons_StartAng [private] |
Definition at line 702 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Cons_StartAng(), Preset(), and set_Cons_StartAng().
G4int SimpleGeometryParameter::ConsNo [private] |
Definition at line 689 of file SimpleGeometryParameter.hh.
Referenced by check_ConsId(), check_ConsNo(), DumpInfo(), get_ConsNo(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::EllipticalTube_GenIndex [private] |
Definition at line 614 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::EllipticalTube_X [private] |
Definition at line 608 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_EllipticalTube_X(), Preset(), and set_EllipticalTube_X().
std::vector<std::vector<G4double> > SimpleGeometryParameter::EllipticalTube_Y [private] |
Definition at line 609 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_EllipticalTube_Y(), Preset(), and set_EllipticalTube_Y().
std::vector<std::vector<G4double> > SimpleGeometryParameter::EllipticalTube_Z [private] |
Definition at line 610 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_EllipticalTube_Z(), Preset(), and set_EllipticalTube_Z().
G4int SimpleGeometryParameter::EllipticalTubeNo [private] |
Definition at line 607 of file SimpleGeometryParameter.hh.
Referenced by check_EllipticalTubeId(), DumpInfo(), get_EllipticalTubeNo(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Ephi [private] |
Definition at line 588 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), get_Ephi(), Preset(), and set_Ephi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Epsi [private] |
Definition at line 590 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), get_Epsi(), Preset(), and set_Epsi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Etheta [private] |
Definition at line 589 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), get_Etheta(), Preset(), and set_Etheta().
std::vector<G4int> SimpleGeometryParameter::ExtrudedSolid_GenIndex [private] |
Definition at line 739 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::ExtrudedSolid_numP [private] |
Definition at line 726 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_numP(), get_ExtrudedSolid_X(), get_ExtrudedSolid_Y(), GetValue(), Preset(), set_ExtrudedSolid_numP(), set_ExtrudedSolid_X(), and set_ExtrudedSolid_Y().
std::vector<G4int> SimpleGeometryParameter::ExtrudedSolid_numZ [private] |
Definition at line 725 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_numZ(), get_ExtrudedSolid_Scale(), get_ExtrudedSolid_X0(), get_ExtrudedSolid_Y0(), get_ExtrudedSolid_Z(), GetValue(), Preset(), set_ExtrudedSolid_numZ(), set_ExtrudedSolid_Scale(), set_ExtrudedSolid_X0(), set_ExtrudedSolid_Y0(), and set_ExtrudedSolid_Z().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::ExtrudedSolid_Scale [private] |
Definition at line 738 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_Scale(), Preset(), and set_ExtrudedSolid_Scale().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::ExtrudedSolid_X [private] |
Definition at line 733 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_X(), Preset(), and set_ExtrudedSolid_X().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::ExtrudedSolid_X0 [private] |
Definition at line 736 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_X0(), Preset(), and set_ExtrudedSolid_X0().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::ExtrudedSolid_Y [private] |
Definition at line 734 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_Y(), Preset(), and set_ExtrudedSolid_Y().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::ExtrudedSolid_Y0 [private] |
Definition at line 737 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_Y0(), Preset(), and set_ExtrudedSolid_Y0().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::ExtrudedSolid_Z [private] |
Definition at line 735 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_ExtrudedSolid_Z(), Preset(), and set_ExtrudedSolid_Z().
G4int SimpleGeometryParameter::ExtrudedSolidNo [private] |
Definition at line 724 of file SimpleGeometryParameter.hh.
Referenced by check_ExtrudedSolidId(), check_ExtrudedSolidNo(), DumpInfo(), get_ExtrudedSolidNo(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_Ephi [private] |
Definition at line 754 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_Epsi [private] |
Definition at line 756 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_Etheta [private] |
Definition at line 755 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_PosPhi [private] |
Definition at line 761 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_PosR [private] |
Definition at line 762 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_PosTheta [private] |
Definition at line 760 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_PosX [private] |
Definition at line 757 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_PosY [private] |
Definition at line 758 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBooleanSolid_PosZ [private] |
Definition at line 759 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBox_X [private] |
Definition at line 601 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBox_Y [private] |
Definition at line 602 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fBox_Z [private] |
Definition at line 603 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_Length [private] |
Definition at line 694 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_RMax1 [private] |
Definition at line 690 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_RMax2 [private] |
Definition at line 692 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_RMin1 [private] |
Definition at line 691 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_RMin2 [private] |
Definition at line 693 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_SpanAng [private] |
Definition at line 696 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fCons_StartAng [private] |
Definition at line 695 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fEllipticalTube_X [private] |
Definition at line 611 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fEllipticalTube_Y [private] |
Definition at line 612 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fEllipticalTube_Z [private] |
Definition at line 613 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fEphi [private] |
Definition at line 591 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fEpsi [private] |
Definition at line 593 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fEtheta [private] |
Definition at line 592 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fExtrudedSolid_Scale [private] |
Definition at line 732 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fExtrudedSolid_X [private] |
Definition at line 727 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fExtrudedSolid_X0 [private] |
Definition at line 730 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fExtrudedSolid_Y [private] |
Definition at line 728 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fExtrudedSolid_Y0 [private] |
Definition at line 731 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fExtrudedSolid_Z [private] |
Definition at line 729 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fHype_innerRadius [private] |
Definition at line 662 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fHype_innerStereo [private] |
Definition at line 664 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fHype_Length [private] |
Definition at line 666 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fHype_outerRadius [private] |
Definition at line 663 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fHype_outerStereo [private] |
Definition at line 665 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fPolycone_RMax [private] |
Definition at line 709 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fPolycone_RMin [private] |
Definition at line 710 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPolycone_SpanAng [private] |
Definition at line 716 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPolycone_StartAng [private] |
Definition at line 715 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<std::vector<G4String> > SimpleGeometryParameter::fPolycone_Z [private] |
Definition at line 711 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPosPhi [private] |
Definition at line 576 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPosR [private] |
Definition at line 575 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPosTheta [private] |
Definition at line 577 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPosX [private] |
Definition at line 572 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPosY [private] |
Definition at line 573 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fPosZ [private] |
Definition at line 574 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fSphere_RMax [private] |
Definition at line 646 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fSphere_RMin [private] |
Definition at line 647 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fSphere_SpanPhi [private] |
Definition at line 649 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fSphere_SpanTheta [private] |
Definition at line 651 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fSphere_StartPhi [private] |
Definition at line 648 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fSphere_StartTheta [private] |
Definition at line 650 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTorus_RMax [private] |
Definition at line 632 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTorus_RMin [private] |
Definition at line 633 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTorus_Rtor [private] |
Definition at line 634 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTorus_SpanAng [private] |
Definition at line 636 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTorus_StartAng [private] |
Definition at line 635 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTubs_Length [private] |
Definition at line 625 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTubs_RMax [private] |
Definition at line 623 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTubs_RMin [private] |
Definition at line 624 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTubs_SpanAng [private] |
Definition at line 627 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTubs_StartAng [private] |
Definition at line 626 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTwistedTubs_dphi [private] |
Definition at line 680 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTwistedTubs_endinnerrad [private] |
Definition at line 677 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTwistedTubs_endouterrad [private] |
Definition at line 678 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTwistedTubs_Length [private] |
Definition at line 679 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::fTwistedTubs_twistedangle [private] |
Definition at line 676 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::Hype_GenIndex [private] |
Definition at line 672 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Hype_innerRadius [private] |
Definition at line 667 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Hype_innerRadius(), Preset(), and set_Hype_innerRadius().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Hype_innerStereo [private] |
Definition at line 669 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Hype_innerStereo(), Preset(), and set_Hype_innerStereo().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Hype_Length [private] |
Definition at line 671 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Hype_Length(), Preset(), and set_Hype_Length().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Hype_outerRadius [private] |
Definition at line 668 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Hype_outerRadius(), Preset(), and set_Hype_outerRadius().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Hype_outerStereo [private] |
Definition at line 670 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Hype_outerStereo(), Preset(), and set_Hype_outerStereo().
G4int SimpleGeometryParameter::HypeNo [private] |
Definition at line 661 of file SimpleGeometryParameter.hh.
Referenced by check_HypeId(), check_HypeNo(), DumpInfo(), get_HypeNo(), GetValue(), and Preset().
std::vector< G4String > MyConfigure::knownValueNames [static, inherited] |
Definition at line 24 of file MyConfigure.hh.
Referenced by MyConfigure::FindMacro(), GetValue(), and PrimaryGeneratorAction::ReadCard().
std::vector< G4String > MyConfigure::knownValues [static, inherited] |
Definition at line 25 of file MyConfigure.hh.
Referenced by MyConfigure::FindMacro(), GetValue(), and PrimaryGeneratorAction::ReadCard().
std::vector<G4String> SimpleGeometryParameter::Material [private] |
Definition at line 583 of file SimpleGeometryParameter.hh.
Referenced by dump_general_value(), get_material(), GetValue(), Preset(), and set_material().
std::vector<G4String> SimpleGeometryParameter::MotherName [private] |
Definition at line 581 of file SimpleGeometryParameter.hh.
Referenced by dump_general_value(), get_MotherName(), GetValue(), Preset(), and set_MotherName().
std::vector<G4String> SimpleGeometryParameter::Name [private] |
Definition at line 580 of file SimpleGeometryParameter.hh.
Referenced by dump_general_value(), get_name(), get_VolIndex(), GetValue(), Preset(), and set_name().
bool SimpleGeometryParameter::notReSetVis [private] |
Definition at line 770 of file SimpleGeometryParameter.hh.
Referenced by GetValue(), Preset(), and ReSetVis().
std::vector<G4int> SimpleGeometryParameter::Polycone_GenIndex [private] |
Definition at line 719 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::Polycone_numZ [private] |
Definition at line 708 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Polycone_numZ(), get_Polycone_RMax(), get_Polycone_RMin(), get_Polycone_Z(), GetValue(), Preset(), set_Polycone_numZ(), set_Polycone_RMax(), set_Polycone_RMin(), and set_Polycone_Z().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::Polycone_RMax [private] |
Definition at line 712 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Polycone_RMax(), Preset(), and set_Polycone_RMax().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::Polycone_RMin [private] |
Definition at line 713 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Polycone_RMin(), Preset(), and set_Polycone_RMin().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Polycone_SpanAng [private] |
Definition at line 718 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Polycone_SpanAng(), Preset(), and set_Polycone_SpanAng().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Polycone_StartAng [private] |
Definition at line 717 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Polycone_StartAng(), Preset(), and set_Polycone_StartAng().
std::vector<std::vector<std::vector<G4double> > > SimpleGeometryParameter::Polycone_Z [private] |
Definition at line 714 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Polycone_Z(), Preset(), and set_Polycone_Z().
G4int SimpleGeometryParameter::PolyconeNo [private] |
Definition at line 707 of file SimpleGeometryParameter.hh.
Referenced by check_PolyconeId(), check_PolyconeNo(), DumpInfo(), get_PolyconeNo(), GetValue(), and Preset().
std::vector<std::vector<G4ThreeVector> > SimpleGeometryParameter::Pos [private] |
Definition at line 579 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), get_PosX(), get_PosY(), get_PosZ(), Preset(), set_PosX(), set_PosY(), and set_PosZ().
std::vector<G4String> SimpleGeometryParameter::PosType [private] |
Definition at line 578 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::RepNo [private] |
Definition at line 585 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), DumpInfo(), get_RepNo(), GetValue(), Preset(), and set_RepNo().
std::vector<G4String> SimpleGeometryParameter::SDName [private] |
Definition at line 582 of file SimpleGeometryParameter.hh.
Referenced by dump_general_value(), get_SDName(), GetValue(), Preset(), and set_SDName().
std::vector<G4bool> SimpleGeometryParameter::SolidBoolean [private] |
Definition at line 594 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), dump_general_value(), get_SolidBoolean(), GetValue(), Preset(), and set_SolidBoolean().
std::vector<G4int> SimpleGeometryParameter::SolidIndex [private] |
Definition at line 587 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), get_SolidIndex(), GetValue(), and Preset().
std::vector<G4String> SimpleGeometryParameter::SolidType [private] |
Definition at line 586 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), get_SolidType(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::Sphere_GenIndex [private] |
Definition at line 658 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Sphere_RMax [private] |
Definition at line 652 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Sphere_RMax(), Preset(), and set_Sphere_RMax().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Sphere_RMin [private] |
Definition at line 653 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Sphere_RMin(), Preset(), and set_Sphere_RMin().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Sphere_SpanPhi [private] |
Definition at line 655 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Sphere_SpanPhi(), Preset(), and set_Sphere_SpanPhi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Sphere_SpanTheta [private] |
Definition at line 657 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Sphere_SpanTheta(), Preset(), and set_Sphere_SpanTheta().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Sphere_StartPhi [private] |
Definition at line 654 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Sphere_StartPhi(), Preset(), and set_Sphere_StartPhi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Sphere_StartTheta [private] |
Definition at line 656 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Sphere_StartTheta(), Preset(), and set_Sphere_StartTheta().
G4int SimpleGeometryParameter::SphereNo [private] |
Definition at line 645 of file SimpleGeometryParameter.hh.
Referenced by check_SphereId(), check_SphereNo(), DumpInfo(), get_SphereNo(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::SRepNo [private] |
Definition at line 584 of file SimpleGeometryParameter.hh.
Referenced by get_SRepNo(), GetValue(), Preset(), and set_SRepNo().
std::vector<G4int> SimpleGeometryParameter::Torus_GenIndex [private] |
Definition at line 642 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Torus_RMax [private] |
Definition at line 637 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Torus_RMax(), Preset(), and set_Torus_RMax().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Torus_RMin [private] |
Definition at line 638 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Torus_RMin(), Preset(), and set_Torus_RMin().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Torus_Rtor [private] |
Definition at line 639 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Torus_Rtor(), Preset(), and set_Torus_Rtor().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Torus_SpanAng [private] |
Definition at line 641 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Torus_SpanAng(), Preset(), and set_Torus_SpanAng().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Torus_StartAng [private] |
Definition at line 640 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Torus_StartAng(), Preset(), and set_Torus_StartAng().
G4int SimpleGeometryParameter::TorusNo [private] |
Definition at line 631 of file SimpleGeometryParameter.hh.
Referenced by check_TorusId(), check_TorusNo(), DumpInfo(), get_TorusNo(), GetValue(), and Preset().
std::vector<G4int> SimpleGeometryParameter::Tubs_GenIndex [private] |
Definition at line 628 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Tubs_Length [private] |
Definition at line 620 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Tubs_Length(), Preset(), and set_Tubs_Length().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Tubs_RMax [private] |
Definition at line 618 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Tubs_RMax(), Preset(), and set_Tubs_RMax().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Tubs_RMin [private] |
Definition at line 619 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Tubs_RMin(), Preset(), and set_Tubs_RMin().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Tubs_SpanAng [private] |
Definition at line 622 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Tubs_SpanAng(), Preset(), and set_Tubs_SpanAng().
std::vector<std::vector<G4double> > SimpleGeometryParameter::Tubs_StartAng [private] |
Definition at line 621 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_Tubs_StartAng(), Preset(), and set_Tubs_StartAng().
G4int SimpleGeometryParameter::TubsNo [private] |
Definition at line 617 of file SimpleGeometryParameter.hh.
Referenced by check_TubsId(), check_TubsNo(), DumpInfo(), get_TubsNo(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::TwistedTubs_dphi [private] |
Definition at line 685 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_TwistedTubs_dphi(), Preset(), and set_TwistedTubs_dphi().
std::vector<std::vector<G4double> > SimpleGeometryParameter::TwistedTubs_endinnerrad [private] |
Definition at line 682 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_TwistedTubs_endinnerrad(), Preset(), and set_TwistedTubs_endinnerrad().
std::vector<std::vector<G4double> > SimpleGeometryParameter::TwistedTubs_endouterrad [private] |
Definition at line 683 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_TwistedTubs_endouterrad(), Preset(), and set_TwistedTubs_endouterrad().
std::vector<G4int> SimpleGeometryParameter::TwistedTubs_GenIndex [private] |
Definition at line 686 of file SimpleGeometryParameter.hh.
Referenced by DumpInfo(), get_index(), GetValue(), and Preset().
std::vector<std::vector<G4double> > SimpleGeometryParameter::TwistedTubs_Length [private] |
Definition at line 684 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_TwistedTubs_Length(), Preset(), and set_TwistedTubs_Length().
std::vector<std::vector<G4double> > SimpleGeometryParameter::TwistedTubs_twistedangle [private] |
Definition at line 681 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), DumpInfo(), get_TwistedTubs_twistedangle(), Preset(), and set_TwistedTubs_twistedangle().
G4int SimpleGeometryParameter::TwistedTubsNo [private] |
Definition at line 675 of file SimpleGeometryParameter.hh.
Referenced by check_TwistedTubsId(), check_TwistedTubsNo(), DumpInfo(), get_TwistedTubsNo(), GetValue(), and Preset().
std::vector<G4double> SimpleGeometryParameter::vB [private] |
Definition at line 767 of file SimpleGeometryParameter.hh.
Referenced by get_b(), ReSetVis(), and set_b().
std::vector<G4double> SimpleGeometryParameter::vG [private] |
Definition at line 767 of file SimpleGeometryParameter.hh.
Referenced by get_g(), ReSetVis(), and set_g().
G4int SimpleGeometryParameter::VolNo [private] |
Definition at line 571 of file SimpleGeometryParameter.hh.
Referenced by Calculate(), check_VolId(), get_VolIndex(), get_VolNo(), GetValue(), Preset(), and ReSetVis().
std::vector<G4double> SimpleGeometryParameter::vR [private] |
Definition at line 767 of file SimpleGeometryParameter.hh.
Referenced by get_r(), ReSetVis(), and set_r().
std::vector<G4double> SimpleGeometryParameter::vT [private] |
Definition at line 767 of file SimpleGeometryParameter.hh.
Referenced by get_t(), ReSetVis(), and set_t().
std::vector<bool> SimpleGeometryParameter::vVis [private] |
Definition at line 766 of file SimpleGeometryParameter.hh.
Referenced by get_vis(), ReSetVis(), and set_vis().
G4int SimpleGeometryParameter::waited_ExtrudedSolid_iVol [private] |
Definition at line 740 of file SimpleGeometryParameter.hh.
Referenced by GetValue(), and Preset().
G4int SimpleGeometryParameter::waited_Polycone_iVol [private] |
Definition at line 720 of file SimpleGeometryParameter.hh.
Referenced by GetValue(), and Preset().