BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions
BDSCavityFactoryPillBox Class Reference

Factory for elliptical SRF cavity geometry. More...

#include <BDSCavityFactoryPillBox.hh>

Inheritance diagram for BDSCavityFactoryPillBox:
Inheritance graph
Collaboration diagram for BDSCavityFactoryPillBox:
Collaboration graph

Public Member Functions

virtual G4double CreateSolids (G4String name, G4double totalChordLength, const BDSCavityInfo *info)
 Create vacuumSolid and cavitySolid. Must return the container radius. More...
 
- Public Member Functions inherited from BDSCavityFactoryBase
BDSCavityCreateCavity (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. More...
 

Additional Inherited Members

- Protected Member Functions inherited from BDSCavityFactoryBase
virtual void CleanUp ()
 Ensure all internal members are reset before reuse. Calls CleanUpBase. More...
 
void CleanUpBase ()
 Non-virtual clean up that can be used in the constructor safely. More...
 
virtual G4double CreateSolids (G4String name, G4double totalChordLength, const BDSCavityInfo *info)=0
 Create vacuumSolid and cavitySolid. Must return the container radius. More...
 
virtual void CreateLogicalVolumes (G4String name, const BDSCavityInfo *info, G4Material *vacuumMaterial)
 Create vacuumLV, cavityLV and containerLV. More...
 
virtual void SetUserLimits (G4double length)
 
virtual void SetVisAttributes (G4String colourName="rfcavity")
 Set vis attributes for cavityLV, vacuumLV and containerLV. More...
 
virtual void PlaceComponents (G4String name)
 Place the vacuum and cavity centrally in the container logical volume. More...
 
virtual BDSCavityBuildCavityAndRegisterObjects (const BDSExtent &extent)
 Construct output object and register all temporary objects from vectors. More...
 
- Protected Attributes inherited from BDSCavityFactoryBase
std::map< G4LogicalVolume *, BDSSDTypesensitiveVolumes
 Map to sensitivity for volumes. More...
 
G4bool sensitiveBeamPipe
 Whether the beam pipe will record energy deposition. More...
 
G4bool sensitiveVacuum
 Whether the vacuum will record energy deposition. More...
 
G4VSolid * vacuumSolid
 Cache of particular solid or lv for common functionality in this class. More...
 
G4VSolid * cavitySolid
 Cache of particular solid or lv for common functionality in this class. More...
 
G4VSolid * containerSolid
 Cache of particular solid or lv for common functionality in this class. More...
 
G4LogicalVolume * vacuumLV
 Cache of particular solid or lv for common functionality in this class. More...
 
G4LogicalVolume * cavityLV
 Cache of particular solid or lv for common functionality in this class. More...
 
G4LogicalVolume * containerLV
 Cache of particular solid or lv for common functionality in this class. More...
 
G4Material * emptyMaterial
 Cache of variable from BDSGlobalConstants. More...
 
- 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. More...
 
G4double lengthSafetyLarge
 Cache of global constants variable. More...
 
G4bool checkOverlaps
 Cache of global constants variable. More...
 
G4bool visDebug
 Cache of global constants variable. More...
 
G4double nSegmentsPerCircle
 Cache of global constants variable. More...
 
G4VisAttributes * containerVisAttr
 Cache of global constants variable. More...
 
G4UserLimits * defaultUserLimits
 Cache of global constants variable. More...
 

Detailed Description

Factory for elliptical SRF cavity geometry.

Author
Stuart Walker.

Definition at line 35 of file BDSCavityFactoryPillBox.hh.

Constructor & Destructor Documentation

◆ BDSCavityFactoryPillBox()

BDSCavityFactoryPillBox::BDSCavityFactoryPillBox ( )

Definition at line 34 of file BDSCavityFactoryPillBox.cc.

◆ ~BDSCavityFactoryPillBox()

BDSCavityFactoryPillBox::~BDSCavityFactoryPillBox ( )
virtual

Definition at line 37 of file BDSCavityFactoryPillBox.cc.

Member Function Documentation

◆ CreateSolids()

G4double BDSCavityFactoryPillBox::CreateSolids ( G4String  name,
G4double  totalChordLength,
const BDSCavityInfo info 
)
virtual

The documentation for this class was generated from the following files: