CommonTools
RecoAlgos
src
MassiveCandidateConverter.h
Go to the documentation of this file.
1
#ifndef RecoAlgos_MassiveCandidateConverter_h
2
#define RecoAlgos_MassiveCandidateConverter_h
3
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
4
#include "
FWCore/Utilities/interface/ESGetToken.h
"
5
#include "
SimGeneral/HepPDTRecord/interface/PdtEntry.h
"
6
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
7
#include <string>
8
9
namespace
edm
{
10
class
EventSetup
;
11
class
ConsumesCollector;
12
}
// namespace edm
13
14
namespace
converter
{
15
struct
MassiveCandidateConverter
{
16
MassiveCandidateConverter
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
);
17
void
beginFirstRun
(
const
edm::EventSetup
&);
18
19
protected
:
20
double
massSqr_
;
21
PdtEntry
particle_
;
22
23
private
:
24
const
edm::ESGetToken<HepPDT::ParticleDataTable, edm::DefaultRecord>
tableToken_
;
25
};
26
}
// namespace converter
27
28
#endif
converter::MassiveCandidateConverter
Definition:
MassiveCandidateConverter.h:15
converter
Definition:
CandidateProducer.h:25
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESGetToken.h
converter::MassiveCandidateConverter::beginFirstRun
void beginFirstRun(const edm::EventSetup &)
Definition:
MassiveCandidateConverter.cc:17
edm::ParameterSet
Definition:
ParameterSet.h:47
ParticleDataTable.h
PdtEntry.h
edm::EventSetup
Definition:
EventSetup.h:58
converter::MassiveCandidateConverter::MassiveCandidateConverter
MassiveCandidateConverter(const edm::ParameterSet &, edm::ConsumesCollector)
Definition:
MassiveCandidateConverter.cc:12
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord >
ParameterSetfwd.h
PdtEntry
Definition:
PdtEntry.h:20
converter::MassiveCandidateConverter::massSqr_
double massSqr_
Definition:
MassiveCandidateConverter.h:20
converter::MassiveCandidateConverter::tableToken_
const edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > tableToken_
Definition:
MassiveCandidateConverter.h:24
EventSetup
converter::MassiveCandidateConverter::particle_
PdtEntry particle_
Definition:
MassiveCandidateConverter.h:21
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16