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
Base class for all types of Jets.
size_t numberOfTracks() const
Number of track daughters.
TrackJet()
Default constructor.
std::vector< Constituent > Constituents
virtual size_t numberOfDaughters() const
number of daughters
virtual ~TrackJet()
Destructor.
virtual std::string print() const
Print object.
void setPrimaryVertex(const reco::VertexRef &vtx)
set associated primary vertex
virtual bool overlap(const Candidate &dummy) const
Polymorphic overlap.
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.
virtual TrackJet * clone() const
Polymorphic clone.
void resetCharge()
calculate and set the charge by adding up the constituting track charges