CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
V0Candidate.h
Go to the documentation of this file.
1 #ifndef CANDIDATE_V0CANDIDATE_H
2 #define CANDIDATE_V0CANDIDATE_H
5 
6 namespace reco{
7 
8  class V0Candidate : public CompositeCandidate {
9 
10 
11  public:
14  const Point & vtx = Point( 0,
15  0,
16  0 ) ) : CompositeCandidate(q, p4,
17  vtx) { }
18  const Vertex & getRecoVertex() const { return recoVertex; }
20  return recoVertex.covariance();
21  }
22 
23  void setVertex( const Vertex & vtxIn );
24  // virtual int pdgId() const { return PDGid; }
25  // void setPdgId( const int & Id ) { PDGid = Id; }
26  private:
28  // int PDGid;
29  };
30 
31 }
32 
33 #endif
int Charge
electric charge type
Definition: Candidate.h:39
V0Candidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
Definition: V0Candidate.h:13
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
const Vertex::CovarianceMatrix vtxCovariance()
Definition: V0Candidate.h:19
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
Definition: Vertex.h:123
math::Error< dimension >::type CovarianceMatrix
covariance error matrix (3x3)
Definition: Vertex.h:45
void setVertex(const Vertex &vtxIn)
Definition: V0Candidate.cc:5
const Vertex & getRecoVertex() const
Definition: V0Candidate.h:18
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
math::XYZPoint Point
point in the space
Definition: Candidate.h:45
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:32