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
//-------------
32
extern
"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
58
TrkExpectedHot::TrkExpectedHot
(
const
TrkDetElemId
&
id
) : _id(
id
), _exTrk( 0 ) {}
59
60
TrkExpectedHot::TrkExpectedHot
(
const
int
&
id
,
TrkDetElemId::systemIndex
sysInd )
61
: _id(
id
, sysInd ), _exTrk( 0 ) {}
62
63
// copy c'tor
64
TrkExpectedHot::TrkExpectedHot
(
const
TrkExpectedHot
& rhs ) : _id( rhs.
id
() ), _exTrk( 0 ) {}
65
66
//--------------
67
// Destructor --
68
//--------------
69
70
TrkExpectedHot::~TrkExpectedHot
() {}
71
72
//-------------
73
// Operators --
74
//-------------
75
76
bool
TrkExpectedHot::operator==
(
const
TrkExpectedHot
& rhs )
const
{
return
_id == rhs.
id
(); }
77
78
bool
TrkExpectedHot::operator<
(
const
TrkExpectedHot
& rhs )
const
{
return
_id < rhs.
id
(); }
79
80
bool
TrkExpectedHot::isSvt
()
const
{
return
_id.
sysInd
() ==
TrkDetElemId::svt
; }
81
82
bool
TrkExpectedHot::isMdc
()
const
{
return
_id.sysInd() ==
TrkDetElemId::mdc
; }
TrkDetElemId
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkDetElemId.h:37
TrkDetElemId::systemIndex
systemIndex
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkDetElemId.h:45
TrkDetElemId::mdc
@ mdc
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkDetElemId.h:45
TrkDetElemId::svt
@ svt
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkDetElemId.h:45
TrkDetElemId::sysInd
const TrkDetElemId::systemIndex & sysInd() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkDetElemId.h:81
TrkExpectedHot::isMdc
bool isMdc() const
Definition
TrkExpectedHot.cxx:82
TrkExpectedHot::operator==
bool operator==(const TrkExpectedHot &rhs) const
Definition
TrkExpectedHot.cxx:76
TrkExpectedHot::isSvt
bool isSvt() const
Definition
TrkExpectedHot.cxx:80
TrkExpectedHot::~TrkExpectedHot
virtual ~TrkExpectedHot()
Definition
TrkExpectedHot.cxx:70
TrkExpectedHot::id
const TrkDetElemId & id() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkExpectedHot.h:48
TrkExpectedHot::operator<
bool operator<(const TrkExpectedHot &rhs) const
Definition
TrkExpectedHot.cxx:78
TrkExpectedHot::TrkExpectedHot
TrkExpectedHot(const TrkExpectedHot &)
Definition
TrkExpectedHot.cxx:64
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
TrkBase
src
TrkExpectedHot.cxx
Generated by
1.16.1