/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/TrkFitter/TrkFitter-00-01-11/TrkFitter/TrkIdManDefault.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: TrkIdManDefault.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
00004 //
00005 // Description:
00006 //     Standard manager of track ids; just a counter, really.
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author(s): Steve Schaffner
00012 //
00013 //------------------------------------------------------------------------
00014 #ifndef TRKIDMANDEFAULT_HH
00015 #define TRKIDMANDEFAULT_HH
00016 
00017 #include "TrkBase/TrkIdManager.h"
00018 
00019 // Class interface //
00020 class TrkIdManDefault : public TrkIdManager {
00021 
00022 public:
00023   TrkIdManDefault(long firstId);
00024   virtual ~TrkIdManDefault();
00025   
00026   virtual long nextId();
00027   virtual long lastId() const;
00028 // allow updating the maximum value
00029   virtual void setMax(long maxid);
00030 
00031 private:        
00032   long _nextId;
00033 
00034   // Preempt 
00035   TrkIdManDefault&   operator= (const TrkIdManDefault&);
00036   TrkIdManDefault(const TrkIdManDefault &);
00037 };
00038 
00039 #endif
00040 
00041 
00042 
00043 
00044 
00045 
00046 

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