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//------------------------------------------------------------------------
19 //------------------------------------------------------------------------
20 _nextId = firstId;
21}
22
23//------------------------------------------------------------------------
25 //------------------------------------------------------------------------
26}
27
28//------------------------------------------------------------------------
30 //------------------------------------------------------------------------
31 long id = _nextId;
32 _nextId++;
33 return id;
34}
35
36//------------------------------------------------------------------------
38 //------------------------------------------------------------------------
39 return ( _nextId - 1 );
40}
41
42void TrkIdManDefault::setMax( long maxid ) { _nextId = maxid + 1; }
TrkIdManDefault(long firstId)
virtual long nextId()
virtual long lastId() const
virtual ~TrkIdManDefault()
virtual void setMax(long maxid)