BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions
BDSFieldInfoExtra Class Referenceabstract

Base class for any extra (complex) information for a particular field. More...

#include <BDSFieldInfoExtra.hh>

Inheritance diagram for BDSFieldInfoExtra:
Inheritance graph
Collaboration diagram for BDSFieldInfoExtra:
Collaboration graph

Public Member Functions

virtual BDSFieldInfoExtraClone () const =0
 Derived class must implement for copying.
 

Detailed Description

Base class for any extra (complex) information for a particular field.

With BDSFieldInfo we don't want to keep adding even more parameters that all (instances of) field recipes will know about, so we add 1x pointer to extra info of this class type. We can then create specific derived classes for very particular complex field setups.

Any derived classes are preferred to be classes but 'struct-like' with everything public.

Author
Laurie Nevay

Definition at line 41 of file BDSFieldInfoExtra.hh.

Constructor & Destructor Documentation

◆ BDSFieldInfoExtra()

BDSFieldInfoExtra::BDSFieldInfoExtra ( )
inline

Definition at line 44 of file BDSFieldInfoExtra.hh.

◆ ~BDSFieldInfoExtra()

virtual BDSFieldInfoExtra::~BDSFieldInfoExtra ( )
inlinevirtual

Definition at line 45 of file BDSFieldInfoExtra.hh.

Member Function Documentation

◆ Clone()

virtual BDSFieldInfoExtra * BDSFieldInfoExtra::Clone ( ) const
pure virtual

Derived class must implement for copying.

Implemented in BDSFieldInfoExtraMuonCooler.

Referenced by BDSFieldInfo::BDSFieldInfo().

Here is the caller graph for this function:

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