58 : polarizationManager(polMgr)
61 polarizationDirectory->
SetGuidance(
"polarization control commands.");
63 managerDirectory =
new G4UIdirectory(
"/polarization/manager/");
64 managerDirectory->
SetGuidance(
"general polarization information.");
67 verboseCmd->
SetGuidance(
"Set the Verbose level of G4PolarizationManager.");
72 verboseCmd->
SetRange(
"level >=0 && level <=1");
74 optActivateCmd =
new G4UIcmdWithABool(
"/polarization/manager/activate",
this);
75 optActivateCmd->
SetGuidance(
"activate/deactivate polarization treatment");
81 volumeDirectory->
SetGuidance(
"Status control commands of registered polarized logical volumes.");
84 printVolumeListCmd->
SetGuidance(
"print list of registered polarized logical volumes");
87 setPolarizationCmd =
new G4UIcommand(
"/polarization/volume/set",
this);
88 setPolarizationCmd->
SetGuidance(
"set or change polarization of a logical volume");
108 testDirectory->
SetGuidance(
"provides access to some internal test routines.");
110 testPolarizationTransformationCmd =
new G4UIcmdWithoutParameter(
"/polarization/test/polarizationTransformation",
this);
111 testPolarizationTransformationCmd->
SetGuidance(
"checks definition of particle reference frame and corresponding translation routines");
125 if( command==verboseCmd ) {
128 else if ( command==optActivateCmd ) {
131 else if ( command==printVolumeListCmd ) {
134 else if ( command==setPolarizationCmd ) {
151 else if ( command==testPolarizationTransformationCmd ) {
154 else if (command==testInteractionFrameCmd ) {
162 if( command==verboseCmd )