#include <TrkContext.h>
Inheritance diagram for TrkContext:
Public Member Functions | |
TrkContext (const BField *) | |
TrkContext (const TrkContext &) | |
virtual | ~TrkContext () |
TrkContext & | operator= (const TrkContext &) |
const BField * | bField () const |
virtual TrkId | getId () const =0 |
void | setBField (const BField *bf) |
bool | operator== (const TrkContext &) const |
Private Attributes | |
const BField * | _bf |
Definition at line 27 of file TrkContext.h.
TrkContext::TrkContext | ( | const BField * | ) |
Definition at line 18 of file TrkContext.cxx.
References _bf.
00018 { 00019 //------------------------------------------------------------------------ 00020 _bf = bf; 00021 }
TrkContext::TrkContext | ( | const TrkContext & | ) |
Definition at line 24 of file TrkContext.cxx.
References _bf.
00024 { 00025 //------------------------------------------------------------------------ 00026 _bf = rhs._bf; 00027 }
TrkContext::~TrkContext | ( | ) | [virtual] |
const BField* TrkContext::bField | ( | ) | const [inline] |
virtual TrkId TrkContext::getId | ( | ) | const [pure virtual] |
Implemented in TrkContextEv.
TrkContext & TrkContext::operator= | ( | const TrkContext & | ) |
Definition at line 31 of file TrkContext.cxx.
References _bf.
00031 { 00032 //------------------------------------------------------------------------ 00033 if (&rhs == this) return *this; 00034 _bf = rhs._bf; 00035 return *this; 00036 }
bool TrkContext::operator== | ( | const TrkContext & | ) | const |
Definition at line 52 of file TrkContext.cxx.
References _bf.
00052 { 00053 //------------------------------------------------------------------------ 00054 return (_bf == rhs._bf); 00055 }
void TrkContext::setBField | ( | const BField * | bf | ) |
Definition at line 45 of file TrkContext.cxx.
References _bf.
00045 { 00046 //------------------------------------------------------------------------ 00047 _bf = bf; 00048 }
const BField* TrkContext::_bf [private] |
Definition at line 44 of file TrkContext.h.
Referenced by bField(), operator=(), operator==(), setBField(), and TrkContext().