95 for(
int n = 0;
n < _nPoint;
n++) {
100 for(
int l = 0; l < 21; l++) {
102 line.push_back(
G4Point3D(-0.9, -0.905+0.05*
n+0.002*l, 0.));
103 line.push_back(
G4Point3D(-0.75, -0.905+0.05*
n+0.002*l, 0.));
113 std::ostringstream oss;
114 oss << std::setw(8) << std::setprecision(1) << std::scientific << v;
115 std::string str = oss.str();
121 text.SetScreenSize(size);
123 G4Colour color(c[0], c[1], c[2], 1.);
125 text.SetVisAttributes(&att);
134 for(
int l = 0; l < 22; l++) {
136 line.push_back(
G4Point3D(-0.92, -0.965+0.002*l, 0.));
137 line.push_back(
G4Point3D(-0.92+0.025*lpsname, -0.965+0.002*l, 0.));
147 txtpsname.SetScreenSize(size);
150 txtpsname.SetVisAttributes(&att);
159 for(
int l = 0; l < 21; l++) {
161 line.push_back(
G4Point3D(-0.7, -0.9+0.002*l, 0.));
162 line.push_back(
G4Point3D(-0.7+0.025*len, -0.9+0.002*l, 0.));
173 txtunit.SetScreenSize(size);
176 txtunit.SetVisAttributes(&att);
G4VVisManager * fVisManager
virtual void GetMapColor(G4double val, G4double color[4])=0
HepGeom::Point3D< G4double > G4Point3D
virtual void EndDraw2D()=0
const XML_Char int const XML_Char * value
virtual void BeginDraw2D(const G4Transform3D &objectTransformation=G4Transform3D())=0
void SetVisAttributes(const G4VisAttributes *)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
virtual void Draw2D(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0