Atlfast::TransportedParticle Class Reference

#include <TransportedParticle.h>

Inheritance diagram for Atlfast::TransportedParticle:

Inheritance graph
[legend]
Collaboration diagram for Atlfast::TransportedParticle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TransportedParticle (const HepMC::GenParticle *const &p)
 ~TransportedParticle ()
Phi phi () const
double eta () const
double E () const
const HepMC::GenParticle * particle () const
virtual void deflect ()=0

Protected Attributes

Phi m_phi
double m_eta
double m_energy
const HepMC::GenParticle * m_particle

Detailed Description

Definition at line 15 of file TransportedParticle.h.


Constructor & Destructor Documentation

Atlfast::TransportedParticle::TransportedParticle ( const HepMC::GenParticle *const &  p  ) 

Definition at line 6 of file TransportedParticle.cxx.

00006                                                                           :
00007     ITransportedParticle(),
00008     m_particle(p){
00009     m_phi = Phi(p->momentum().phi());
00010     m_eta = p->momentum().eta();
00011     m_energy = p->momentum().e();
00012   }
  

Atlfast::TransportedParticle::~TransportedParticle (  )  [inline]

Definition at line 18 of file TransportedParticle.h.

00018 {};


Member Function Documentation

Phi Atlfast::TransportedParticle::phi (  )  const [virtual]

Implements Atlfast::ITransportedParticle.

Definition at line 14 of file TransportedParticle.cxx.

00014 {return m_phi;}

double Atlfast::TransportedParticle::eta (  )  const [virtual]

Implements Atlfast::ITransportedParticle.

Definition at line 15 of file TransportedParticle.cxx.

00015 {return m_eta;}

double Atlfast::TransportedParticle::E (  )  const [virtual]

Implements Atlfast::ITransportedParticle.

Definition at line 16 of file TransportedParticle.cxx.

00016 {return m_energy;}

const HepMC::GenParticle * Atlfast::TransportedParticle::particle (  )  const [virtual]

Implements Atlfast::ITransportedParticle.

Definition at line 18 of file TransportedParticle.cxx.

00018                                                               {
00019 
00020     return m_particle;
00021 
00022   }

virtual void Atlfast::ITransportedParticle::deflect (  )  [pure virtual, inherited]

Implemented in Atlfast::TransportedMonopole, and Atlfast::TransportedSMParticle.


Member Data Documentation

Phi Atlfast::TransportedParticle::m_phi [protected]

Definition at line 24 of file TransportedParticle.h.

double Atlfast::TransportedParticle::m_eta [protected]

Definition at line 25 of file TransportedParticle.h.

double Atlfast::TransportedParticle::m_energy [protected]

Definition at line 26 of file TransportedParticle.h.

const HepMC::GenParticle* Atlfast::TransportedParticle::m_particle [protected]

Definition at line 27 of file TransportedParticle.h.


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 13:00:23 2007 for AtlfastEvent by  doxygen 1.5.1