00001 #ifndef CANDIDATE_V0CANDIDATE_H 00002 #define CANDIDATE_V0CANDIDATE_H 00003 #include "DataFormats/VertexReco/interface/Vertex.h" 00004 #include "DataFormats/Candidate/interface/CompositeCandidate.h" 00005 00006 namespace reco{ 00007 00008 class V0Candidate : public CompositeCandidate { 00009 00010 00011 public: 00012 V0Candidate() : CompositeCandidate() { } 00013 V0Candidate( Charge q, const LorentzVector & p4, 00014 const Point & vtx = Point( 0, 00015 0, 00016 0 ) ) : CompositeCandidate(q, p4, 00017 vtx) { } 00018 const Vertex & getRecoVertex() const { return recoVertex; } 00019 const Vertex::CovarianceMatrix vtxCovariance() { 00020 return recoVertex.covariance(); 00021 } 00022 00023 void setVertex( const Vertex & vtxIn ); 00024 // virtual int pdgId() const { return PDGid; } 00025 // void setPdgId( const int & Id ) { PDGid = Id; } 00026 private: 00027 Vertex recoVertex; 00028 // int PDGid; 00029 }; 00030 00031 } 00032 00033 #endif