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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#ifndef HLTcore_TriggerSummaryProducerRAW_h
#define HLTcore_TriggerSummaryProducerRAW_h
/** \class TriggerSummaryProducerRAW
*
*
* This class is an EDProducer making the HLT summary object for RAW
*
*
* \author Martin Grunewald
*
*/
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/global/EDProducer.h"
#include "FWCore/Framework/interface/GetterOfProducts.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
#include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
#include <string>
namespace edm {
class EventSetup;
}
namespace edm {
class ConfigurationDescriptions;
}
//
// class declaration
//
class TriggerSummaryProducerRAW : public edm::global::EDProducer<> {
public:
explicit TriggerSummaryProducerRAW(const edm::ParameterSet&);
~TriggerSummaryProducerRAW() override;
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
private:
/// process name
std::string pn_;
edm::GetterOfProducts<trigger::TriggerFilterObjectWithRefs> getterOfProducts_;
const edm::EDPutTokenT<trigger::TriggerEventWithRefs> putToken_;
};
#endif
|