BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkContext Class Referenceabstract

#include <TrkContext.h>

+ Inheritance diagram for TrkContext:

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
 
 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
 

Detailed Description

Constructor & Destructor Documentation

◆ TrkContext() [1/4]

TrkContext::TrkContext ( const BField bf)

Definition at line 18 of file TrkContext.cxx.

18 {
19//------------------------------------------------------------------------
20 _bf = bf;
21}

◆ TrkContext() [2/4]

TrkContext::TrkContext ( const TrkContext rhs)

Definition at line 24 of file TrkContext.cxx.

24 {
25//------------------------------------------------------------------------
26 _bf = rhs._bf;
27}

◆ ~TrkContext() [1/2]

TrkContext::~TrkContext ( )
virtual

Definition at line 39 of file TrkContext.cxx.

39 {
40//------------------------------------------------------------------------
41}

◆ TrkContext() [3/4]

TrkContext::TrkContext ( const BField )

◆ TrkContext() [4/4]

TrkContext::TrkContext ( const TrkContext )

◆ ~TrkContext() [2/2]

virtual TrkContext::~TrkContext ( )
virtual

Member Function Documentation

◆ bField() [1/2]

const BField * TrkContext::bField ( ) const
inline

Definition at line 35 of file InstallArea/include/TrkBase/TrkBase/TrkContext.h.

35{return _bf;}

◆ bField() [2/2]

const BField * TrkContext::bField ( ) const
inline

◆ getId() [1/2]

virtual TrkId TrkContext::getId ( ) const
pure virtual

Implemented in TrkContextEv, and TrkContextEv.

◆ getId() [2/2]

virtual TrkId TrkContext::getId ( ) const
pure virtual

Implemented in TrkContextEv, and TrkContextEv.

◆ operator=() [1/2]

TrkContext & TrkContext::operator= ( const TrkContext rhs)

Definition at line 31 of file TrkContext.cxx.

31 {
32//------------------------------------------------------------------------
33 if (&rhs == this) return *this;
34 _bf = rhs._bf;
35 return *this;
36}

◆ operator=() [2/2]

TrkContext & TrkContext::operator= ( const TrkContext )

◆ operator==() [1/2]

bool TrkContext::operator== ( const TrkContext rhs) const

Definition at line 52 of file TrkContext.cxx.

52 {
53//------------------------------------------------------------------------
54 return (_bf == rhs._bf);
55}

◆ operator==() [2/2]

bool TrkContext::operator== ( const TrkContext ) const

◆ setBField() [1/2]

void TrkContext::setBField ( const BField bf)

Definition at line 45 of file TrkContext.cxx.

45 {
46//------------------------------------------------------------------------
47 _bf = bf;
48}

◆ setBField() [2/2]

void TrkContext::setBField ( const BField bf)

The documentation for this class was generated from the following files: