00001 #ifndef Python_EventWrapper_h 00002 #define Python_EventWrapper_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Python 00006 // Class : EventWrapper 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Wed Jun 28 10:57:11 CDT 2006 00019 // $Id: EventWrapper.h,v 1.1 2006/07/18 12:17:07 chrjones Exp $ 00020 // 00021 00022 // system include files 00023 #include <string> 00024 // user include files 00025 #include "FWCore/Framework/interface/GenericHandle.h" 00026 00027 // forward declarations 00028 namespace edm { 00029 class Event; 00030 00031 namespace python { 00032 class ConstEventWrapper 00033 { 00034 00035 public: 00036 ConstEventWrapper() : event_(0) {} 00037 ConstEventWrapper(const edm::Event&); 00038 //virtual ~ConstEventWrapper(); 00039 00040 // ---------- const member functions --------------------- 00041 void getByLabel(std::string const& , edm::GenericHandle& ) const; 00042 void getByLabel(std::string const& , std::string const&, edm::GenericHandle& ) const; 00043 00044 // ---------- static member functions -------------------- 00045 00046 // ---------- member functions --------------------------- 00047 00048 private: 00049 //ConstEventWrapper(const ConstEventWrapper&); // stop default 00050 00051 //const ConstEventWrapper& operator=(const ConstEventWrapper&); // stop default 00052 00053 // ---------- member data -------------------------------- 00054 edm::Event const* event_; 00055 }; 00056 } 00057 } 00058 00059 #endif