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
converter::RecoChargedRefCandidateToTrackRef::Candidate
reco::TrackRef Candidate
Definition:
RecoChargedRefCandidateToTrackRef.h:18
converter::RecoChargedRefCandidateToTrackRef::Components
reco::RecoChargedRefCandidateCollection Components
Definition:
RecoChargedRefCandidateToTrackRef.h:17
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:15
RecoChargedRefCandidateFwd.h
edm::Ref< TrackCollection >
Track.h
TrackFwd.h
converter::RecoChargedRefCandidateToTrackRef::beginFirstRun
void beginFirstRun(const edm::EventSetup &)
Definition:
RecoChargedRefCandidateToTrackRef.h:20
RecoChargedRefCandidate.h
converter::RecoChargedRefCandidateToTrackRef::RecoChargedRefCandidateToTrackRef
RecoChargedRefCandidateToTrackRef(const edm::ParameterSet &cfg, const edm::ConsumesCollector &)
Definition:
RecoChargedRefCandidateToTrackRef.h:19
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
converter::RecoChargedRefCandidateToTrackRef::convert
void convert(const reco::RecoChargedRefCandidateRef &c, reco::TrackRef &trkRef) const
Definition:
RecoChargedRefCandidateToTrackRef.h:21
converter::RecoChargedRefCandidateToTrackRef::value_type
reco::RecoChargedRefCandidate value_type
Definition:
RecoChargedRefCandidateToTrackRef.h:16
edm::EventSetup
Definition:
EventSetup.h:58
looper.cfg
cfg
Definition:
looper.py:296
EventSetup
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16