MarlinTPC
1.2.0
|
GlobalFieldProcessor : This processor manages the fields used in MarlinTPC. More...
#include <GlobalFieldProcessor.h>
Classes | |
class | CoilPositionNotifier |
class | FieldNotifier |
Public Member Functions | |
GlobalFieldProcessor () | |
constructor | |
virtual | ~GlobalFieldProcessor () |
destructor | |
virtual Processor * | newProcessor () |
used by Marlin to create a new processor | |
virtual void | init () |
Called at the begin of the job before anything is read. More... | |
virtual void | processRunHeader (lcio::LCRunHeader *run) |
Called for every run. | |
virtual void | processEvent (lcio::LCEvent *evt) |
Called for every event - the working horse. | |
virtual void | check (lcio::LCEvent *evt) |
Called after the event has been processed. | |
virtual void | end () |
Called after data processing for clean up. | |
bool | register_field (Field *) |
registers a field with the field manager | |
CLHEP::HepVector | get_global_magnetic_field (const CLHEP::HepVector &x) const |
Returns the magnetic field (in T) at a given point and time in the detector. More... | |
CLHEP::Hep3Vector | get_global_magnetic_field (const CLHEP::Hep3Vector &x) const |
Returns the magnetic field (in T) at a given point and time in the detector. | |
CLHEP::Hep3Vector | get_global_magnetic_field_error () const |
Returns the combined symmetric field errors (in T) of measured magnetic field maps. | |
CLHEP::HepVector | get_global_electric_field (const CLHEP::HepVector &x) const |
Returns the electric field (in V) at a given point and time in the detector. More... | |
CLHEP::Hep3Vector | get_global_electric_field (const CLHEP::Hep3Vector &x) const |
Returns the electric field (in V) at a given point and time in the detector. | |
CLHEP::Hep3Vector | get_global_electric_field_error () const |
Returns the combined symmetric field errors (in T) of measured electric field maps. | |
double | get_main_crossing_angle () const |
returns the main crossing angle of the ILC model | |
Static Public Member Functions | |
static GlobalFieldProcessor & | get_instance () |
return the instance of the global field processor | |
GlobalFieldProcessor : This processor manages the fields used in MarlinTPC.
CLHEP::HepVector marlintpc::GlobalFieldProcessor::get_global_electric_field | ( | const CLHEP::HepVector & | x | ) | const |
Returns the electric field (in V) at a given point and time in the detector.
Referenced by marlintpc::ElectronCloudDrifterProcessor::ion_drift_derivative().
CLHEP::HepVector marlintpc::GlobalFieldProcessor::get_global_magnetic_field | ( | const CLHEP::HepVector & | x | ) | const |
Returns the magnetic field (in T) at a given point and time in the detector.
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.