BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkExpectedHot.cxx
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkExpectedHot.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4//
5// Description:
6// Class TrkExpectedHot
7//
8// Environment:
9// Software developed for BaBar expirment @ SLAC B-Factory
10//
11// Author List:
12// Eric A Charles
13//
14// Copyright Information:
15// Copyright (C) 1998 Univ. Wisconsin-Madison
16//
17//------------------------------------------------------------------------
18
19//----------------
20// BaBar header
21//----------------
22// #include "BaBar/BaBar.hh"
23
24//-----------------------
25// This Class's Header --
26//-----------------------
27#include "TrkBase/TrkExpectedHot.h"
28
29//-------------
30// C Headers --
31//-------------
32extern "C" {}
33
34//---------------
35// C++ Headers --
36//---------------
37
38//-------------------------------
39// Collaborating Class Headers --
40//-------------------------------
41
42//-----------------------------------------------------------------------
43// Local Macros, Typedefs, Structures, Unions and Forward Declarations --
44//-----------------------------------------------------------------------
45
46// -----------------------------------------------
47// -- Static Data & Function Member Definitions --
48// -----------------------------------------------
49
50// ----------------------------------------
51// -- Public Function Member Definitions --
52// ----------------------------------------
53
54//----------------
55// Constructors --
56//----------------
57
58TrkExpectedHot::TrkExpectedHot( const TrkDetElemId& id ) : _id( id ), _exTrk( 0 ) {}
59
61 : _id( id, sysInd ), _exTrk( 0 ) {}
62
63// copy c'tor
64TrkExpectedHot::TrkExpectedHot( const TrkExpectedHot& rhs ) : _id( rhs.id() ), _exTrk( 0 ) {}
65
66//--------------
67// Destructor --
68//--------------
69
71
72//-------------
73// Operators --
74//-------------
75
76bool TrkExpectedHot::operator==( const TrkExpectedHot& rhs ) const { return _id == rhs.id(); }
77
78bool TrkExpectedHot::operator<( const TrkExpectedHot& rhs ) const { return _id < rhs.id(); }
79
80bool TrkExpectedHot::isSvt() const { return _id.sysInd() == TrkDetElemId::svt; }
81
82bool TrkExpectedHot::isMdc() const { return _id.sysInd() == TrkDetElemId::mdc; }
const TrkDetElemId::systemIndex & sysInd() const
bool isMdc() const
bool operator==(const TrkExpectedHot &rhs) const
bool isSvt() const
virtual ~TrkExpectedHot()
bool operator<(const TrkExpectedHot &rhs) const
TrkExpectedHot(const TrkExpectedHot &)