src
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/stream/EDProducer.h
"
10
#include "
PhysicsTools/RecoUtils/interface/CandMassKinFitter.h
"
11
12
#include "
DataFormats/Candidate/interface/Candidate.h
"
13
14
class
MassKinFitterCandProducer
:
public
edm::stream::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
MassKinFitterCandProducer::srcToken_
edm::EDGetTokenT< reco::CandidateCollection > srcToken_
Definition:
MassKinFitterCandProducer.h:19
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Candidate.h
EDProducer.h
MassKinFitterCandProducer
Definition:
MassKinFitterCandProducer.h:14
CandMassKinFitter.h
edm::EventSetup
Definition:
EventSetup.h:59
MassKinFitterCandProducer::MassKinFitterCandProducer
MassKinFitterCandProducer(const edm::ParameterSet &, CandMassKinFitter *=nullptr)
Definition:
MassKinFitterCandProducer.cc:9
edm::stream::EDProducer
Definition:
EDProducer.h:36
InputTag.h
MassKinFitterCandProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
MassKinFitterCandProducer.cc:16
edm::ParameterSet
Definition:
ParameterSet.h:47
CandMassKinFitter
Definition:
CandMassKinFitter.h:6
MassKinFitterCandProducer::fitter_
std::unique_ptr< CandMassKinFitter > fitter_
Definition:
MassKinFitterCandProducer.h:20
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14