CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/DataFormats/FWLite/interface/EventHistoryGetter.h

Go to the documentation of this file.
00001 #ifndef DataFormats_FWLite_EventHistoryGetter_h
00002 #define DataFormats_FWLite_EventHistoryGetter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     DataFormats
00006 // Class  :     EventHistoryGetter
00007 //
00016 //
00017 // Original Author:
00018 //         Created:  Wed Feb 10 11:15:16 CST 2010
00019 // $Id: EventHistoryGetter.h,v 1.1 2010/02/12 15:24:34 ewv Exp $
00020 //
00021 #if !defined(__CINT__) && !defined(__MAKECINT__)
00022 
00023 #include "DataFormats/FWLite/interface/Event.h"
00024 #include "DataFormats/FWLite/interface/HistoryGetterBase.h"
00025 
00026 namespace fwlite {
00027     class EventHistoryGetter : public HistoryGetterBase{
00028         public:
00029             EventHistoryGetter(const Event*);
00030             virtual ~EventHistoryGetter();
00031 
00032             // ---------- const member functions ---------------------
00033             const edm::ProcessHistory& history() const;
00034 
00035         private:
00036             EventHistoryGetter(const EventHistoryGetter&); // stop default
00037 
00038             const EventHistoryGetter& operator=(const EventHistoryGetter&); // stop default
00039 
00040             // ---------- member data --------------------------------
00041             const fwlite::Event* event_;
00042     };
00043 
00044 }
00045 
00046 #endif /*__CINT__ */
00047 #endif