CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkIdManDumb.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkIdManDumb.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"
15
#include "
TrkFitter/TrkIdManDumb.h
"
16
17
//------------------------------------------------------------------------
18
TrkIdManDumb::TrkIdManDumb
(
long
val) {
19
//------------------------------------------------------------------------
20
_theValue = val;
21
}
22
23
//------------------------------------------------------------------------
24
TrkIdManDumb::~TrkIdManDumb
() {}
25
//------------------------------------------------------------------------
26
27
//------------------------------------------------------------------------
28
long
29
TrkIdManDumb::nextId
() {
30
//------------------------------------------------------------------------
31
return
theValue();
32
}
33
34
//------------------------------------------------------------------------
35
long
36
TrkIdManDumb::lastId
()
const
{
37
//------------------------------------------------------------------------
38
return
theValue();
39
}
40
41
//------------------------------------------------------------------------
42
TrkIdManDumb
*
43
TrkIdManDumb::instance
() {
44
//------------------------------------------------------------------------
45
static
TrkIdManDumb
theSingleton(-1);
46
return
&theSingleton;
47
}
48
49
void
50
TrkIdManDumb::setMax
(
long
maxid) {
51
_theValue = maxid;
52
}
TrkIdManDumb.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
6.6.5.i
Reconstruction
MdcPatRec
TrkFitter
TrkFitter-00-01-13
src
TrkIdManDumb.cxx
Generated by
1.12.0