1 #ifndef RecoAlgos_TrackToCandidate_h
2 #define RecoAlgos_TrackToCandidate_h
31 struct CandConverter<
reco::Track> {
const edm::EventSetup & c
std::vector< Track > TrackCollection
collection of Tracks
const Vector & momentum() const
track momentum vector
void setVertex(const Point &vertex) override
set vertex
void setCharge(Charge q) final
set electric charge
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
void convert(reco::TrackRef trkRef, reco::RecoChargedCandidate &c) const
TrackToCandidate(const edm::ParameterSet &cfg, edm::ConsumesCollector iC)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
reco::RecoChargedCandidate Candidate
int charge() const
track electric charge
reco::TrackCollection Components
void setTrack(const reco::TrackRef &r)
set reference to track
void setPdgId(int pdgId) final
math::XYZVector Vector
spatial vector
void setP4(const LorentzVector &p4) final
set 4-momentum
int pdgId() const
PDG id.