BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
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
TrkIdManager.h
TrkIdManDumb
Definition
TrkIdManDumb.h:20
TrkIdManDumb::instance
static TrkIdManDumb * instance()
Definition
TrkIdManDumb.cxx:43
TrkIdManDumb::nextId
virtual long nextId()
Definition
TrkIdManDumb.cxx:29
TrkIdManDumb::lastId
virtual long lastId() const
Definition
TrkIdManDumb.cxx:36
TrkIdManDumb::TrkIdManDumb
TrkIdManDumb(long val)
Definition
TrkIdManDumb.cxx:18
TrkIdManDumb::setMax
virtual void setMax(long maxid)
Definition
TrkIdManDumb.cxx:50
TrkIdManDumb::~TrkIdManDumb
virtual ~TrkIdManDumb()
Definition
TrkIdManDumb.cxx:24
TrkIdManager
Definition
TrkIdManager.h:18
7.1.1
Reconstruction
MdcPatRec
TrkFitter
TrkFitter-00-01-11
TrkFitter
TrkIdManDumb.h
Generated by
1.12.0