TrkContext Class Reference

#include <TrkContext.h>

Inheritance diagram for TrkContext:

TrkContextEv List of all members.

Public Member Functions

 TrkContext (const BField *)
 TrkContext (const TrkContext &)
virtual ~TrkContext ()
TrkContextoperator= (const TrkContext &)
const BFieldbField () const
virtual TrkId getId () const =0
void setBField (const BField *bf)
bool operator== (const TrkContext &) const

Private Attributes

const BField_bf

Detailed Description

Definition at line 27 of file TrkContext.h.


Constructor & Destructor Documentation

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]

Definition at line 39 of file TrkContext.cxx.

00039                         {
00040 //------------------------------------------------------------------------
00041 }


Member Function Documentation

const BField* TrkContext::bField (  )  const [inline]

Definition at line 35 of file TrkContext.h.

References _bf.

00035 {return _bf;}

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 }


Member Data Documentation

const BField* TrkContext::_bf [private]

Definition at line 44 of file TrkContext.h.

Referenced by bField(), operator=(), operator==(), setBField(), and TrkContext().


Generated on Tue Nov 29 23:36:13 2016 for BOSS_7.0.2 by  doxygen 1.4.7