src
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
Vertex.h
ticl::TracksterMomentumPluginBase::setP4
virtual void setP4(const std::vector< const Trackster *> &tracksters, std::vector< TICLCandidate > &ticl_cands, edm::Event &event) const =0
Event.h
ticl::TracksterMomentumPluginBase
Definition:
TracksterMomentumPluginBase.h:14
TICLCandidate.h
Candidate.h
ticl::TracksterMomentumPluginBase::~TracksterMomentumPluginBase
virtual ~TracksterMomentumPluginBase()
Definition:
TracksterMomentumPluginBase.h:18
CaloCluster.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
ticl::TracksterMomentumPluginBase::TracksterMomentumPluginBase
TracksterMomentumPluginBase(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition:
TracksterMomentumPluginBase.h:16
PluginFactory.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
ticl
Definition:
Common.h:8
edm::ParameterSet
Definition:
ParameterSet.h:47
ticl::TracksterMomentumPluginBase::LorentzVector
reco::Candidate::LorentzVector LorentzVector
Definition:
TracksterMomentumPluginBase.h:17
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