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