/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/TrkFitter/TrkFitter-00-01-11/src/TrkIdManDumb.cxx

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: TrkIdManDumb.cxx,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
00004 //
00005 // Description:
00006 //     
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author(s): Steve Schaffner
00012 //
00013 //------------------------------------------------------------------------
00014 //#include "BaBar/BaBar.hh"
00015 #include "TrkFitter/TrkIdManDumb.h"
00016 
00017 //------------------------------------------------------------------------
00018 TrkIdManDumb::TrkIdManDumb(long val) {
00019 //------------------------------------------------------------------------
00020   _theValue = val;
00021 }
00022 
00023 //------------------------------------------------------------------------
00024 TrkIdManDumb::~TrkIdManDumb() {}
00025 //------------------------------------------------------------------------
00026 
00027 //------------------------------------------------------------------------
00028 long
00029 TrkIdManDumb::nextId() {
00030 //------------------------------------------------------------------------
00031   return theValue();
00032 }
00033 
00034 //------------------------------------------------------------------------
00035 long
00036 TrkIdManDumb::lastId() const {
00037 //------------------------------------------------------------------------
00038   return theValue();
00039 }
00040 
00041 //------------------------------------------------------------------------
00042 TrkIdManDumb*
00043 TrkIdManDumb::instance() {
00044 //------------------------------------------------------------------------
00045   static TrkIdManDumb theSingleton(-1);
00046   return &theSingleton;
00047 }
00048 
00049 void
00050 TrkIdManDumb::setMax(long maxid) {
00051   _theValue = maxid;
00052 }

Generated on Tue Nov 29 23:13:44 2016 for BOSS_7.0.2 by  doxygen 1.4.7