CGEM BOSS 6.6.5.i
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 2017/12/15 12:01:44 huangzhen 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"
16
17//------------------------------------------------------------------------
19//------------------------------------------------------------------------
20 _nextId = firstId;
21}
22
23//------------------------------------------------------------------------
25//------------------------------------------------------------------------
26}
27
28//------------------------------------------------------------------------
29long
31//------------------------------------------------------------------------
32 long id = _nextId;
33 _nextId++;
34 return id;
35}
36
37//------------------------------------------------------------------------
38long
40//------------------------------------------------------------------------
41 return (_nextId - 1);
42}
43
44void
46 _nextId = maxid+1;
47}
48
TrkIdManDefault(long firstId)
virtual long nextId()
virtual long lastId() const
virtual ~TrkIdManDefault()
virtual void setMax(long maxid)