22 preStepPoint(G4ThreeVector()),
23 postStepPoint(G4ThreeVector()),
24 volumeForTransform(nullptr)
27BDSStep::BDSStep(G4ThreeVector preStepPointIn,
28 G4ThreeVector postStepPointIn,
29 G4VPhysicalVolume* volumeForTransformIn):
30 preStepPoint(preStepPointIn),
31 postStepPoint(postStepPointIn),
32 volumeForTransform(volumeForTransformIn)
40 G4ThreeVector preR = preStepPoint.rotateZ(angle);
41 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.