1 |
#ifndef PhysicsTools_PatAlgos_PATTriggerEventProducer_h
|
2 |
#define PhysicsTools_PatAlgos_PATTriggerEventProducer_h
|
3 |
|
4 |
|
5 |
// -*- C++ -*-
|
6 |
//
|
7 |
// Package: PatAlgos
|
8 |
// Class: pat::PATTriggerEventProducer
|
9 |
//
|
10 |
// $Id: PATTriggerEventProducer.h,v 1.1 2009/10/20 17:15:14 dgele Exp $
|
11 |
//
|
12 |
/**
|
13 |
\class pat::PATTriggerEventProducer PATTriggerEventProducer.h "PhysicsTools/PatAlgos/plugins/PATTriggerEventProducer.h"
|
14 |
\brief Produces the pat::TriggerEvent in PAT layer 1.
|
15 |
|
16 |
[...]
|
17 |
|
18 |
\author Volker Adler
|
19 |
\version $Id: PATTriggerEventProducer.h,v 1.1 2009/10/20 17:15:14 dgele Exp $
|
20 |
*/
|
21 |
|
22 |
|
23 |
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
24 |
#include "FWCore/Framework/interface/EDProducer.h"
|
25 |
|
26 |
#include <string>
|
27 |
#include <vector>
|
28 |
|
29 |
#include "FWCore/Framework/interface/Run.h"
|
30 |
#include "FWCore/Framework/interface/Event.h"
|
31 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
32 |
#include "FWCore/Utilities/interface/InputTag.h"
|
33 |
|
34 |
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
|
35 |
#include "DataFormats/Common/interface/TriggerResults.h"
|
36 |
|
37 |
#include "DataFormats/PatCandidates/interface/TriggerObject.h"
|
38 |
#include "DataFormats/PatCandidates/interface/TriggerObjectStandAlone.h"
|
39 |
#include "DataFormats/PatCandidates/interface/TriggerFilter.h"
|
40 |
#include "DataFormats/PatCandidates/interface/TriggerPath.h"
|
41 |
#include "DataFormats/PatCandidates/interface/TriggerEvent.h"
|
42 |
|
43 |
|
44 |
namespace pat {
|
45 |
|
46 |
class PATTriggerEventProducer : public edm::EDProducer {
|
47 |
|
48 |
public:
|
49 |
|
50 |
explicit PATTriggerEventProducer( const edm::ParameterSet & iConfig );
|
51 |
~PATTriggerEventProducer();
|
52 |
|
53 |
private:
|
54 |
|
55 |
virtual void beginRun( edm::Run & iRun, const edm::EventSetup & iSetup );
|
56 |
virtual void produce( edm::Event & iEvent, const edm::EventSetup & iSetup );
|
57 |
|
58 |
HLTConfigProvider hltConfig_;
|
59 |
std::string nameProcess_;
|
60 |
edm::InputTag tagTriggerResults_;
|
61 |
edm::InputTag tagTriggerProducer_;
|
62 |
std::vector< edm::InputTag > tagsTriggerMatcher_;
|
63 |
|
64 |
};
|
65 |
|
66 |
}
|
67 |
|
68 |
|
69 |
#endif
|