18#ifndef BDSBEAMPIPEFACTORYRACETRACK_H
19#define BDSBEAMPIPEFACTORYRACETRACK_H
21#include "BDSBeamPipeFactoryPoints.hh"
54 G4double beamPipeThickness,
55 G4int pointsPerTwoPi = 40);
62 G4double beamPipeThickness);
64 void GenerateRaceTrack(std::vector<G4TwoVector>& vec,
68 G4int pointsPerTowPi);
Factory for beam pipes defined by a series of x,y points that are extruded.
Factory for racetrack aperture model beampipes.
virtual void GeneratePoints(G4double aper1, G4double aper2, G4double aper3, G4double aper4, G4double beamPipeThickness, G4int pointsPerTwoPi=40)
virtual G4double CalculateIntersectionRadius(G4double aper1, G4double aper2, G4double aper3, G4double aper4, G4double beamPipeThickness)
Calculate the radius of the solid used for intersection for angled faces.