CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::V0Candidate Class Reference

#include <V0Candidate.h>

Inheritance diagram for reco::V0Candidate:
reco::CompositeCandidate reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

const VertexgetRecoVertex () const
void setVertex (const Vertex &vtxIn)
 V0Candidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
 V0Candidate ()
const Vertex::CovarianceMatrix vtxCovariance ()

Private Attributes

Vertex recoVertex

Detailed Description

Definition at line 8 of file V0Candidate.h.


Constructor & Destructor Documentation

reco::V0Candidate::V0Candidate ( ) [inline]

Definition at line 12 of file V0Candidate.h.

reco::V0Candidate::V0Candidate ( Charge  q,
const LorentzVector p4,
const Point vtx = Point( 0,    0,    0 ) 
) [inline]

Definition at line 13 of file V0Candidate.h.

                                                : CompositeCandidate(q, p4,
                                                                     vtx) { }

Member Function Documentation

const Vertex& reco::V0Candidate::getRecoVertex ( ) const [inline]

Definition at line 18 of file V0Candidate.h.

References recoVertex.

{ return recoVertex; }
void V0Candidate::setVertex ( const Vertex vtxIn)

Definition at line 5 of file V0Candidate.cc.

References reco::Vertex::position(), and recoVertex.

                                                  {
  recoVertex = vtxIn;
  LeafCandidate::setVertex( vtxIn.position() );
}
const Vertex::CovarianceMatrix reco::V0Candidate::vtxCovariance ( ) [inline]

Definition at line 19 of file V0Candidate.h.

References reco::Vertex::covariance(), and recoVertex.

                                                 { 
      return recoVertex.covariance(); 
    }

Member Data Documentation

Definition at line 27 of file V0Candidate.h.

Referenced by getRecoVertex(), setVertex(), and vtxCovariance().