HLTrigger
JetMET
interface
HLTRHemisphere.h
Go to the documentation of this file.
1
#ifndef HLTRHemisphere_h
2
#define HLTRHemisphere_h
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/stream/EDFilter.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include "
DataFormats/Common/interface/View.h
"
11
#include "
DataFormats/JetReco/interface/CaloJet.h
"
12
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
13
14
#include "
DataFormats/METReco/interface/CaloMET.h
"
15
#include "
DataFormats/METReco/interface/CaloMETCollection.h
"
16
17
#include "
DataFormats/MuonReco/interface/Muon.h
"
18
#include "
DataFormats/RecoCandidate/interface/RecoChargedCandidate.h
"
19
20
namespace
edm
{
21
class
ConfigurationDescriptions
;
22
}
23
24
//
25
// class declaration
26
//
27
28
class
HLTRHemisphere
:
public
edm::stream::EDFilter
<> {
29
public
:
30
explicit
HLTRHemisphere
(
const
edm::ParameterSet
&);
31
~HLTRHemisphere
()
override
;
32
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
33
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
34
35
private
:
36
edm::EDGetTokenT<edm::View<reco::Jet>
>
m_theJetToken
;
37
edm::EDGetTokenT<std::vector<reco::RecoChargedCandidate>
>
m_theMuonToken
;
38
edm::InputTag
inputTag_
;
// input tag identifying product
39
edm::InputTag
muonTag_
;
// input tag for the muon objects
40
bool
doMuonCorrection_
;
// do the muon corrections
41
double
muonEta_
;
// maximum muon eta
42
double
min_Jet_Pt_
;
// minimum jet pT threshold for collection
43
double
max_Eta_
;
// maximum eta
44
int
max_NJ_
;
// don't calculate R if event has more than NJ jets
45
bool
accNJJets_
;
// accept or reject events with high NJ
46
47
void
ComputeHemispheres
(
std::unique_ptr
<std::vector<math::XYZTLorentzVector>>& hlist,
48
const
std::vector<math::XYZTLorentzVector>& JETS,
49
std::vector<math::XYZTLorentzVector>* extraJets =
nullptr
);
50
};
51
52
#endif //HLTRHemisphere_h
CaloJetCollection.h
CaloJet.h
HLTRHemisphere
Definition:
HLTRHemisphere.h:28
HLTRHemisphere::doMuonCorrection_
bool doMuonCorrection_
Definition:
HLTRHemisphere.h:40
Muon.h
HLTRHemisphere::accNJJets_
bool accNJJets_
Definition:
HLTRHemisphere.h:45
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
CaloMETCollection.h
HLTRHemisphere::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition:
HLTRHemisphere.cc:67
CaloMET.h
HLTRHemisphere::~HLTRHemisphere
~HLTRHemisphere() override
HLTRHemisphere::m_theJetToken
edm::EDGetTokenT< edm::View< reco::Jet > > m_theJetToken
Definition:
HLTRHemisphere.h:36
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
HLTRHemisphere::min_Jet_Pt_
double min_Jet_Pt_
Definition:
HLTRHemisphere.h:42
edm::ParameterSet
Definition:
ParameterSet.h:47
HLTRHemisphere::max_Eta_
double max_Eta_
Definition:
HLTRHemisphere.h:43
Event.h
HLTRHemisphere::inputTag_
edm::InputTag inputTag_
Definition:
HLTRHemisphere.h:38
HLTRHemisphere::muonEta_
double muonEta_
Definition:
HLTRHemisphere.h:41
HLTRHemisphere::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTRHemisphere.cc:49
HLTRHemisphere::muonTag_
edm::InputTag muonTag_
Definition:
HLTRHemisphere.h:39
HLTRHemisphere::max_NJ_
int max_NJ_
Definition:
HLTRHemisphere.h:44
edm::EventSetup
Definition:
EventSetup.h:58
HLTRHemisphere::m_theMuonToken
edm::EDGetTokenT< std::vector< reco::RecoChargedCandidate > > m_theMuonToken
Definition:
HLTRHemisphere.h:37
InputTag.h
cms::cuda::device::unique_ptr
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Definition:
device_unique_ptr.h:33
ConfigurationDescriptions
RecoChargedCandidate.h
Frameworkfwd.h
HLTRHemisphere::ComputeHemispheres
void ComputeHemispheres(std::unique_ptr< std::vector< math::XYZTLorentzVector >> &hlist, const std::vector< math::XYZTLorentzVector > &JETS, std::vector< math::XYZTLorentzVector > *extraJets=nullptr)
Definition:
HLTRHemisphere.cc:151
EDFilter.h
HLTRHemisphere::HLTRHemisphere
HLTRHemisphere(const edm::ParameterSet &)
Definition:
HLTRHemisphere.cc:29
View.h
ParameterSet.h
edm::stream::EDFilter
Definition:
EDFilter.h:36
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16