src
CommonTools
RecoAlgos
src
RecoChargedRefCandidateToTrackRef.h
Go to the documentation of this file.
1
#ifndef CommonTools_RecoAlgos_TrackToRefCandidate_h
2
#define CommonTools_RecoAlgos_TrackToRefCandidate_h
3
#include "
DataFormats/TrackReco/interface/Track.h
"
4
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
5
#include "
DataFormats/RecoCandidate/interface/RecoChargedRefCandidate.h
"
6
#include "
DataFormats/RecoCandidate/interface/RecoChargedRefCandidateFwd.h
"
7
8
namespace
edm
{
9
class
EventSetup
;
10
class
ParameterSet
;
11
class
ConsumesCollector;
12
}
// namespace edm
13
14
namespace
converter
{
15
struct
RecoChargedRefCandidateToTrackRef
{
16
typedef
reco::RecoChargedRefCandidate
value_type
;
17
typedef
reco::RecoChargedRefCandidateCollection
Components
;
18
typedef
reco::TrackRef
Candidate
;
19
RecoChargedRefCandidateToTrackRef
(
const
edm::ParameterSet
&
cfg
,
const
edm::ConsumesCollector
&) {}
20
void
beginFirstRun
(
const
edm::EventSetup
&) {}
21
void
convert
(
const
reco::RecoChargedRefCandidateRef
&
c
,
reco::TrackRef
& trkRef)
const
{ trkRef =
c
->track(); }
22
};
23
}
// namespace converter
24
25
#endif
reco::RecoChargedRefCandidateCollection
std::vector< RecoChargedRefCandidate > RecoChargedRefCandidateCollection
collectin of LeafRefCandidateT<reco::TrackRef> objects
Definition:
RecoChargedRefCandidateFwd.h:12
RecoChargedRefCandidateFwd.h
DummyCfis.c
c
Definition:
DummyCfis.py:86
converter::RecoChargedRefCandidateToTrackRef::Components
reco::RecoChargedRefCandidateCollection Components
Definition:
RecoChargedRefCandidateToTrackRef.h:17
converter::RecoChargedRefCandidateToTrackRef::Candidate
reco::TrackRef Candidate
Definition:
RecoChargedRefCandidateToTrackRef.h:18
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
TrackFwd.h
converter::RecoChargedRefCandidateToTrackRef::beginFirstRun
void beginFirstRun(const edm::EventSetup &)
Definition:
RecoChargedRefCandidateToTrackRef.h:20
converter
Definition:
CandidateProducer.h:25
EventSetup
converter::RecoChargedRefCandidateToTrackRef::RecoChargedRefCandidateToTrackRef
RecoChargedRefCandidateToTrackRef(const edm::ParameterSet &cfg, const edm::ConsumesCollector &)
Definition:
RecoChargedRefCandidateToTrackRef.h:19
edm::EventSetup
Definition:
EventSetup.h:56
RecoChargedRefCandidate.h
converter::RecoChargedRefCandidateToTrackRef::value_type
reco::RecoChargedRefCandidate value_type
Definition:
RecoChargedRefCandidateToTrackRef.h:16
looper.cfg
cfg
Definition:
looper.py:296
converter::RecoChargedRefCandidateToTrackRef::convert
void convert(const reco::RecoChargedRefCandidateRef &c, reco::TrackRef &trkRef) const
Definition:
RecoChargedRefCandidateToTrackRef.h:21
edm
HLT enums.
Definition:
AlignableModifier.h:19
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:48
converter::RecoChargedRefCandidateToTrackRef
Definition:
RecoChargedRefCandidateToTrackRef.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
reco::RecoChargedRefCandidate
Definition:
RecoChargedRefCandidate.h:12
Generated for CMSSW Reference Manual by
1.8.14