/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/McEventSelector/McEventSelector-01-00-13/McEventSelector/McAddress.h

Go to the documentation of this file.
00001 //====================================================================
00002 //      McAddress.h
00003 //--------------------------------------------------------------------
00004 //
00005 //      Package    : McEventSelector 
00006 //
00007 //  Description: Definition of Mc address object
00008 //
00009 //      Author     : P. Calafiura
00010 //====================================================================
00011 #ifndef MCEVENTSELECTOR_MCADDRESS_H
00012 #define MCEVENTSELECTOR_MCADDRESS_H
00013 
00014 // C/C++ include files
00015 #include <string>
00016 
00017 // Framework include files
00018 #include "GaudiKernel/Kernel.h"
00019 #include "GaudiKernel/GenericAddress.h"
00020 
00021 
00022 class McAddress   : public GenericAddress   {
00023 public:
00025   virtual ~McAddress() {}; //doesn't own event
00026 
00028   McAddress(const CLID& clid, const std::string& fname,
00029                   const std::string& cname);
00030 
00031   McAddress(const CLID& clid, const std::string& fname,
00032             const int& run, const int& event, const std::string& cname);
00033 
00035   inline void setRunEvt(int run, unsigned int evt) {
00036     m_runNo = run;
00037     m_eventNo = evt;
00038   }
00039 
00040   int runNumber() const { return m_runNo; }
00041   unsigned int eventNumber() const { return m_eventNo; }
00042 
00043 private:
00044   int m_runNo;
00045   unsigned int m_eventNo;
00046 };
00047 #endif // MCEVENTSELECTOR_MCADDRESS_H
00048 

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