CMS 3D CMS Logo

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; }
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
int Charge
electric charge type
Definition: Candidate.h:34
V0Candidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
Definition: V0Candidate.h:11
void setRecoVertex(const Vertex &vtxIn)
Definition: V0Candidate.cc:5
const Vertex::CovarianceMatrix vtxCovariance()
Definition: V0Candidate.h:14
math::Error< dimension >::type CovarianceMatrix
covariance error matrix (3x3)
Definition: Vertex.h:46
const LorentzVector & p4() const final
four-momentum Lorentz vector
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
Definition: Vertex.h:148
const Vertex & getRecoVertex() const
Definition: V0Candidate.h:13
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27