BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkIdManDefault.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkIdManDefault.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
4//
5// Description:
6// Standard manager of track ids; just a counter, really.
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author(s): Steve Schaffner
12//
13//------------------------------------------------------------------------
14#ifndef TRKIDMANDEFAULT_HH
15#define TRKIDMANDEFAULT_HH
16
18
19// Class interface //
21
22public:
23 TrkIdManDefault(long firstId);
24 virtual ~TrkIdManDefault();
25
26 virtual long nextId();
27 virtual long lastId() const;
28// allow updating the maximum value
29 virtual void setMax(long maxid);
30
31private:
32 long _nextId;
33
34 // Preempt
35 TrkIdManDefault& operator= (const TrkIdManDefault&);
37};
38
39#endif
40
41
42
43
44
45
46
virtual long nextId()
virtual long lastId() const
virtual ~TrkIdManDefault()
virtual void setMax(long maxid)