BOSS
6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkIdManDefault.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkIdManDefault.cxx,v 1.1.1.1 2005/04/21 06:26:56 maqm 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 "
TrkFitter/TrkIdManDefault.h
"
16
17
//------------------------------------------------------------------------
18
TrkIdManDefault::TrkIdManDefault
(
long
firstId) {
19
//------------------------------------------------------------------------
20
_nextId = firstId;
21
}
22
23
//------------------------------------------------------------------------
24
TrkIdManDefault::~TrkIdManDefault
() {
25
//------------------------------------------------------------------------
26
}
27
28
//------------------------------------------------------------------------
29
long
30
TrkIdManDefault::nextId
() {
31
//------------------------------------------------------------------------
32
long
id
= _nextId;
33
_nextId++;
34
return
id;
35
}
36
37
//------------------------------------------------------------------------
38
long
39
TrkIdManDefault::lastId
()
const
{
40
//------------------------------------------------------------------------
41
return
(_nextId - 1);
42
}
43
44
void
45
TrkIdManDefault::setMax
(
long
maxid) {
46
_nextId = maxid+1;
47
}
48
TrkIdManDefault.h
TrkIdManDefault::TrkIdManDefault
TrkIdManDefault(long firstId)
Definition:
TrkIdManDefault.cxx:18
TrkIdManDefault::nextId
virtual long nextId()
Definition:
TrkIdManDefault.cxx:30
TrkIdManDefault::lastId
virtual long lastId() const
Definition:
TrkIdManDefault.cxx:39
TrkIdManDefault::~TrkIdManDefault
virtual ~TrkIdManDefault()
Definition:
TrkIdManDefault.cxx:24
TrkIdManDefault::setMax
virtual void setMax(long maxid)
Definition:
TrkIdManDefault.cxx:45
source
Reconstruction
MdcPatRec
TrkFitter
TrkFitter-00-01-11
src
TrkIdManDefault.cxx
Generated by
1.9.6