BOSS
7.0.9
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
17
//------------------------------------------------------------------------
18
TrkContext::TrkContext
(
const
BField
* bf) {
19
//------------------------------------------------------------------------
20
_bf = bf;
21
}
22
23
//------------------------------------------------------------------------
24
TrkContext::TrkContext
(
const
TrkContext
&rhs) {
25
//------------------------------------------------------------------------
26
_bf = rhs._bf;
27
}
28
29
//------------------------------------------------------------------------
30
TrkContext
&
31
TrkContext::operator=
(
const
TrkContext
& rhs) {
32
//------------------------------------------------------------------------
33
if
(&rhs ==
this
)
return
*
this
;
34
_bf = rhs._bf;
35
return
*
this
;
36
}
37
38
//------------------------------------------------------------------------
39
TrkContext::~TrkContext
() {
40
//------------------------------------------------------------------------
41
}
42
43
//------------------------------------------------------------------------
44
void
45
TrkContext::setBField
(
const
BField
* bf) {
46
//------------------------------------------------------------------------
47
_bf = bf;
48
}
49
50
//------------------------------------------------------------------------
51
bool
52
TrkContext::operator==
(
const
TrkContext
& rhs)
const
{
53
//------------------------------------------------------------------------
54
return
(_bf == rhs._bf);
55
}
TrkContext.h
BField
Definition:
Reconstruction/MdcPatRec/BField/BField-00-01-02/BField/BField.h:33
TrkContext
Definition:
TrkContext.h:27
TrkContext::operator==
bool operator==(const TrkContext &) const
Definition:
TrkContext.cxx:52
TrkContext::~TrkContext
virtual ~TrkContext()
Definition:
TrkContext.cxx:39
TrkContext::setBField
void setBField(const BField *bf)
Definition:
TrkContext.cxx:45
TrkContext::operator=
TrkContext & operator=(const TrkContext &)
Definition:
TrkContext.cxx:31
TrkContext::TrkContext
TrkContext(const BField *)
Definition:
TrkContext.cxx:18
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
src
TrkContext.cxx
Generated by
1.9.6