19#ifndef BDSCAVITYELEMENT_H
20#define BDSCAVITYELEMENT_H
22#include "BDSAcceleratorComponent.hh"
41 G4Material* vacuumMaterialIn,
56 virtual void Build()
override;
Abstract class that represents a component of an accelerator.
const G4String name
Const protected member variable that may not be changed by derived classes.
G4double chordLength
Protected member variable that can be modified by derived classes.
RF Cavity. Uses factories to construct appropriate geometry.
BDSCavityElement & operator=(const BDSCavityElement &)=delete
Assignment and copy constructor not implemented nor used.
G4Material * vacuumMaterial
Cache of material to be used for vacuum - does not own it.
virtual void BuildContainerLogicalVolume() override
BDSCavityElement()=delete
Private constructor to force the use of the provided one.
BDSCavityElement(BDSCavityElement &)=delete
Assignment and copy constructor not implemented nor used.
const BDSCavityInfo * cavityInfo
Convenience shortcut to cavity information inside field information object.
const BDSFieldInfo * vacuumFieldInfo
Recipe for field.
virtual void Build() override
The full construction sequence that calls all methods in order.
virtual void BuildField()
Creates field objects - doesn't nothing by default and derived classes can override.
Holder for all Geometrical information required to create an RF cavity.
All info required to build complete field of any type.