BOSS
8.0.0
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
TrkIdManDefault::nextId
() {
30
//------------------------------------------------------------------------
31
long
id
= _nextId;
32
_nextId++;
33
return
id;
34
}
35
36
//------------------------------------------------------------------------
37
long
TrkIdManDefault::lastId
()
const
{
38
//------------------------------------------------------------------------
39
return
( _nextId - 1 );
40
}
41
42
void
TrkIdManDefault::setMax
(
long
maxid ) { _nextId = maxid + 1; }
TrkIdManDefault::TrkIdManDefault
TrkIdManDefault(long firstId)
Definition
TrkIdManDefault.cxx:18
TrkIdManDefault::nextId
virtual long nextId()
Definition
TrkIdManDefault.cxx:29
TrkIdManDefault::lastId
virtual long lastId() const
Definition
TrkIdManDefault.cxx:37
TrkIdManDefault::~TrkIdManDefault
virtual ~TrkIdManDefault()
Definition
TrkIdManDefault.cxx:24
TrkIdManDefault::setMax
virtual void setMax(long maxid)
Definition
TrkIdManDefault.cxx:42
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
TrkFitter
src
TrkIdManDefault.cxx
Generated by
1.16.1