Class MagField


class MagField

Models magnetic field in the detector as a parameterised adjustment in phi of charged particles.


Field Summary
 private ChargeServicelnkChargeService
           
 private const ChargeServicem_chargeService
           
 private const boolm_fieldOn
           

Constructor Summary
MagField(bool fieldOn)
          Constructor: if the field is off, there is no adjustment in phi.

Method Summary
 const voidoperator()(const std::vector & , std::vector > & )
          takes HepMC::Particles and bends them in the B field.

Field Detail

lnkChargeService

private ChargeService lnkChargeService
link aggregation

m_chargeService

private const ChargeService m_chargeService

m_fieldOn

private const bool m_fieldOn
Constructor Detail

MagField

public MagField(bool fieldOn)
Constructor: if the field is off, there is no adjustment in phi.
Method Detail

operator()

public const void operator()(const std::vector & , std::vector > & )
takes HepMC::Particles and bends them in the B field.

Association Links

to Class Atlfast::ChargeService

Type aggregation