/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RecHeader.h
Go to the documentation of this file.
00001 
00002 //   **************************************************************************
00003 //   *                                                                        *
00004 //   *                      ! ! ! A T T E N T I O N ! ! !                     *
00005 //   *                                                                        *
00006 //   *  This file was created automatically by GaudiObjDesc, please do not    *
00007 //   *  delete it or edit it by hand.                                         *
00008 //   *                                                                        *
00009 //   *  If you want to change this file, first change the corresponding       *
00010 //   *  xml-file and rerun the tools from GaudiObjDesc (or run make if you    *
00011 //   *  are using it from inside a Gaudi-package).                            *
00012 //   *                                                                        *
00013 //   **************************************************************************
00014 
00015 #ifndef RecEvent_RecHeader_H
00016 #define RecEvent_RecHeader_H 1
00017 
00018 // Include files
00019 #include "Event/HeaderObject.h"
00020 #include "Event/RecTrigger.h"
00021 #include "GaudiKernel/boost_allocator.h"
00022 #include <ostream>
00023 
00024 // Forward declarations
00025 
00026 namespace DayaBay 
00027 {
00028 
00029   // Forward declarations
00030   
00031   // Class ID definition
00032   static const CLID CLID_RecHeader = 51801;
00033   
00034   // Namespace for locations in TDS
00035   namespace RecHeaderLocation {
00036     static const std::string& Default = "/Event/Rec/RecHeader";
00037   }
00038   
00039 
00049   class RecHeader: public HeaderObject
00050   {
00051   public:
00052 
00054   static const std::string& defaultLocation() { return RecHeaderLocation::Default; }
00055   virtual const std::string& defLoc() const { return RecHeaderLocation::Default; }
00056   
00058     RecHeader() : m_recTrigger() {}
00059   
00061     virtual ~RecHeader() {}
00062   
00063     // Retrieve pointer to class definition structure
00064     virtual const CLID& clID() const;
00065     static const CLID& classID();
00066   
00068    virtual std::ostream& fillStream(std::ostream& s) const;
00069   
00072   const DayaBay::RecTrigger& recTrigger() const;
00073   
00076   DayaBay::RecTrigger& recTrigger();
00077   
00080   void setRecTrigger(const DayaBay::RecTrigger& value);
00081   
00082   
00083   #ifndef GOD_NOALLOC
00084 
00085     static void* operator new ( size_t size )
00086     {
00087       return ( sizeof(RecHeader) == size ? 
00088                boost::singleton_pool<RecHeader, sizeof(RecHeader)>::malloc() :
00089                ::operator new(size) );
00090     }
00091   
00095     static void* operator new ( size_t size, void* pObj )
00096     {
00097       return ::operator new (size,pObj);
00098     }
00099   
00101     static void operator delete ( void* p )
00102     {
00103       boost::singleton_pool<RecHeader, sizeof(RecHeader)>::is_from(p) ?
00104       boost::singleton_pool<RecHeader, sizeof(RecHeader)>::free(p) :
00105       ::operator delete(p);
00106     }
00107   
00110     static void operator delete ( void* p, void* pObj )
00111     {
00112       ::operator delete (p, pObj);
00113     }
00114   #endif
00115   protected:
00116 
00117   private:
00118 
00119     DayaBay::RecTrigger m_recTrigger; 
00120   
00121   }; // class RecHeader
00122 
00123   inline std::ostream& operator<< (std::ostream& str, const RecHeader& obj)
00124   {
00125     return obj.fillStream(str);
00126   }
00127   
00128 } // namespace DayaBay;
00129 
00130 // -----------------------------------------------------------------------------
00131 // end of class
00132 // -----------------------------------------------------------------------------
00133 
00134 // Including forward declarations
00135 
00136 inline const CLID& DayaBay::RecHeader::clID() const
00137 {
00138   return DayaBay::RecHeader::classID();
00139 }
00140 
00141 inline const CLID& DayaBay::RecHeader::classID()
00142 {
00143   return CLID_RecHeader;
00144 }
00145 
00146 inline std::ostream& DayaBay::RecHeader::fillStream(std::ostream& s) const
00147 {
00148   HeaderObject::fillStream(s);
00149   s << "{ " << "recTrigger :    " << m_recTrigger << std::endl << " }";
00150   return s;
00151 }
00152 
00153 
00154 inline const DayaBay::RecTrigger& DayaBay::RecHeader::recTrigger() const 
00155 {
00156   return m_recTrigger;
00157 }
00158 
00159 inline DayaBay::RecTrigger& DayaBay::RecHeader::recTrigger() 
00160 {
00161   return m_recTrigger;
00162 }
00163 
00164 inline void DayaBay::RecHeader::setRecTrigger(const DayaBay::RecTrigger& value) 
00165 {
00166   m_recTrigger = value;
00167 }
00168 
00169 
00170 #endif ///RecEvent_RecHeader_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:00:28 for RecEvent by doxygen 1.7.4