#include <Flux.h>
Inheritance diagram for Flux:

Public Methods | |
| Flux (std::string name) | |
| ctor, select the name. More... | |
| virtual | ~Flux () |
| virtual std::string | name () const |
| name of the flux. More... | |
| virtual std::string | title () const |
| full title of the flux. More... | |
| virtual void | generate () |
| generate a new entry trajectory. More... | |
| virtual std::string | particleName () const |
| the particle generated. More... | |
| virtual double | energy () const |
| its kinetic energy. More... | |
| virtual HepPoint3D | launchPoint () const |
| starting point. More... | |
| virtual HepVector3D | launchDir () const |
| direction. More... | |
| virtual double | time () const |
| return the time. More... | |
| virtual double | rate () const |
| rate ( /mm**2 /s). More... | |
| virtual void | setTargetArea ( double area) |
| set the area of the target. More... | |
| double | targetArea () const |
| retrieve the area (a static, same for all fluxes). More... | |
| virtual std::string | findSource () const |
| find which spectrum created the current particle. More... | |
| virtual int | numSource () const |
| return a unique number correcponding to that spectrum. More... | |
| virtual void | addFactory ( const IFactory* factory ) |
| virtual void | addFactory (std::string name, const ISpectrumFactory* factory ) |
Static Public Methods | |
| void | mgr (FluxMgr* ) |
| set the static pointer. More... | |
Private Attributes | |
| EventSource* | m_event |
| double | m_time |
| FluxSource* | m_flux |
Static Private Attributes | |
| FluxMgr* | s_mgr = 0 |
Definition at line 20 of file Flux.h.
|
|
ctor, select the name.
|
|
|
|
|
|
Reimplemented from IFlux. |
|
|
Reimplemented from IFlux. |
|
|
its kinetic energy.
Reimplemented from IFlux. |
|
|
find which spectrum created the current particle.
Reimplemented from IFlux. |
|
|
generate a new entry trajectory.
Reimplemented from IFlux. |
|
|
direction.
Reimplemented from IFlux. |
|
|
starting point.
Reimplemented from IFlux. |
|
|
set the static pointer.
Definition at line 25 of file Flux.cxx. Referenced by FluxSvc::initialize(). |
|
|
name of the flux.
Reimplemented from IFlux. |
|
|
return a unique number correcponding to that spectrum.
Reimplemented from IFlux. |
|
|
the particle generated.
Reimplemented from IFlux. |
|
|
rate ( /mm**2 /s).
Reimplemented from IFlux. |
|
|
set the area of the target.
Reimplemented from IFlux. |
|
|
retrieve the area (a static, same for all fluxes).
Reimplemented from IFlux. |
|
|
return the time.
Reimplemented from IFlux. |
|
|
full title of the flux.
Reimplemented from IFlux. |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000