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

In This Package:

ElecRpcPulse.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 ElecEvent_ElecRpcPulse_H
00016 #define ElecEvent_ElecRpcPulse_H 1
00017 
00018 // Include files
00019 #include "Conventions/Electronics.h"
00020 #include "Event/ElecPulse.h"
00021 #include "GaudiKernel/boost_allocator.h"
00022 #include <ostream>
00023 
00024 // Forward declarations
00025 
00026 namespace DayaBay 
00027 {
00028 
00029   // Forward declarations
00030   class ElecPulseCollection;
00031   class SimHit;
00032   
00033 
00043   class ElecRpcPulse: public ElecPulse
00044   {
00045   public:
00046 
00048     ElecRpcPulse() {}
00049   
00051     virtual ~ElecRpcPulse() {}
00052   
00054    virtual std::ostream& fillStream(std::ostream& s) const;
00055   
00056   
00057   #ifndef GOD_NOALLOC
00058 
00059     static void* operator new ( size_t size )
00060     {
00061       return ( sizeof(ElecRpcPulse) == size ? 
00062                boost::singleton_pool<ElecRpcPulse, sizeof(ElecRpcPulse)>::malloc() :
00063                ::operator new(size) );
00064     }
00065   
00069     static void* operator new ( size_t size, void* pObj )
00070     {
00071       return ::operator new (size,pObj);
00072     }
00073   
00075     static void operator delete ( void* p )
00076     {
00077       boost::singleton_pool<ElecRpcPulse, sizeof(ElecRpcPulse)>::is_from(p) ?
00078       boost::singleton_pool<ElecRpcPulse, sizeof(ElecRpcPulse)>::free(p) :
00079       ::operator delete(p);
00080     }
00081   
00084     static void operator delete ( void* p, void* pObj )
00085     {
00086       ::operator delete (p, pObj);
00087     }
00088   #endif
00089   protected:
00090 
00091   private:
00092 
00093   }; // class ElecRpcPulse
00094 
00095   inline std::ostream& operator<< (std::ostream& str, const ElecRpcPulse& obj)
00096   {
00097     return obj.fillStream(str);
00098   }
00099   
00100 } // namespace DayaBay;
00101 
00102 // -----------------------------------------------------------------------------
00103 // end of class
00104 // -----------------------------------------------------------------------------
00105 
00106 // Including forward declarations
00107 #include "ElecPulseCollection.h"
00108 #include "Event/SimHit.h"
00109 
00110 
00111 inline std::ostream& DayaBay::ElecRpcPulse::fillStream(std::ostream& s) const
00112 {
00113   ElecPulse::fillStream(s);
00114   return s;
00115 }
00116 
00117 
00118 
00119 #endif ///ElecEvent_ElecRpcPulse_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:05:49 for ElecEvent by doxygen 1.7.4