1 |
dgele |
1.1 |
#ifndef PhysicsTools_PatAlgos_PATTrigProducer_h
|
2 |
|
|
#define PhysicsTools_PatAlgos_PATTrigProducer_h
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
// -*- C++ -*-
|
6 |
|
|
//
|
7 |
|
|
// Package: PatAlgos
|
8 |
|
|
// Class: PATTrigProducer
|
9 |
|
|
//
|
10 |
|
|
/**
|
11 |
|
|
\class pat::PATTrigProducer PATTrigProducer.h "PhysicsTools/PatAlgos/plugins/PATTrigProducer.h"
|
12 |
|
|
\brief Produces a CandidateCollection of trigger objects.
|
13 |
|
|
|
14 |
|
|
A CandidateCollection of trigger objects from a given filter is produced from trigger information available in AOD.
|
15 |
|
|
|
16 |
|
|
\author Volker Adler
|
17 |
|
|
\version $Id: PATTrigProducer.h,v 1.2 2008/06/08 12:24:03 vadler Exp $
|
18 |
|
|
*/
|
19 |
|
|
//
|
20 |
|
|
// $Id: PATTrigProducer.h,v 1.2 2008/06/08 12:24:03 vadler Exp $
|
21 |
|
|
//
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
25 |
|
|
#include "FWCore/Framework/interface/EDProducer.h"
|
26 |
|
|
|
27 |
|
|
#include "FWCore/Framework/interface/Run.h"
|
28 |
|
|
#include "FWCore/Framework/interface/Event.h"
|
29 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
30 |
|
|
#include "FWCore/ParameterSet/interface/InputTag.h"
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
namespace pat {
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
class PATTrigProducer : public edm::EDProducer {
|
37 |
|
|
|
38 |
|
|
public:
|
39 |
|
|
|
40 |
|
|
explicit PATTrigProducer( const edm::ParameterSet & iConfig );
|
41 |
|
|
~PATTrigProducer();
|
42 |
|
|
|
43 |
|
|
private:
|
44 |
|
|
|
45 |
|
|
virtual void produce( edm::Event & iEvent, const edm::EventSetup & iSetup );
|
46 |
|
|
|
47 |
|
|
edm::InputTag triggerEvent_;
|
48 |
|
|
edm::InputTag filterName_;
|
49 |
|
|
|
50 |
|
|
};
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
#endif
|