CMS 3D CMS Logo

reco::V0Candidate Class Reference

#include <DataFormats/V0Candidate/interface/V0Candidate.h>

Inheritance diagram for reco::V0Candidate:

reco::CompositeCandidate reco::Candidate reco::Particle

List of all members.

Public Member Functions

void setVertex (const Vertex &vtxIn)
 V0Candidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
 V0Candidate ()
const Vertexvertex () const
 vertex position
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.

00012 : CompositeCandidate() { }

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

Definition at line 13 of file V0Candidate.h.

00016                                                 : CompositeCandidate(q, p4,
00017                                                                      vtx) { }


Member Function Documentation

void V0Candidate::setVertex ( const Vertex vtxIn  ) 

Definition at line 5 of file V0Candidate.cc.

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

00005                                                   {
00006   recoVertex = vtxIn;
00007   Particle::setVertex( vtxIn.position() );
00008 }

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

vertex position

Reimplemented from reco::Particle.

Definition at line 18 of file V0Candidate.h.

References recoVertex.

00018 { return recoVertex; }

const Vertex::CovarianceMatrix reco::V0Candidate::vtxCovariance (  )  [inline]

Definition at line 19 of file V0Candidate.h.

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

00019                                                  { 
00020       return recoVertex.covariance(); 
00021     }


Member Data Documentation

Vertex reco::V0Candidate::recoVertex [private]

Definition at line 27 of file V0Candidate.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:51:34 2009 for CMSSW by  doxygen 1.5.4