23 preStepPoint(G4ThreeVector()),
24 postStepPoint(G4ThreeVector()),
25 volumeForTransform(nullptr)
28BDSStep::BDSStep(G4ThreeVector preStepPointIn,
29 G4ThreeVector postStepPointIn,
30 G4VPhysicalVolume* volumeForTransformIn):
31 preStepPoint(preStepPointIn),
32 postStepPoint(postStepPointIn),
33 volumeForTransform(volumeForTransformIn)
41 G4ThreeVector preR = preStepPoint.rotateZ(angle);
42 G4ThreeVector posR = postStepPoint.rotateZ(angle);
A simple class to represent the positions of a step.
BDSStep rotateZ(const G4double &angle)
Mirror function to G4ThreeVector::rotateZ(). Returns copy that's rotated.
G4VPhysicalVolume * volumeForTransform
The volume that was used for the transform.