HLTriggerOffline
Tau
interface
HLTTauRefCombiner.h
Go to the documentation of this file.
1
/*HLTTauRefCombiner
2
Producer that Combines LV collection to common denominator objects
3
for matching in the Tau HLT
4
5
*/
6
7
#ifndef HLTTauRefCombiner_h
8
#define HLTTauRefCombiner_h
9
10
#include "
DataFormats/Common/interface/Handle.h
"
11
#include "
DataFormats/Math/interface/LorentzVector.h
"
12
#include "
FWCore/Framework/interface/global/EDProducer.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
15
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
#include "
FWCore/Utilities/interface/InputTag.h
"
18
#include <string>
19
#include <vector>
20
21
class
HLTTauRefCombiner
:
public
edm::global::EDProducer
<> {
22
public
:
23
explicit
HLTTauRefCombiner
(
const
edm::ParameterSet
&);
24
25
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
26
27
private
:
28
typedef
math::XYZTLorentzVectorD
LorentzVector
;
29
typedef
std::vector<LorentzVector>
LorentzVectorCollection
;
30
31
std::vector<edm::EDGetTokenT<LorentzVectorCollection>>
inputColl_
;
// Input LV Collections
32
const
double
matchDeltaR_
;
// Delta R for matching
33
const
std::string
outName_
;
// outputObjectName
34
35
bool
match
(
const
LorentzVector
&,
36
const
LorentzVectorCollection
&)
const
;
// See if this Jet Is Matched
37
};
38
39
#endif
edm::StreamID
Definition:
StreamID.h:30
Handle.h
MessageLogger.h
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:14
HLTTauRefCombiner::outName_
const std::string outName_
Definition:
HLTTauRefCombiner.h:33
HLTTauRefCombiner::LorentzVectorCollection
std::vector< LorentzVector > LorentzVectorCollection
Definition:
HLTTauRefCombiner.h:29
HLTTauRefCombiner::match
bool match(const LorentzVector &, const LorentzVectorCollection &) const
Definition:
HLTTauRefCombiner.cc:61
edm::global::EDProducer
Definition:
EDProducer.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HLTTauRefCombiner::inputColl_
std::vector< edm::EDGetTokenT< LorentzVectorCollection > > inputColl_
Definition:
HLTTauRefCombiner.h:31
LorentzVector.h
HLTTauRefCombiner::HLTTauRefCombiner
HLTTauRefCombiner(const edm::ParameterSet &)
Definition:
HLTTauRefCombiner.cc:7
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
Frameworkfwd.h
HLTTauRefCombiner
Definition:
HLTTauRefCombiner.h:21
HLTTauRefCombiner::LorentzVector
math::XYZTLorentzVectorD LorentzVector
Definition:
HLTTauRefCombiner.h:28
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
HLTTauRefCombiner::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
HLTTauRefCombiner.cc:18
HLTTauRefCombiner::matchDeltaR_
const double matchDeltaR_
Definition:
HLTTauRefCombiner.h:32
Generated for CMSSW Reference Manual by
1.8.16