| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GiGaKineRefTableEntry.h

Go to the documentation of this file.
00001 // ============================================================================
00003 // ============================================================================
00017 // ============================================================================
00018 #ifndef GIGACNV_GIGAKINEREFTABLEENTRY_H 
00019 #define GIGACNV_GIGAKINEREFTABLEENTRY_H 1
00020 // ============================================================================
00022 #include <utility>
00024 namespace LHCb {
00025   class MCParticle;
00026 }
00027 
00038 class GiGaKineRefTableEntry: private std::pair<LHCb::MCParticle*,int>
00039 {
00040   
00041 public:
00042   
00047   GiGaKineRefTableEntry( LHCb::MCParticle* particle =  0 ,
00048                          const int   index    = -1 )
00049     : std::pair<LHCb::MCParticle*,int>(particle,index){};
00051   ~GiGaKineRefTableEntry(){}
00052   
00056   inline       LHCb::MCParticle*& particle()       { return first  ; }
00057   
00061   inline const LHCb::MCParticle*  particle() const { return first  ; }
00062   
00066   inline       int&         index   ()       { return second ; }
00067   
00071   inline const int          index   () const { return second ; }
00072   
00073 };
00074 
00075 // ============================================================================
00076 #endif // GIGACNV_GIGAKINEREFTABLEENTRY_H
00077 // ============================================================================
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:52 2011 for GiGaCnv by doxygen 1.4.7