Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -77,7 +77,7 @@ public: //curve
|
||||
{x = 0;y = 0;z = 1;
|
||||
m_model.mul_dir_3(x,y,z);
|
||||
a_nor.set_value(x,y,z);}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
public:
|
||||
@@ -160,15 +160,15 @@ protected:
|
||||
void update_sg() {
|
||||
m_xyzs.clear();
|
||||
if(!steps.value()) return;
|
||||
|
||||
|
||||
unsigned int num = steps.value();
|
||||
|
||||
|
||||
//set number of points approximatively proportional to the ellipse circumference
|
||||
//float circ = kPI*(r1+r2)*(phi2-phi1)/360;
|
||||
//Int_t n = (Int_t)(np*circ/((gPad->GetX2()-gPad->GetX1())+(gPad->GetY2()-gPad->GetY1())));
|
||||
//if (n < 8) n= 8;
|
||||
//if (n > np) n = np;
|
||||
|
||||
|
||||
m_xyzs.resize((num+1)*3);
|
||||
|
||||
float phimin = phi_min.value();
|
||||
|
||||
Reference in New Issue
Block a user