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