1 #ifndef DataFormats_JetReco_TrackJet_h 2 #define DataFormats_JetReco_TrackJet_h 47 std::vector<edm::Ptr<reco::Track> >
tracks()
const;
reco::VertexRef vtx_
Associated primary vertex.
bool fromHardVertex() const
check jet to be associated to the hard primary vertex
TrackJet * clone() const override
Polymorphic clone.
std::string print() const override
Print object.
bool overlap(const Candidate &dummy) const override
Polymorphic overlap.
size_t numberOfTracks() const
Number of track daughters.
TrackJet()
Default constructor.
std::vector< Constituent > Constituents
size_t numberOfDaughters() const override
number of daughters
~TrackJet() override
Destructor.
void setPrimaryVertex(const reco::VertexRef &vtx)
set associated primary vertex
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
const reco::VertexRef primaryVertex() const
get associated primary vertex
std::vector< edm::Ptr< reco::Track > > tracks() const
Return pointers to all track costituents.
virtual edm::Ptr< reco::Track > track(size_t i) const
Return Ptr to the track costituent.
void resetCharge()
calculate and set the charge by adding up the constituting track charges