TopQuarkAnalysis
TopPairBSM
src
BoostedTopProducer.h
Go to the documentation of this file.
1
#ifndef TopQuarkAnalysis_TopPairBSM_interface_BoostedTopProducer_h
2
#define TopQuarkAnalysis_TopPairBSM_interface_BoostedTopProducer_h
3
4
// -*- C++ -*-
5
//
6
// Package: BoostedTopProducer
7
// Class: BoostedTopProducer
8
//
46
//
47
// Original Author: "Salvatore Rappoccio"
48
// Created: Thu May 1 11:37:48 CDT 2008
49
//
50
//
51
52
// system include files
53
#include <memory>
54
55
// user include files
56
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
57
#include "
FWCore/Framework/interface/EDProducer.h
"
58
59
#include "
FWCore/Framework/interface/Event.h
"
60
#include "
FWCore/Framework/interface/MakerMacros.h
"
61
62
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
63
64
#include "
DataFormats/Candidate/interface/CompositeCandidate.h
"
65
#include "
DataFormats/PatCandidates/interface/Muon.h
"
66
#include "
DataFormats/PatCandidates/interface/Electron.h
"
67
#include "
DataFormats/PatCandidates/interface/Jet.h
"
68
#include "
DataFormats/PatCandidates/interface/MET.h
"
69
#include "
DataFormats/PatCandidates/interface/Hemisphere.h
"
70
71
#include "
METzCalculator.h
"
72
#include "
AnalysisDataFormats/TopObjects/interface/TtSemiLeptonicEvent.h
"
73
#include "TLorentzVector.h"
74
#include "TMath.h"
75
76
//
77
// class decleration
78
//
79
80
class
BoostedTopProducer
:
public
edm::EDProducer
{
81
public
:
82
explicit
BoostedTopProducer
(
const
edm::ParameterSet
&);
83
~BoostedTopProducer
()
override
;
84
85
private
:
86
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
87
88
// ----------member data ---------------------------
89
90
// data labels
91
edm::EDGetTokenT<std::vector<pat::Electron>
>
eleToken_
;
92
edm::EDGetTokenT<std::vector<pat::Muon>
>
muoToken_
;
93
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetToken_
;
94
edm::EDGetTokenT<std::vector<pat::MET>
>
metToken_
;
95
edm::EDGetTokenT<TtSemiLeptonicEvent>
solToken_
;
96
97
// Cut variables
98
double
caloIsoCut_
;
// isolation cut to consider a lepton isolated
99
double
mTop_
;
// input top mass
100
101
// Rapidity-invariant deltaR
102
double
Psi
(
const
TLorentzVector&
p1
,
const
TLorentzVector&
p2
,
double
mass
);
103
};
104
105
#endif
CompositeCandidate.h
BoostedTopProducer::solToken_
edm::EDGetTokenT< TtSemiLeptonicEvent > solToken_
Definition:
BoostedTopProducer.h:95
EDProducer.h
BoostedTopProducer::BoostedTopProducer
BoostedTopProducer(const edm::ParameterSet &)
Definition:
BoostedTopProducer.cc:23
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Muon.h
BoostedTopProducer::~BoostedTopProducer
~BoostedTopProducer() override
Definition:
BoostedTopProducer.cc:35
BoostedTopProducer::eleToken_
edm::EDGetTokenT< std::vector< pat::Electron > > eleToken_
Definition:
BoostedTopProducer.h:91
BoostedTopProducer::caloIsoCut_
double caloIsoCut_
Definition:
BoostedTopProducer.h:98
BoostedTopProducer::muoToken_
edm::EDGetTokenT< std::vector< pat::Muon > > muoToken_
Definition:
BoostedTopProducer.h:92
MakerMacros.h
BoostedTopProducer::Psi
double Psi(const TLorentzVector &p1, const TLorentzVector &p2, double mass)
Definition:
BoostedTopProducer.cc:366
BoostedTopProducer
Definition:
BoostedTopProducer.h:80
BoostedTopProducer::jetToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetToken_
Definition:
BoostedTopProducer.h:93
p2
double p2[4]
Definition:
TauolaWrapper.h:90
TtSemiLeptonicEvent.h
METzCalculator.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
p1
double p1[4]
Definition:
TauolaWrapper.h:89
edm::EventSetup
Definition:
EventSetup.h:57
MET.h
Jet.h
BoostedTopProducer::mTop_
double mTop_
Definition:
BoostedTopProducer.h:99
BoostedTopProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
BoostedTopProducer.cc:42
Frameworkfwd.h
BoostedTopProducer::metToken_
edm::EDGetTokenT< std::vector< pat::MET > > metToken_
Definition:
BoostedTopProducer.h:94
EgHLTOffHistBins_cfi.mass
mass
Definition:
EgHLTOffHistBins_cfi.py:34
edm::EDProducer
Definition:
EDProducer.h:35
Electron.h
Hemisphere.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16