00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef ATLFAST_MAGFIELD_H
00011 #define ATLFAST_MAGFIELD_H
00012 #include "HepMC/GenParticle.h"
00013 #include "AtlfastAlgs/ChargeService.h"
00014 #include "AtlfastEvent/MCparticleCollection.h"
00015 #include "AtlfastAlgs/TransportedParticleCollection.h"
00016 namespace Atlfast{
00017
00023 class MagField {
00024 public:
00028 MagField(bool fieldOn);
00032 void operator()(const MCparticleCollection&,
00033 TransportedParticleCollection&) const;
00034 private:
00035
00036 const bool m_fieldOn;
00037 const ChargeService m_chargeService;
00038
00040 ChargeService lnkChargeService;
00041 };
00042 }
00043 #endif
00044
00045