19#ifndef BDSBEAMPIPEFACTORYRACETRACK_H
20#define BDSBEAMPIPEFACTORYRACETRACK_H
22#include "BDSBeamPipeFactoryPoints.hh"
55 G4double beamPipeThickness,
56 G4int pointsPerTwoPi = 40);
63 G4double beamPipeThickness);
65 void GenerateRaceTrack(std::vector<G4TwoVector>& vec,
69 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.