PhysicsTools
RecoAlgos
interface
MassKinFitterCandProducer.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_RecoAlgos_MassKinFitterCandProducer_h
2
#define PhysicsTools_RecoAlgos_MassKinFitterCandProducer_h
3
/* \class MassKinFitterCandProducer
4
*
5
* \author Luca Lista, INFN
6
*
7
*/
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
#include "
FWCore/Framework/interface/EDProducer.h
"
10
#include "
PhysicsTools/RecoUtils/interface/CandMassKinFitter.h
"
11
12
#include "
DataFormats/Candidate/interface/Candidate.h
"
13
14
class
MassKinFitterCandProducer
:
public
edm::EDProducer
{
15
public
:
16
explicit
MassKinFitterCandProducer
(
const
edm::ParameterSet
&,
CandMassKinFitter
* =
nullptr
);
17
18
private
:
19
edm::EDGetTokenT<reco::CandidateCollection>
srcToken_
;
20
std::unique_ptr<CandMassKinFitter>
fitter_
;
21
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
22
};
23
24
#endif
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
CandMassKinFitter
Definition:
CandMassKinFitter.h:6
CandMassKinFitter.h
MassKinFitterCandProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
MassKinFitterCandProducer.cc:14
edm::ParameterSet
Definition:
ParameterSet.h:36
MassKinFitterCandProducer::fitter_
std::unique_ptr< CandMassKinFitter > fitter_
Definition:
MassKinFitterCandProducer.h:20
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
edm::EDProducer
Definition:
EDProducer.h:36
Candidate.h
MassKinFitterCandProducer
Definition:
MassKinFitterCandProducer.h:14
MassKinFitterCandProducer::srcToken_
edm::EDGetTokenT< reco::CandidateCollection > srcToken_
Definition:
MassKinFitterCandProducer.h:19
MassKinFitterCandProducer::MassKinFitterCandProducer
MassKinFitterCandProducer(const edm::ParameterSet &, CandMassKinFitter *=nullptr)
Definition:
MassKinFitterCandProducer.cc:7
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16