src
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
Vertex.h
TracksterTrackPluginFactory
edmplugin::PluginFactory< ticl::TracksterTrackPluginBase *(const edm::ParameterSet &, edm::ConsumesCollector &&iC)> TracksterTrackPluginFactory
Definition:
TracksterTrackPluginBase.h:28
ticl::TracksterTrackPluginBase::setTrack
virtual void setTrack(const std::vector< const Trackster *> &tracksters, std::vector< TICLCandidate > &ticl_cands, edm::Event &event) const =0
ticl::TracksterTrackPluginBase::LorentzVector
reco::Candidate::LorentzVector LorentzVector
Definition:
TracksterTrackPluginBase.h:19
Event.h
TICLCandidate.h
HitToTracksterAssociation_cfi.tracksters
tracksters
Definition:
HitToTracksterAssociation_cfi.py:5
Candidate.h
ticl::TracksterTrackPluginBase
Definition:
TracksterTrackPluginBase.h:16
CaloCluster.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
ticl::TracksterTrackPluginBase::~TracksterTrackPluginBase
virtual ~TracksterTrackPluginBase()
Definition:
TracksterTrackPluginBase.h:20
ticl::TracksterTrackPluginBase::TracksterTrackPluginBase
TracksterTrackPluginBase(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition:
TracksterTrackPluginBase.h:18
PluginFactory.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
ticl
Definition:
Common.h:10
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
Trackster.h
event
Definition:
event.py:1
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14