CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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  public:
11  V0Candidate(Charge q, const LorentzVector& p4, const Point& vtx = Point(0, 0, 0))
12  : CompositeCandidate(q, p4, vtx) {}
13  const Vertex& getRecoVertex() const { return recoVertex; }
14  const Vertex::CovarianceMatrix vtxCovariance() { return recoVertex.covariance(); }
15  void setRecoVertex(const Vertex& vtxIn);
16  // virtual int pdgId() const { return PDGid; }
17  // void setPdgId( const int & Id ) { PDGid = Id; }
18  private:
20  // int PDGid;
21  };
22 
23 } // namespace reco
24 
25 #endif
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
Definition: Vertex.h:148
math::Error< dimension >::type CovarianceMatrix
covariance error matrix (3x3)
Definition: Vertex.h:46
const LorentzVector & p4() const final
four-momentum Lorentz vector
math::XYZTLorentzVector LorentzVector
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
int Charge
electric charge type
Definition: LeafCandidate.h:21
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27