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
19
20//------------------------------------------------------------------------
22 //------------------------------------------------------------------------
23 _bf = bf;
24}
25
26//------------------------------------------------------------------------
28 //------------------------------------------------------------------------
29 _bf = rhs._bf;
30}
31
32//------------------------------------------------------------------------
34 //------------------------------------------------------------------------
35 if ( &rhs == this ) return *this;
36 _bf = rhs._bf;
37 return *this;
38}
39
40//------------------------------------------------------------------------
42 //------------------------------------------------------------------------
43}
44
45//------------------------------------------------------------------------
46void TrkContext::setBField( const BField* bf ) {
47 //------------------------------------------------------------------------
48 _bf = bf;
49}
50
51//------------------------------------------------------------------------
52bool TrkContext::operator==( const TrkContext& rhs ) const {
53 //------------------------------------------------------------------------
54 return ( _bf == rhs._bf );
55}
bool operator==(const TrkContext &) const
virtual ~TrkContext()
TrkContext & operator=(const TrkContext &)
TrkContext(const MdcPatRec::BField *)
void setBField(const MdcPatRec::BField *bf)