1 #ifndef RecoAlgos_TrackToCandidate_h
2 #define RecoAlgos_TrackToCandidate_h
33 struct CandConverter<
reco::Track> {
TrackToCandidate(const edm::ParameterSet &cfg)
virtual void setPdgId(int pdgId) final
std::vector< Track > TrackCollection
collection of Tracks
const Vector & momentum() const
track momentum vector
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
virtual void setCharge(Charge q) final
set electric charge
virtual void setVertex(const Point &vertex)
set vertex
void convert(reco::TrackRef trkRef, reco::RecoChargedCandidate &c) const
virtual void setP4(const LorentzVector &p4) final
set 4-momentum
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
math::XYZVector Vector
spatial vector
int pdgId() const
PDG id.