1 #ifndef RecoAlgos_TrackToCandidate_h
2 #define RecoAlgos_TrackToCandidate_h
33 struct CandConverter<
reco::Track> {
virtual void setCharge(Charge q) GCC11_FINAL
set electric charge
TrackToCandidate(const edm::ParameterSet &cfg)
const Vector & momentum() const
track momentum vector
std::vector< Track > TrackCollection
collection of Tracks
virtual void setVertex(const Point &vertex)
set vertex
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
math::XYZTLorentzVector LorentzVector
Lorentz vector.
reco::RecoChargedCandidate Candidate
virtual void setP4(const LorentzVector &p4) GCC11_FINAL
set 4-momentum
int charge() const
track electric charge
reco::TrackCollection Components
void setTrack(const reco::TrackRef &r)
set reference to track
virtual void setPdgId(int pdgId) GCC11_FINAL
math::XYZVector Vector
spatial vector
int pdgId() const
PDG id.