Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
// -*- C++ -*-
//
// Package:     DataFormats
// Class  :     EventHistoryGetter
//
// Implementation:
//     [Notes on implementation]
//
// Original Author:
//         Created:  Wed Feb 10 11:15:18 CST 2010
//

// user include files
#include "DataFormats/FWLite/interface/EventHistoryGetter.h"

namespace fwlite {

  //
  // constructors and destructor
  //
  EventHistoryGetter::EventHistoryGetter(const Event* event) { event_ = event; }

  EventHistoryGetter::~EventHistoryGetter() {}

  //
  // const member functions
  //
  const edm::ProcessHistory& EventHistoryGetter::history() const { return event_->history(); }
}  // namespace fwlite