Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

MagField.h

Go to the documentation of this file.
00001 //=================================================
00002 //
00003 // AdjustPhi.h - return a particle with phi adjusted
00004 //               for bending in the B field
00005 //
00006 // Author: Peter Sherwood
00007 //
00008 //
00009 //===================================================
00010 #ifndef ATLFAST_MAGFIELD_H
00011 #define ATLFAST_MAGFIELD_H
00012 #include "HepMC/GenParticle.h"
00013 #include "AtlfastCode/ChargeService.h"
00014 #include "AtlfastCode/MCparticleCollection.h"
00015 #include "AtlfastCode/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 

Generated on Thu Feb 21 14:30:46 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001