/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Muc/MucRecEvent/MucRecEvent-00-02-52/MucRecEvent/MucRecHitID.h

Go to the documentation of this file.
00001 //$id$
00002 //
00003 //$log$
00004 
00005 /*
00006  *    2003/12/12   Zhengyun You     Peking University
00007  * 
00008  *    2004/09/12   Zhengyun You     Peking University
00009  *                 transplanted to Gaudi framework
00010  */
00011 
00012 #ifndef MUC_REC_HIT_ID_H
00013 #define MUC_REC_HIT_ID_H
00014 
00015 #include <stdlib.h>
00016 #include <math.h>
00017 #include <vector>
00018 #include <map>
00019 #include <iostream>
00020 
00021 
00030 class MucRecHitID
00031 {
00032  public:
00033   // PUBLIC CONSTANTS =================================================
00034 
00035   // CONSTRUCTOR/DESTRUCTOR METHODS ===================================
00036 
00038   MucRecHitID(const int part = -1,
00039               const int seg  = -1,
00040               const int gap  = -1,
00041               const int hit  = -1);
00042 
00044   MucRecHitID(const MucRecHitID& source);
00045   
00047   MucRecHitID& operator=(const MucRecHitID& orig);
00048 
00050   bool operator ==    (const MucRecHitID& other) const;
00051   bool operator !=    (const MucRecHitID& other) const;
00052   bool operator <     (const MucRecHitID& other) const;
00053   bool operator >     (const MucRecHitID& other) const;
00054   
00056   ~MucRecHitID();
00057   
00059   void SetID(const int part = -1,
00060              const int seg  = -1,
00061              const int gap  = -1,
00062              const int hit  = -1);
00063 
00065   int Part() const { return m_Part; }
00066 
00068   int Seg() const { return m_Seg; }
00069   
00071   int Gap() const { return m_Gap; }
00072   
00074   int Hit() const { return m_Hit; }
00075   
00076  private:
00077   int m_Part; 
00078   int m_Seg;  
00079   int m_Gap;  
00080   int m_Hit;  
00081 };
00082 
00084 //ostream& operator << (ostream& s, const MucRecHitID& n);
00085 
00086 #endif  /* MUC_REC_HIT_ID_H */

Generated on Tue Nov 29 23:12:58 2016 for BOSS_7.0.2 by  doxygen 1.4.7