CommonTools
RecoAlgos
interface
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
ParameterSetfwd.h
converter::MassiveCandidateConverter::massSqr_
double massSqr_
Definition:
MassiveCandidateConverter.h:20
converter
Definition:
CandidateProducer.h:25
PdtEntry
Definition:
PdtEntry.h:20
ParticleDataTable.h
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord >
EventSetup
edm::EventSetup
Definition:
EventSetup.h:56
PdtEntry.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:47
converter::MassiveCandidateConverter::beginFirstRun
void beginFirstRun(const edm::EventSetup &)
Definition:
MassiveCandidateConverter.cc:17
converter::MassiveCandidateConverter::particle_
PdtEntry particle_
Definition:
MassiveCandidateConverter.h:21
converter::MassiveCandidateConverter::tableToken_
const edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > tableToken_
Definition:
MassiveCandidateConverter.h:24
ESGetToken.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
converter::MassiveCandidateConverter::MassiveCandidateConverter
MassiveCandidateConverter(const edm::ParameterSet &, edm::ConsumesCollector)
Definition:
MassiveCandidateConverter.cc:12
Generated for CMSSW Reference Manual by
1.8.14