1 |
dgele |
1.1 |
// -*- C++ -*-
|
2 |
|
|
//
|
3 |
|
|
// Package: PATMHTProducer
|
4 |
|
|
// Class: PATMHTProducer
|
5 |
|
|
//
|
6 |
|
|
/**\class PATMHTProducer
|
7 |
|
|
|
8 |
|
|
Description: <one line class summary>
|
9 |
|
|
|
10 |
|
|
Implementation:
|
11 |
|
|
<Notes on implementation>
|
12 |
|
|
*/
|
13 |
|
|
//
|
14 |
|
|
// Original Author: Xin Shi & Freya Blekman, Cornell University
|
15 |
|
|
// Created: Fri Sep 12 17:58:29 CEST 2008
|
16 |
|
|
// $Id: PATMHTProducer.h,v 1.2 2008/10/16 16:53:41 fblekman Exp $
|
17 |
|
|
//
|
18 |
|
|
//
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
// system include files
|
22 |
|
|
#include <memory>
|
23 |
|
|
|
24 |
|
|
// user include files
|
25 |
|
|
|
26 |
|
|
#include "FWCore/Framework/interface/Event.h"
|
27 |
|
|
#include "FWCore/Framework/interface/EDProducer.h"
|
28 |
|
|
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
29 |
|
|
#include "FWCore/Framework/interface/MakerMacros.h"
|
30 |
|
|
|
31 |
|
|
#include "FWCore/MessageLogger/interface/MessageLogger.h"
|
32 |
|
|
|
33 |
|
|
#include "FWCore/ParameterSet/interface/FileInPath.h"
|
34 |
|
|
#include "FWCore/ParameterSet/interface/InputTag.h"
|
35 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
#include "DataFormats/Candidate/interface/Candidate.h"
|
39 |
|
|
#include "DataFormats/Common/interface/View.h"
|
40 |
|
|
#include "DataFormats/Math/interface/LorentzVector.h"
|
41 |
|
|
#include "DataFormats/PatCandidates/interface/MHT.h"
|
42 |
|
|
#include "DataFormats/PatCandidates/interface/Jet.h"
|
43 |
|
|
#include "DataFormats/PatCandidates/interface/Photon.h"
|
44 |
|
|
#include "DataFormats/PatCandidates/interface/Tau.h"
|
45 |
|
|
#include "DataFormats/PatCandidates/interface/Electron.h"
|
46 |
|
|
#include "DataFormats/PatCandidates/interface/Muon.h"
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
#include "RecoMET/METAlgorithms/interface/SigInputObj.h"
|
50 |
|
|
#include "RecoMET/METAlgorithms/interface/SignAlgoResolutions.h"
|
51 |
|
|
#include "RecoMET/METAlgorithms/interface/significanceAlgo.h"
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
//
|
56 |
|
|
// class declaration
|
57 |
|
|
//
|
58 |
|
|
|
59 |
|
|
namespace pat {
|
60 |
|
|
class PATMHTProducer : public edm::EDProducer {
|
61 |
|
|
public:
|
62 |
|
|
explicit PATMHTProducer(const edm::ParameterSet&);
|
63 |
|
|
~PATMHTProducer();
|
64 |
|
|
|
65 |
|
|
private:
|
66 |
|
|
virtual void beginJob(const edm::EventSetup&) ;
|
67 |
|
|
virtual void beginRun(const edm::EventSetup&) ;
|
68 |
|
|
virtual void produce(edm::Event&, const edm::EventSetup&);
|
69 |
|
|
virtual void endJob() ;
|
70 |
|
|
|
71 |
|
|
// ----------member data ---------------------------
|
72 |
|
|
|
73 |
|
|
// input tags.
|
74 |
|
|
edm::InputTag mhtLabel_;
|
75 |
|
|
edm::InputTag jetLabel_;
|
76 |
|
|
edm::InputTag eleLabel_;
|
77 |
|
|
edm::InputTag muoLabel_;
|
78 |
|
|
edm::InputTag tauLabel_;
|
79 |
|
|
edm::InputTag phoLabel_;
|
80 |
|
|
|
81 |
|
|
std::vector<metsig::SigInputObj> physobjvector_ ;
|
82 |
|
|
|
83 |
|
|
double uncertaintyScaleFactor_; // scale factor for the uncertainty parameters.
|
84 |
|
|
|
85 |
|
|
};
|
86 |
|
|
//define this as a plug-in
|
87 |
|
|
|
88 |
|
|
} //end of namespace
|
89 |
|
|
|