|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Factory for elliptical SRF cavity geometry. More...
#include <BDSCavityFactoryPillBox.hh>


Public Member Functions | |
| virtual G4double | CreateSolids (const G4String &name, G4double totalChordLength, const BDSCavityInfo *info) |
| Create vacuumSolid and cavitySolid. Must return the container radius. | |
Public Member Functions inherited from BDSCavityFactoryBase | |
| BDSCavity * | CreateCavity (const G4String &name, G4double totalChordLength, const BDSCavityInfo *info, G4Material *vacuumMaterial) |
Public Member Functions inherited from BDSFactoryBase | |
| virtual void | FactoryBaseCleanUp () |
| Empty containers for next use - factories are never deleted so can't rely on scope. | |
Additional Inherited Members | |
Protected Member Functions inherited from BDSCavityFactoryBase | |
| virtual void | CleanUp () |
| Ensure all internal members are reset before reuse. Calls CleanUpBase. | |
| void | CleanUpBase () |
| Non-virtual clean up that can be used in the constructor safely. | |
| virtual void | CreateLogicalVolumes (const G4String &name, const BDSCavityInfo *info, G4Material *vacuumMaterial) |
| Create vacuumLV, cavityLV and containerLV. | |
| virtual void | SetUserLimits (G4double length) |
| virtual void | SetVisAttributes (const G4String &colourName="rfcavity") |
| Set vis attributes for cavityLV, vacuumLV and containerLV. | |
| virtual void | PlaceComponents (const G4String &name) |
| Place the vacuum and cavity centrally in the container logical volume. | |
| virtual BDSCavity * | BuildCavityAndRegisterObjects (const BDSExtent &extent) |
| Construct output object and register all temporary objects from vectors. | |
Protected Attributes inherited from BDSCavityFactoryBase | |
| std::map< G4LogicalVolume *, BDSSDType > | sensitiveVolumes |
| Map to sensitivity for volumes. | |
| G4bool | sensitiveBeamPipe |
| Whether the beam pipe will record energy deposition. | |
| G4bool | sensitiveVacuum |
| Whether the vacuum will record energy deposition. | |
| G4VSolid * | vacuumSolid |
| Cache of particular solid or lv for common functionality in this class. | |
| G4VSolid * | cavitySolid |
| Cache of particular solid or lv for common functionality in this class. | |
| G4VSolid * | containerSolid |
| Cache of particular solid or lv for common functionality in this class. | |
| G4LogicalVolume * | vacuumLV |
| Cache of particular solid or lv for common functionality in this class. | |
| G4LogicalVolume * | cavityLV |
| Cache of particular solid or lv for common functionality in this class. | |
| G4LogicalVolume * | containerLV |
| Cache of particular solid or lv for common functionality in this class. | |
| G4Material * | emptyMaterial |
| Cache of variable from BDSGlobalConstants. | |
Protected Attributes inherited from BDSFactoryBase | |
| std::set< G4LogicalVolume * > | allLogicalVolumes |
| std::set< G4VPhysicalVolume * > | allPhysicalVolumes |
| std::set< G4RotationMatrix * > | allRotationMatrices |
| std::set< G4UserLimits * > | allUserLimits |
| std::set< G4VSolid * > | allSolids |
| std::set< G4VisAttributes * > | allVisAttributes |
| G4double | lengthSafety |
| Cache of global constants variable. | |
| G4double | lengthSafetyLarge |
| Cache of global constants variable. | |
| G4bool | checkOverlaps |
| Cache of global constants variable. | |
| G4bool | visDebug |
| Cache of global constants variable. | |
| G4int | nSegmentsPerCircle |
| Cache of global constants variable. | |
| G4VisAttributes * | containerVisAttr |
| Cache of global constants variable. | |
| G4UserLimits * | defaultUserLimits |
| Cache of global constants variable. | |
Factory for elliptical SRF cavity geometry.
Definition at line 35 of file BDSCavityFactoryPillBox.hh.
| BDSCavityFactoryPillBox::BDSCavityFactoryPillBox | ( | ) |
Definition at line 34 of file BDSCavityFactoryPillBox.cc.
|
virtual |
Definition at line 37 of file BDSCavityFactoryPillBox.cc.
|
virtual |
Create vacuumSolid and cavitySolid. Must return the container radius.
Implements BDSCavityFactoryBase.
Definition at line 40 of file BDSCavityFactoryPillBox.cc.
References BDSCavityFactoryBase::cavitySolid, BDSCavityFactoryBase::containerSolid, BDSCavityInfo::equatorRadius, BDSCavityInfo::irisRadius, BDSFactoryBase::lengthSafety, BDSCavityInfo::thickness, and BDSCavityFactoryBase::vacuumSolid.