00001 #ifndef ModulesEventAuxiliaryHistoryProducer_H 00002 #define ModulesEventAuxiliaryHistoryProducer_H 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "DataFormats/Provenance/interface/EventAuxiliary.h" 00006 #include <deque> 00007 00008 namespace edm 00009 { 00010 class EventAuxiliaryHistoryProducer : public edm::EDProducer 00011 { 00012 public: 00013 explicit EventAuxiliaryHistoryProducer(edm::ParameterSet const&); 00014 virtual ~EventAuxiliaryHistoryProducer(); 00015 00016 virtual void produce(edm::Event& e, edm::EventSetup const& c); 00017 void endJob(); 00018 00019 private: 00020 unsigned int depth_; 00021 std::deque<edm::EventAuxiliary> history_; 00022 }; 00023 } 00024 00025 #endif 00026