test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
30
public
:
31
32
33
explicit
HLTRHemisphere
(
const
edm::ParameterSet
&);
34
~HLTRHemisphere
();
35
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
36
virtual
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&);
37
38
private
:
39
edm::EDGetTokenT<edm::View<reco::Jet>
>
m_theJetToken
;
40
edm::EDGetTokenT<std::vector<reco::RecoChargedCandidate>
>
m_theMuonToken
;
41
edm::InputTag
inputTag_
;
// input tag identifying product
42
edm::InputTag
muonTag_
;
// input tag for the muon objects
43
bool
doMuonCorrection_
;
// do the muon corrections
44
double
muonEta_
;
// maximum muon eta
45
double
min_Jet_Pt_
;
// minimum jet pT threshold for collection
46
double
max_Eta_
;
// maximum eta
47
int
max_NJ_
;
// don't calculate R if event has more than NJ jets
48
bool
accNJJets_
;
// accept or reject events with high NJ
49
50
void
ComputeHemispheres
(std::auto_ptr<std::vector<math::XYZTLorentzVector> >& hlist,
const
std::vector<math::XYZTLorentzVector>& JETS, std::vector<math::XYZTLorentzVector> *extraJets=0);
51
};
52
53
#endif //HLTRHemisphere_h
EDFilter.h
RecoChargedCandidate.h
Event.h
CaloJetCollection.h
HLTRHemisphere
Definition:
HLTRHemisphere.h:28
HLTRHemisphere::HLTRHemisphere
HLTRHemisphere(const edm::ParameterSet &)
Definition:
HLTRHemisphere.cc:29
HLTRHemisphere::m_theMuonToken
edm::EDGetTokenT< std::vector< reco::RecoChargedCandidate > > m_theMuonToken
Definition:
HLTRHemisphere.h:40
HLTRHemisphere::muonEta_
double muonEta_
Definition:
HLTRHemisphere.h:44
CaloMETCollection.h
HLTRHemisphere::m_theJetToken
edm::EDGetTokenT< edm::View< reco::Jet > > m_theJetToken
Definition:
HLTRHemisphere.h:39
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
ParameterSet.h
HLTRHemisphere::accNJJets_
bool accNJJets_
Definition:
HLTRHemisphere.h:48
View.h
HLTRHemisphere::doMuonCorrection_
bool doMuonCorrection_
Definition:
HLTRHemisphere.h:43
edm::EventSetup
Definition:
EventSetup.h:45
Muon.h
HLTRHemisphere::muonTag_
edm::InputTag muonTag_
Definition:
HLTRHemisphere.h:42
HLTRHemisphere::~HLTRHemisphere
~HLTRHemisphere()
Definition:
HLTRHemisphere.cc:52
HLTRHemisphere::max_NJ_
int max_NJ_
Definition:
HLTRHemisphere.h:47
HLTRHemisphere::min_Jet_Pt_
double min_Jet_Pt_
Definition:
HLTRHemisphere.h:45
ConfigurationDescriptions
HLTRHemisphere::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTRHemisphere.cc:57
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
HLTRHemisphere::ComputeHemispheres
void ComputeHemispheres(std::auto_ptr< std::vector< math::XYZTLorentzVector > > &hlist, const std::vector< math::XYZTLorentzVector > &JETS, std::vector< math::XYZTLorentzVector > *extraJets=0)
Definition:
HLTRHemisphere.cc:159
edm::stream::EDFilter
Definition:
EDFilter.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
CaloMET.h
CaloJet.h
edm::Event
Definition:
Event.h:65
HLTRHemisphere::max_Eta_
double max_Eta_
Definition:
HLTRHemisphere.h:46
HLTRHemisphere::inputTag_
edm::InputTag inputTag_
Definition:
HLTRHemisphere.h:41
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
HLTRHemisphere::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
HLTRHemisphere.cc:76
Generated for CMSSW Reference Manual by
1.8.5