BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/TrkFitter/TrkFitter-00-01-11/TrkFitter/TrkIdManDumb.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkIdManDumb.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
4
//
5
// Description:
6
// Class for generating dummy id numbers (always same value). Users
7
// can create instances, or use a singleton instance (value = -1).
8
//
9
// Environment:
10
// Software developed for the BaBar Detector at the SLAC B-Factory.
11
//
12
// Author(s): Steve Schaffner
13
//
14
//------------------------------------------------------------------------
15
#ifndef TRKIDMANDUMB_HH
16
#define TRKIDMANDUMB_HH
17
#include "TrkBase/TrkIdManager.h"
18
19
// Class interface //
20
class
TrkIdManDumb
:
public
TrkIdManager
{
21
22
public
:
23
TrkIdManDumb
(
long
val);
24
virtual
~TrkIdManDumb
();
25
static
TrkIdManDumb
*
instance
();
26
27
virtual
long
nextId
();
28
virtual
long
lastId
()
const
;
29
virtual
void
setMax
(
long
maxid);
30
private
:
31
long
_theValue;
32
33
long
theValue()
const
{
return
_theValue;}
34
// Preempt
35
TrkIdManDumb
& operator= (
const
TrkIdManDumb
&);
36
TrkIdManDumb
(
const
TrkIdManDumb
&);
37
};
38
39
#endif
40
41
42
43
44
45
46
TrkIdManDumb
Definition:
InstallArea/include/TrkFitter/TrkFitter/TrkIdManDumb.h:20
TrkIdManDumb::instance
static TrkIdManDumb * instance()
TrkIdManDumb::lastId
virtual long lastId() const
TrkIdManDumb::nextId
virtual long nextId()
TrkIdManDumb::setMax
virtual void setMax(long maxid)
TrkIdManDumb::TrkIdManDumb
TrkIdManDumb(long val)
TrkIdManDumb::~TrkIdManDumb
virtual ~TrkIdManDumb()
TrkIdManager
Definition:
InstallArea/include/TrkBase/TrkBase/TrkIdManager.h:18
source
Reconstruction
MdcPatRec
TrkFitter
TrkFitter-00-01-11
TrkFitter
TrkIdManDumb.h
Generated by
1.9.6