Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:23

0001 #ifndef CANDIDATE_V0CANDIDATE_H
0002 #define CANDIDATE_V0CANDIDATE_H
0003 #include "DataFormats/VertexReco/interface/Vertex.h"
0004 #include "DataFormats/Candidate/interface/CompositeCandidate.h"
0005 
0006 namespace reco {
0007 
0008   class V0Candidate : public CompositeCandidate {
0009   public:
0010     V0Candidate() : CompositeCandidate() {}
0011     V0Candidate(Charge q, const LorentzVector& p4, const Point& vtx = Point(0, 0, 0))
0012         : CompositeCandidate(q, p4, vtx) {}
0013     const Vertex& getRecoVertex() const { return recoVertex; }
0014     const Vertex::CovarianceMatrix vtxCovariance() { return recoVertex.covariance(); }
0015     void setRecoVertex(const Vertex& vtxIn);
0016     //    virtual int pdgId() const { return PDGid; }
0017     //    void setPdgId( const int & Id ) { PDGid = Id; }
0018   private:
0019     Vertex recoVertex;
0020     //    int PDGid;
0021   };
0022 
0023 }  // namespace reco
0024 
0025 #endif