MarlinTPC  1.2.0
Public Member Functions | List of all members
marlintpc::GEARMagneticField Class Reference

GEARMagneticField : A magnetic field which is basically just a wrapper to accessing the global GEAR field. More...

#include <GEARMagneticField.h>

Inheritance diagram for marlintpc::GEARMagneticField:
marlintpc::Field

Public Member Functions

 GEARMagneticField ()
 constructor
 
virtual ~GEARMagneticField ()
 destructor
 
virtual Fieldnew_field (void)
 returns a new field... More...
 
virtual bool construct (EVENT::LCCollection *)
 constructs the field from an LCCollection of data objects (could be anything... More...
 
CLHEP::Hep3Vector get_field_value (const CLHEP::Hep3Vector &)
 gets the field value at a specified point
 
std::string get_typename ()
 returns the typename of the field
 
- Public Member Functions inherited from marlintpc::Field
 Field (std::string field_typename)
 constructor
 
virtual ~Field ()
 destructor
 
CLHEP::HepVector get_field_value (const CLHEP::HepVector &)
 gets the field value at a specified point (in carthesian coordinates) More...
 
virtual CLHEP::Hep3Vector get_field_error ()
 gets the field error. More...
 
std::string get_typename ()
 returns the typename of the field
 

Additional Inherited Members

- Protected Attributes inherited from marlintpc::Field
CLHEP::Hep3Vector _field_error
 

Detailed Description

GEARMagneticField : A magnetic field which is basically just a wrapper to accessing the global GEAR field.

This is a much easier thing to use than putting a contant magnetic field into an LCCD object and accessing it through LCIO.

Author
J. Abernathy (UVic)

Member Function Documentation

bool marlintpc::GEARMagneticField::construct ( EVENT::LCCollection *  )
virtual

constructs the field from an LCCollection of data objects (could be anything...

field bin values or just parameters)

Implements marlintpc::Field.

Field * marlintpc::GEARMagneticField::new_field ( void  )
virtual

returns a new field...

similar to how the Marlin processor registration works

Implements marlintpc::Field.

References GEARMagneticField().


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