DataFormats
V0Candidate
interface
V0Candidate.h
Go to the documentation of this file.
1
#ifndef CANDIDATE_V0CANDIDATE_H
2
#define CANDIDATE_V0CANDIDATE_H
3
#include "
DataFormats/VertexReco/interface/Vertex.h
"
4
#include "
DataFormats/Candidate/interface/CompositeCandidate.h
"
5
6
namespace
reco
{
7
8
class
V0Candidate
:
public
CompositeCandidate
{
9
public
:
10
V0Candidate
() :
CompositeCandidate
() {}
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
:
19
Vertex
recoVertex
;
20
// int PDGid;
21
};
22
23
}
// namespace reco
24
25
#endif
reco::V0Candidate::setRecoVertex
void setRecoVertex(const Vertex &vtxIn)
Definition:
V0Candidate.cc:5
CompositeCandidate.h
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition:
LeafCandidate.h:27
reco::V0Candidate::recoVertex
Vertex recoVertex
Definition:
V0Candidate.h:19
reco::Candidate::Charge
int Charge
electric charge type
Definition:
Candidate.h:34
reco::Vertex::CovarianceMatrix
math::Error< dimension >::type CovarianceMatrix
covariance error matrix (3x3)
Definition:
Vertex.h:46
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::V0Candidate::vtxCovariance
const Vertex::CovarianceMatrix vtxCovariance()
Definition:
V0Candidate.h:14
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:57
reco::V0Candidate::V0Candidate
V0Candidate()
Definition:
V0Candidate.h:10
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:114
reco::V0Candidate::getRecoVertex
const Vertex & getRecoVertex() const
Definition:
V0Candidate.h:13
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:84
reco::V0Candidate
Definition:
V0Candidate.h:8
reco::Vertex::covariance
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
Definition:
Vertex.h:148
extraflags_cff.vtx
vtx
Definition:
extraflags_cff.py:19
Vertex.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
reco::V0Candidate::V0Candidate
V0Candidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
Definition:
V0Candidate.h:11
reco::Vertex
Definition:
Vertex.h:35
reco::CompositeCandidate
Definition:
CompositeCandidate.h:21
Generated for CMSSW Reference Manual by
1.8.16