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

Reflect field values for a solenoid-like field in the z axis. More...

#include <BDSArrayOperatorValueReflectSolenoidZ.hh>

Inheritance diagram for BDSArrayOperatorValueReflectSolenoidZ:
Inheritance graph
Collaboration diagram for BDSArrayOperatorValueReflectSolenoidZ:
Collaboration graph

Public Member Functions

virtual BDSFieldValue Apply (BDSFieldValue v, G4int, G4int, G4int zInd=0, G4int=0) const
 
- Public Member Functions inherited from BDSArrayOperatorValue
 BDSArrayOperatorValue (const G4String &nameIn="None")
 
virtual G4String Name () const
 Return a name of the operator for feedback to the user in print out. More...
 
virtual BDSFieldValue Apply (BDSFieldValue v, G4int, G4int=0, G4int=0, G4int=0) const
 

Additional Inherited Members

- Protected Attributes inherited from BDSArrayOperatorValue
G4String name
 

Detailed Description

Reflect field values for a solenoid-like field in the z axis.

Note this must work in combination with a coordinate reflection in x and y. Ultimately, the goal is this:

*         x,y
*         ∧
*         |
*         |  ∧
*   --->  |  | original
*      |  |  --->
*      v  |
*----------------------> z
*         |
*         |
* 
Author
Laurie Nevay

Definition at line 50 of file BDSArrayOperatorValueReflectSolenoidZ.hh.

Constructor & Destructor Documentation

◆ BDSArrayOperatorValueReflectSolenoidZ()

BDSArrayOperatorValueReflectSolenoidZ::BDSArrayOperatorValueReflectSolenoidZ ( )
inline

Definition at line 53 of file BDSArrayOperatorValueReflectSolenoidZ.hh.

◆ ~BDSArrayOperatorValueReflectSolenoidZ()

virtual BDSArrayOperatorValueReflectSolenoidZ::~BDSArrayOperatorValueReflectSolenoidZ ( )
inlinevirtual

Definition at line 56 of file BDSArrayOperatorValueReflectSolenoidZ.hh.

Member Function Documentation

◆ Apply()

virtual BDSFieldValue BDSArrayOperatorValueReflectSolenoidZ::Apply ( BDSFieldValue  v,
G4int  ,
G4int  ,
G4int  = 0,
G4int  = 0 
) const
inlinevirtual

Index arguments are original coordinate space indices, i.e. allowed to be negative. No action by default.

Reimplemented from BDSArrayOperatorValue.

Definition at line 58 of file BDSArrayOperatorValueReflectSolenoidZ.hh.


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