Go to the documentation of this file. 1 #ifndef DataFormat_ParticleFlowReco_PFDisplacedVertex_h
2 #define DataFormat_ParticleFlowReco_PFDisplacedVertex_h
68 const Track& refTrack,
160 bool useRefitted =
true,
161 double mass = 0.0)
const {
167 bool useRefitted =
true,
168 double mass = 0.0)
const {
void Dump(std::ostream &out=std::cout) const
cout function
TrackBaseRef originalTrack(const Track &refTrack) const
const int nKindTracks(VertexTrackType) const
Common tool used to get the number of tracks of a given Kind.
bool isConvertedBremm() const
const int nSecondaryTracks() const
Number of secondary tracks was identified.
const math::XYZTLorentzVector primaryMomentum(std::string massHypo="PI", bool useRefitted=true, double mass=0.0) const
Momentum of primary or merged track calculated with a mass hypothesis.
std::pair< unsigned int, unsigned int > PFTrackHitInfo
Information on the distance between track's hits and the Vertex.
const math::XYZTLorentzVector secondaryMomentum(M_Hypo massHypo, bool useRefitted=true, double mass=0.0) const
std::pair< PFTrackHitInfo, PFTrackHitInfo > PFTrackHitFullInfo
const bool isPrimaryTrack(const reco::TrackBaseRef &originalTrack) const
Is a primary track was identified.
const bool isIncomingTrack(const reco::TrackBaseRef &originalTrack) const
Is primary or merged track.
const bool isThereSecondaryTracks() const
If a secondary track was identified.
bool isKminus_Loose() const
const bool isOutgoingTrack(const reco::TrackBaseRef &originalTrack) const
Is secondary track.
bool isNucl_Loose() const
const std::vector< VertexTrackType > trackTypes() const
const double angle_io() const
const int totalCharge() const
Total Charge.
const size_t trackPosition(const reco::TrackBaseRef &originalTrack) const
const bool isMergedTrack(const reco::TrackBaseRef &originalTrack) const
Is a secondary track was identified.
const int nTracks() const
Number of tracks.
std::vector< PFTrackHitFullInfo > trackHitFullInfos_
Information on the distance between track's hits and the Vertex.
bool isKplus_Loose() const
const math::XYZTLorentzVector secondaryMomentum(std::string massHypo="PI", bool useRefitted=true, double mass=0.0) const
const int nPrimaryTracks() const
Number of primary tracks was identified.
const bool isThereNotFromVertexTracks() const
If there is a track which was not identified.
const math::XYZVector primaryDirection() const
Primary Direction.
const bool isTherePrimaryTracks() const
-----— Provide useful information -----— ///
void setVertexType(VertexType vertexType)
Set the type of this vertex.
VertexType vertexType_
-----— MEMBERS -----— ///
math::XYZTLorentzVector defaultPrimaryMomentum_
XYZPointD XYZPoint
point in space with cartesian internal representation
void addElement(const TrackBaseRef &r, const Track &refTrack, const PFTrackHitFullInfo &hitInfo, VertexTrackType trackType=T_NOT_FROM_VERTEX, float w=1.0)
Add a new track to the vertex.
const std::vector< PFTrackHitFullInfo > trackHitFullInfos() const
const double primaryPt() const
Momentum of primary or merged track calculated with a mass hypothesis.
const double getMass2(M_Hypo, double) const
Get the mass with a given hypothesis.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
math::XYZTLorentzVector defaultSecondaryMomentum_
PFDisplacedVertex()
Default constructor.
math::XYZVector primaryDirection_
const bool isThereMergedTracks() const
If a merged track was identified.
const bool isThereKindTracks(VertexTrackType) const
------— TOOLS -----------— ///
const math::XYZTLorentzVector primaryMomentum(M_Hypo massHypo, bool useRefitted=true, double mass=0.0) const
Momentum of primary or merged track calculated with a mass hypothesis.
const int nMergedTracks() const
Number of merged tracks was identified.
const bool isTrack(size_t itrk, VertexTrackType T) const
std::vector< VertexTrackType > trackTypes_
Types of the tracks associated to the vertex.
const math::XYZTLorentzVector momentum(std::string, VertexTrackType, bool, double mass) const
Common tool to calculate the momentum vector of tracks with a given Kind.
void cleanTracks()
Clean the tracks collection and all the associated collections.
bool isConv_Loose() const
const int nNotFromVertexTracks() const
Number of tracks which was not identified.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
std::string nameVertexType() const
const bool isSecondaryTrack(const reco::TrackBaseRef &originalTrack) const
Is a secondary track was identified.
void setPrimaryDirection(const math::XYZPoint &pvtx)
M_Hypo
Mass hypothesis enum.
const PFTrackHitFullInfo trackHitFullInfo(const reco::TrackBaseRef &originalTrack) const
const double secondaryPt() const
VertexType vertexType()
Get the type of this vertex.