CGEM BOSS 6.6.5.g
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
 

Detailed Description

Definition at line 27 of file TrkContext.h.

Constructor & Destructor Documentation

◆ TrkContext() [1/2]

TrkContext::TrkContext ( const BField bf)

Definition at line 18 of file TrkContext.cxx.

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

◆ TrkContext() [2/2]

TrkContext::TrkContext ( const TrkContext rhs)

Definition at line 24 of file TrkContext.cxx.

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

◆ ~TrkContext()

TrkContext::~TrkContext ( )
virtual

Definition at line 39 of file TrkContext.cxx.

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

Member Function Documentation

◆ bField()

const BField * TrkContext::bField ( ) const
inline

Definition at line 35 of file TrkContext.h.

35{return _bf;}

◆ getId()

virtual TrkId TrkContext::getId ( ) const
pure virtual

Implemented in TrkContextEv.

◆ operator=()

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==()

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

Definition at line 52 of file TrkContext.cxx.

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

◆ setBField()

void TrkContext::setBField ( const BField bf)

Definition at line 45 of file TrkContext.cxx.

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

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