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
}
// namespace edm
12
13
namespace
converter
{
14
struct
RecoChargedRefCandidateToTrackRef
{
15
typedef
reco::RecoChargedRefCandidate
value_type
;
16
typedef
reco::RecoChargedRefCandidateCollection
Components
;
17
typedef
reco::TrackRef
Candidate
;
18
RecoChargedRefCandidateToTrackRef
(
const
edm::ParameterSet
&
cfg
) {}
19
void
beginFirstRun
(
const
edm::EventSetup
&) {}
20
void
convert
(
const
reco::RecoChargedRefCandidateRef
&
c
,
reco::TrackRef
& trkRef)
const
{ trkRef =
c
->track(); }
21
};
22
}
// namespace converter
23
24
#endif
converter::RecoChargedRefCandidateToTrackRef::Candidate
reco::TrackRef Candidate
Definition:
RecoChargedRefCandidateToTrackRef.h:17
converter::RecoChargedRefCandidateToTrackRef::Components
reco::RecoChargedRefCandidateCollection Components
Definition:
RecoChargedRefCandidateToTrackRef.h:16
reco::RecoChargedRefCandidate
Definition:
RecoChargedRefCandidate.h:12
reco::RecoChargedRefCandidateCollection
std::vector< RecoChargedRefCandidate > RecoChargedRefCandidateCollection
collectin of LeafRefCandidateT<reco::TrackRef> objects
Definition:
RecoChargedRefCandidateFwd.h:12
converter
Definition:
CandidateProducer.h:25
edm
HLT enums.
Definition:
AlignableModifier.h:19
converter::RecoChargedRefCandidateToTrackRef
Definition:
RecoChargedRefCandidateToTrackRef.h:14
RecoChargedRefCandidateFwd.h
edm::Ref< TrackCollection >
Track.h
TrackFwd.h
converter::RecoChargedRefCandidateToTrackRef::beginFirstRun
void beginFirstRun(const edm::EventSetup &)
Definition:
RecoChargedRefCandidateToTrackRef.h:19
RecoChargedRefCandidate.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
converter::RecoChargedRefCandidateToTrackRef::convert
void convert(const reco::RecoChargedRefCandidateRef &c, reco::TrackRef &trkRef) const
Definition:
RecoChargedRefCandidateToTrackRef.h:20
converter::RecoChargedRefCandidateToTrackRef::value_type
reco::RecoChargedRefCandidate value_type
Definition:
RecoChargedRefCandidateToTrackRef.h:15
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
looper.cfg
cfg
Definition:
looper.py:297
converter::RecoChargedRefCandidateToTrackRef::RecoChargedRefCandidateToTrackRef
RecoChargedRefCandidateToTrackRef(const edm::ParameterSet &cfg)
Definition:
RecoChargedRefCandidateToTrackRef.h:18
EventSetup
Generated for CMSSW Reference Manual by
1.8.16