Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:24

0001 #ifndef HLTcore_TriggerSummaryProducerRAW_h
0002 #define HLTcore_TriggerSummaryProducerRAW_h
0003 
0004 /** \class TriggerSummaryProducerRAW
0005  *
0006  *  
0007  *  This class is an EDProducer making the HLT summary object for RAW
0008  *
0009  *
0010  *  \author Martin Grunewald
0011  *
0012  */
0013 
0014 #include "FWCore/Framework/interface/Event.h"
0015 #include "FWCore/Framework/interface/global/EDProducer.h"
0016 #include "FWCore/Framework/interface/GetterOfProducts.h"
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0019 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0020 
0021 #include <string>
0022 
0023 namespace edm {
0024   class EventSetup;
0025 }
0026 
0027 namespace edm {
0028   class ConfigurationDescriptions;
0029 }
0030 
0031 //
0032 // class declaration
0033 //
0034 class TriggerSummaryProducerRAW : public edm::global::EDProducer<> {
0035 public:
0036   explicit TriggerSummaryProducerRAW(const edm::ParameterSet&);
0037   ~TriggerSummaryProducerRAW() override;
0038   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0039   void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0040 
0041 private:
0042   /// process name
0043   std::string pn_;
0044 
0045   edm::GetterOfProducts<trigger::TriggerFilterObjectWithRefs> getterOfProducts_;
0046   const edm::EDPutTokenT<trigger::TriggerEventWithRefs> putToken_;
0047 };
0048 #endif