RecoHGCal
TICL
interface
TracksterTrackPluginBase.h
Go to the documentation of this file.
1
// Base class for plugins that set the track reference(s) in the Trackster -> TICLCandidate conversion.
2
3
#ifndef RecoHGCal_TICL_TracksterTrackPluginBase_H__
4
#define RecoHGCal_TICL_TracksterTrackPluginBase_H__
5
6
#include "
DataFormats/Candidate/interface/Candidate.h
"
7
#include "
DataFormats/VertexReco/interface/Vertex.h
"
8
#include "
DataFormats/CaloRecHit/interface/CaloCluster.h
"
9
#include "
DataFormats/HGCalReco/interface/Trackster.h
"
10
#include "
DataFormats/HGCalReco/interface/TICLCandidate.h
"
11
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
14
15
namespace
ticl
{
16
class
TracksterTrackPluginBase
{
17
public
:
18
TracksterTrackPluginBase
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&& iC) {}
19
typedef
reco::Candidate::LorentzVector
LorentzVector
;
20
virtual
~TracksterTrackPluginBase
() {}
21
virtual
void
setTrack
(
const
std::vector<const Trackster*>& tracksters,
22
std::vector<TICLCandidate>& ticl_cands,
23
edm::Event
&
event
)
const
= 0;
24
};
25
}
// namespace ticl
26
27
typedef
edmplugin::PluginFactory
<
ticl::TracksterTrackPluginBase
*(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&& iC)>
28
TracksterTrackPluginFactory
;
29
30
#endif
PluginFactory.h
ticl::TracksterTrackPluginBase::setTrack
virtual void setTrack(const std::vector< const Trackster * > &tracksters, std::vector< TICLCandidate > &ticl_cands, edm::Event &event) const =0
Trackster.h
ticl::TracksterTrackPluginBase::~TracksterTrackPluginBase
virtual ~TracksterTrackPluginBase()
Definition:
TracksterTrackPluginBase.h:20
ticl
Definition:
Common.h:8
ticl::TracksterTrackPluginBase::LorentzVector
reco::Candidate::LorentzVector LorentzVector
Definition:
TracksterTrackPluginBase.h:19
Vertex.h
TICLCandidate.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
ConsumesCollector.h
Candidate.h
ticl::TracksterTrackPluginBase::TracksterTrackPluginBase
TracksterTrackPluginBase(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition:
TracksterTrackPluginBase.h:18
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
ticl::TracksterTrackPluginBase
Definition:
TracksterTrackPluginBase.h:16
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
CaloCluster.h
Generated for CMSSW Reference Manual by
1.8.16