src
RecoTauTag
HLTProducers
interface
L2TauPixelTrackMatch.h
Go to the documentation of this file.
1
#ifndef L2TauPixelTrackMatch_h
2
#define L2TauPixelTrackMatch_h
3
4
#include "
FWCore/Framework/interface/global/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Utilities/interface/InputTag.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
DataFormats/Math/interface/Point3D.h
"
9
#include <vector>
10
11
#include "
DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h
"
12
#include "
DataFormats/TrackReco/interface/Track.h
"
13
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
14
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
15
21
class
L2TauPixelTrackMatch
:
public
edm::global::EDProducer
<> {
22
public
:
23
explicit
L2TauPixelTrackMatch
(
const
edm::ParameterSet
&);
24
~L2TauPixelTrackMatch
()
override
;
25
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
26
27
private
:
28
struct
TinyTrack
{
29
float
pt
,
eta
,
phi
;
30
math::XYZPoint
vtx
;
31
};
32
33
edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs>
m_jetSrc
;
34
float
m_jetMinPt
;
35
float
m_jetMaxEta
;
36
edm::EDGetTokenT<reco::TrackCollection>
m_trackSrc
;
37
float
m_trackMinPt
;
38
float
m_deltaR
;
39
edm::EDGetTokenT<reco::BeamSpot>
m_beamSpotTag
;
40
};
41
42
#endif
L2TauPixelTrackMatch::m_jetMaxEta
float m_jetMaxEta
Definition:
L2TauPixelTrackMatch.h:35
L2TauPixelTrackMatch::L2TauPixelTrackMatch
L2TauPixelTrackMatch(const edm::ParameterSet &)
Definition:
L2TauPixelTrackMatch.cc:11
edm::StreamID
Definition:
StreamID.h:30
Event.h
TrackFwd.h
TriggerFilterObjectWithRefs.h
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs >
Point3D.h
L2TauPixelTrackMatch::m_jetSrc
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > m_jetSrc
Definition:
L2TauPixelTrackMatch.h:33
ParameterSet.h
L2TauPixelTrackMatch::TinyTrack
Definition:
L2TauPixelTrackMatch.h:28
L2TauPixelTrackMatch::TinyTrack::pt
float pt
Definition:
L2TauPixelTrackMatch.h:29
L2TauPixelTrackMatch::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
L2TauPixelTrackMatch.cc:26
L2TauPixelTrackMatch::m_trackSrc
edm::EDGetTokenT< reco::TrackCollection > m_trackSrc
Definition:
L2TauPixelTrackMatch.h:36
L2TauPixelTrackMatch::~L2TauPixelTrackMatch
~L2TauPixelTrackMatch() override
Definition:
L2TauPixelTrackMatch.cc:24
L2TauPixelTrackMatch::m_trackMinPt
float m_trackMinPt
Definition:
L2TauPixelTrackMatch.h:37
L2TauPixelTrackMatch::TinyTrack::vtx
math::XYZPoint vtx
Definition:
L2TauPixelTrackMatch.h:30
edm::EventSetup
Definition:
EventSetup.h:56
edm::global::EDProducer
Definition:
EDProducer.h:32
L2TauPixelTrackMatch::m_jetMinPt
float m_jetMinPt
Definition:
L2TauPixelTrackMatch.h:34
L2TauPixelTrackMatch
Definition:
L2TauPixelTrackMatch.h:21
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
L2TauPixelTrackMatch::m_beamSpotTag
edm::EDGetTokenT< reco::BeamSpot > m_beamSpotTag
Definition:
L2TauPixelTrackMatch.h:39
EDProducer.h
InputTag.h
BeamSpot.h
L2TauPixelTrackMatch::m_deltaR
float m_deltaR
Definition:
L2TauPixelTrackMatch.h:38
L2TauPixelTrackMatch::TinyTrack::phi
float phi
Definition:
L2TauPixelTrackMatch.h:29
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:48
L2TauPixelTrackMatch::TinyTrack::eta
float eta
Definition:
L2TauPixelTrackMatch.h:29
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14