BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkContext.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkContext.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4
//
5
// Description:
6
//
7
//
8
// Environment:
9
// Software developed for the BaBar Detector at the SLAC B-Factory.
10
//
11
// Author(s): Steve Schaffner
12
//
13
//------------------------------------------------------------------------
14
// #include "BaBar/BaBar.hh"
15
#include "TrkBase/TrkContext.h"
16
#include "PatBField/BField.h"
17
18
using
MdcPatRec::BField
;
19
20
//------------------------------------------------------------------------
21
TrkContext::TrkContext
(
const
BField
* bf ) {
22
//------------------------------------------------------------------------
23
_bf = bf;
24
}
25
26
//------------------------------------------------------------------------
27
TrkContext::TrkContext
(
const
TrkContext
& rhs ) {
28
//------------------------------------------------------------------------
29
_bf = rhs._bf;
30
}
31
32
//------------------------------------------------------------------------
33
TrkContext
&
TrkContext::operator=
(
const
TrkContext
& rhs ) {
34
//------------------------------------------------------------------------
35
if
( &rhs ==
this
)
return
*
this
;
36
_bf = rhs._bf;
37
return
*
this
;
38
}
39
40
//------------------------------------------------------------------------
41
TrkContext::~TrkContext
() {
42
//------------------------------------------------------------------------
43
}
44
45
//------------------------------------------------------------------------
46
void
TrkContext::setBField
(
const
BField
* bf ) {
47
//------------------------------------------------------------------------
48
_bf = bf;
49
}
50
51
//------------------------------------------------------------------------
52
bool
TrkContext::operator==
(
const
TrkContext
& rhs )
const
{
53
//------------------------------------------------------------------------
54
return
( _bf == rhs._bf );
55
}
MdcPatRec::BField
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/PatBField/BField.h:34
TrkContext::operator==
bool operator==(const TrkContext &) const
Definition
TrkContext.cxx:52
TrkContext::~TrkContext
virtual ~TrkContext()
Definition
TrkContext.cxx:41
TrkContext::operator=
TrkContext & operator=(const TrkContext &)
Definition
TrkContext.cxx:33
TrkContext::TrkContext
TrkContext(const MdcPatRec::BField *)
Definition
TrkContext.cxx:21
TrkContext::setBField
void setBField(const MdcPatRec::BField *bf)
Definition
TrkContext.cxx:46
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
TrkBase
src
TrkContext.cxx
Generated by
1.16.1