76 G4int iRow = evId / nColumn;
77 G4int iColumn = evId % nColumn;
82 { rayDirection =
G4ThreeVector(-std::tan(angleX)/std::cos(angleY),std::tan(angleY)/std::cos(angleX),1.0); }
84 { rayDirection =
G4ThreeVector(-std::tan(angleX),std::tan(angleY),1.0); }
89 G4double gam = std::atan2(ct*cp*up.
x()+ct*sp*up.
y()-st*up.
z(), -sp*up.
x()+cp*up.
y());
91 rayDirection.
rotateZ(headAngle);
98 DistanceToIn(rayPosition,rayDirection);
99 if(outsideDistance != kInfinity)
100 { rayPosition = rayPosition + (outsideDistance+0.001)*rayDirection; }
119 particle_polarization.
y(),
120 particle_polarization.
z());
G4double GetPDGMass() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
void SetPolarization(const G4ThreeVector &pol)
void SetKineticEnergy(G4double eKin)
void SetMomentumDirection(const G4ThreeVector &p)
void SetMass(G4double mas)