Main Page
Namespaces
Classes
Package Documentation
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
{
class
EventSetup
;
class
ParameterSet
; }
9
10
namespace
converter
{
11
struct
RecoChargedRefCandidateToTrackRef
{
12
typedef
reco::RecoChargedRefCandidate
value_type
;
13
typedef
reco::RecoChargedRefCandidateCollection
Components
;
14
typedef
reco::TrackRef
Candidate
;
15
RecoChargedRefCandidateToTrackRef
(
const
edm::ParameterSet
&
cfg
) {}
16
void
beginFirstRun
(
const
edm::EventSetup
&) {}
17
void
convert
(
const
reco::RecoChargedRefCandidateRef
&
c
,
reco::TrackRef
& trkRef)
const
{
18
trkRef = c->track();
19
}
20
};
21
}
22
23
#endif
RecoChargedRefCandidateFwd.h
converter::RecoChargedRefCandidateToTrackRef::Components
reco::RecoChargedRefCandidateCollection Components
Definition:
RecoChargedRefCandidateToTrackRef.h:13
converter::RecoChargedRefCandidateToTrackRef::Candidate
reco::TrackRef Candidate
Definition:
RecoChargedRefCandidateToTrackRef.h:14
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
TrackFwd.h
converter::RecoChargedRefCandidateToTrackRef::beginFirstRun
void beginFirstRun(const edm::EventSetup &)
Definition:
RecoChargedRefCandidateToTrackRef.h:16
converter
Definition:
CandidateProducer.h:25
reco::RecoChargedRefCandidateCollection
std::vector< RecoChargedRefCandidate > RecoChargedRefCandidateCollection
collectin of LeafRefCandidateT<reco::TrackRef> objects
Definition:
RecoChargedRefCandidateFwd.h:12
EventSetup
edm::EventSetup
Definition:
EventSetup.h:47
RecoChargedRefCandidate.h
converter::RecoChargedRefCandidateToTrackRef::value_type
reco::RecoChargedRefCandidate value_type
Definition:
RecoChargedRefCandidateToTrackRef.h:12
looper.cfg
cfg
Definition:
looper.py:293
converter::RecoChargedRefCandidateToTrackRef::convert
void convert(const reco::RecoChargedRefCandidateRef &c, reco::TrackRef &trkRef) const
Definition:
RecoChargedRefCandidateToTrackRef.h:17
edm
HLT enums.
Definition:
AlignableModifier.h:17
converter::RecoChargedRefCandidateToTrackRef::RecoChargedRefCandidateToTrackRef
RecoChargedRefCandidateToTrackRef(const edm::ParameterSet &cfg)
Definition:
RecoChargedRefCandidateToTrackRef.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
converter::RecoChargedRefCandidateToTrackRef
Definition:
RecoChargedRefCandidateToTrackRef.h:11
Track.h
reco::RecoChargedRefCandidate
Definition:
RecoChargedRefCandidate.h:14
Generated for CMSSW Reference Manual by
1.8.11