BmnRoot
Loading...
Searching...
No Matches
BmnVertex Class Reference

#include <BmnVertex.h>

Inheritance diagram for BmnVertex:
[legend]
Collaboration diagram for BmnVertex:
[legend]

Public Member Functions

 BmnVertex ()
 
 BmnVertex (Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat, Int_t flag, vector< Int_t > idxs)
 
virtual ~BmnVertex ()
 
void Print ()
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetChi2 () const
 
Int_t GetNDF () const
 
Int_t GetNTracks () const
 
void Position (TVector3 &pos) const
 
void CovMatrix (TMatrixFSym &covMat) const
 
Double_t GetCovariance (Int_t i, Int_t j) const
 
std::vector< Int_t > & GetTrackIdxs ()
 
Int_t GetFlag ()
 
void Reset ()
 
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat, Int_t flag, vector< Int_t > idxs)
 
virtual std::string ToString () const
 
 BmnVertex ()
 
 BmnVertex (const char *name, const char *title)
 
 BmnVertex (const char *name, const char *title, Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat)
 
virtual ~BmnVertex ()
 
virtual void Print (Option_t *opt="") const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetChi2 () const
 
Int_t GetNDF () const
 
Int_t GetNTracks () const
 
void Position (TVector3 &pos) const
 
void CovMatrix (TMatrixFSym &covMat) const
 
Double_t GetCovariance (Int_t i, Int_t j) const
 
void Reset ()
 
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat)
 
virtual std::string ToString () const
 
 BmnVertex ()
 
 BmnVertex (Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat, Int_t flag, vector< Int_t > idxs)
 
virtual ~BmnVertex ()
 
void Print ()
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetChi2 () const
 
Int_t GetNDF () const
 
Int_t GetNTracks () const
 
void Position (TVector3 &pos) const
 
void CovMatrix (TMatrixFSym &covMat) const
 
Double_t GetCovariance (Int_t i, Int_t j) const
 
std::vector< Int_t > & GetTrackIdxs ()
 
Int_t GetFlag ()
 
void Reset ()
 
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat, Int_t flag, vector< Int_t > idxs)
 
virtual std::string ToString () const
 

Detailed Description

BmnVertex.h

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
D. Baranov

Data class for a vertex in BMN. Data level: RECO

Definition at line 21 of file BmnVertex.h.

Constructor & Destructor Documentation

◆ BmnVertex() [1/7]

BmnVertex::BmnVertex ( )

Default constructor

Definition at line 10 of file BmnVertex.cxx.

References i.

◆ BmnVertex() [2/7]

BmnVertex::BmnVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  chi2,
Int_t  ndf,
Int_t  nTracks,
const TMatrixFSym &  covMat,
Int_t  flag,
vector< Int_t >  idxs 
)

Constructor with all member variables

Parameters
nameName of object
titleTitle of object
xx coordinate [cm]
yy coordinate [cm]
zz coordinate [cm]
chi2chi square of vertex fit
ndfNumber of degrees of freedom of vertex fit
nTracksNumber of tracks used for vertex fit
covMatCovariance Matrix (symmetric, 3x3)
flagvertex type
idxsVector of indexes of tracks used to reconstruct current vertex

Definition at line 26 of file BmnVertex.cxx.

References i.

◆ ~BmnVertex() [1/3]

BmnVertex::~BmnVertex ( )
virtual

Destructor

Definition at line 52 of file BmnVertex.cxx.

◆ BmnVertex() [3/7]

BmnVertex::BmnVertex ( )

Default constructor

◆ BmnVertex() [4/7]

BmnVertex::BmnVertex ( const char *  name,
const char *  title 
)

Constructor with name and title

Definition at line 30 of file BmnVertex.cxx.

References i.

◆ BmnVertex() [5/7]

BmnVertex::BmnVertex ( const char *  name,
const char *  title,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t  chi2,
Int_t  ndf,
Int_t  nTracks,
const TMatrixFSym &  covMat 
)

Constructor with all member variables

Parameters
nameName of object
titleTitle of object
xx coordinate [cm]
yy coordinate [cm]
zz coordinate [cm]
chi2chi square of vertex fit
ndfNumber of degrees of freedom of vertex fit
nTracksNumber of tracks used for vertex fit
covMatCovariance Matrix (symmetric, 3x3)

Definition at line 47 of file BmnVertex.cxx.

References i.

◆ ~BmnVertex() [2/3]

virtual BmnVertex::~BmnVertex ( )
virtual

Destructor

◆ BmnVertex() [6/7]

BmnVertex::BmnVertex ( )

Default constructor

◆ BmnVertex() [7/7]

BmnVertex::BmnVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  chi2,
Int_t  ndf,
Int_t  nTracks,
const TMatrixFSym &  covMat,
Int_t  flag,
vector< Int_t >  idxs 
)

Constructor with all member variables

Parameters
nameName of object
titleTitle of object
xx coordinate [cm]
yy coordinate [cm]
zz coordinate [cm]
chi2chi square of vertex fit
ndfNumber of degrees of freedom of vertex fit
nTracksNumber of tracks used for vertex fit
covMatCovariance Matrix (symmetric, 3x3)
flagvertex type
idxsVector of indexes of tracks used to reconstruct current vertex

◆ ~BmnVertex() [3/3]

virtual BmnVertex::~BmnVertex ( )
virtual

Destructor

Member Function Documentation

◆ CovMatrix() [1/3]

void BmnVertex::CovMatrix ( TMatrixFSym &  covMat) const

Definition at line 69 of file BmnVertex.cxx.

References i.

Referenced by GetCovariance().

◆ CovMatrix() [2/3]

void BmnVertex::CovMatrix ( TMatrixFSym &  covMat) const

◆ CovMatrix() [3/3]

void BmnVertex::CovMatrix ( TMatrixFSym &  covMat) const

◆ GetChi2() [1/3]

Double_t BmnVertex::GetChi2 ( ) const
inline

Definition at line 52 of file BmnVertex.h.

◆ GetChi2() [2/3]

Double_t BmnVertex::GetChi2 ( ) const
inline

Definition at line 67 of file BmnVertex.h.

◆ GetChi2() [3/3]

Double_t BmnVertex::GetChi2 ( ) const
inline

Definition at line 52 of file BmnVertex.h.

◆ GetCovariance() [1/3]

Double_t BmnVertex::GetCovariance ( Int_t  i,
Int_t  j 
) const

Definition at line 82 of file BmnVertex.cxx.

References CovMatrix(), and i.

◆ GetCovariance() [2/3]

Double_t BmnVertex::GetCovariance ( Int_t  i,
Int_t  j 
) const

◆ GetCovariance() [3/3]

Double_t BmnVertex::GetCovariance ( Int_t  i,
Int_t  j 
) const

◆ GetFlag() [1/2]

Int_t BmnVertex::GetFlag ( )
inline

Definition at line 59 of file BmnVertex.h.

◆ GetFlag() [2/2]

Int_t BmnVertex::GetFlag ( )
inline

Definition at line 59 of file BmnVertex.h.

◆ GetNDF() [1/3]

Int_t BmnVertex::GetNDF ( ) const
inline

Definition at line 53 of file BmnVertex.h.

◆ GetNDF() [2/3]

Int_t BmnVertex::GetNDF ( ) const
inline

Definition at line 68 of file BmnVertex.h.

◆ GetNDF() [3/3]

Int_t BmnVertex::GetNDF ( ) const
inline

Definition at line 53 of file BmnVertex.h.

◆ GetNTracks() [1/3]

Int_t BmnVertex::GetNTracks ( ) const
inline

Definition at line 54 of file BmnVertex.h.

Referenced by BmnEfficiency::Efficiency(), and BmnTwoParticleDecay::Exec().

◆ GetNTracks() [2/3]

Int_t BmnVertex::GetNTracks ( ) const
inline

Definition at line 69 of file BmnVertex.h.

◆ GetNTracks() [3/3]

Int_t BmnVertex::GetNTracks ( ) const
inline

Definition at line 54 of file BmnVertex.h.

◆ GetTrackIdxs() [1/2]

std::vector< Int_t > & BmnVertex::GetTrackIdxs ( )
inline

Definition at line 58 of file BmnVertex.h.

◆ GetTrackIdxs() [2/2]

std::vector< Int_t > & BmnVertex::GetTrackIdxs ( )
inline

Definition at line 58 of file BmnVertex.h.

◆ GetX() [1/3]

Double_t BmnVertex::GetX ( ) const
inline

Accessors

Definition at line 49 of file BmnVertex.h.

Referenced by BmnEfficiency::Efficiency(), and BmnTwoParticleDecay::Exec().

◆ GetX() [2/3]

Double_t BmnVertex::GetX ( ) const
inline

Accessors

Definition at line 64 of file BmnVertex.h.

◆ GetX() [3/3]

Double_t BmnVertex::GetX ( ) const
inline

Accessors

Definition at line 49 of file BmnVertex.h.

◆ GetY() [1/3]

Double_t BmnVertex::GetY ( ) const
inline

Definition at line 50 of file BmnVertex.h.

Referenced by BmnEfficiency::Efficiency(), and BmnTwoParticleDecay::Exec().

◆ GetY() [2/3]

Double_t BmnVertex::GetY ( ) const
inline

Definition at line 65 of file BmnVertex.h.

◆ GetY() [3/3]

Double_t BmnVertex::GetY ( ) const
inline

Definition at line 50 of file BmnVertex.h.

◆ GetZ() [1/3]

Double_t BmnVertex::GetZ ( ) const
inline

Definition at line 51 of file BmnVertex.h.

Referenced by BmnEfficiency::Efficiency(), and BmnTwoParticleDecay::Exec().

◆ GetZ() [2/3]

Double_t BmnVertex::GetZ ( ) const
inline

Definition at line 66 of file BmnVertex.h.

◆ GetZ() [3/3]

Double_t BmnVertex::GetZ ( ) const
inline

Definition at line 51 of file BmnVertex.h.

◆ Position() [1/3]

void BmnVertex::Position ( TVector3 &  pos) const
inline

Definition at line 55 of file BmnVertex.h.

◆ Position() [2/3]

void BmnVertex::Position ( TVector3 &  pos) const
inline

Definition at line 70 of file BmnVertex.h.

◆ Position() [3/3]

void BmnVertex::Position ( TVector3 &  pos) const
inline

Definition at line 55 of file BmnVertex.h.

◆ Print() [1/3]

void BmnVertex::Print ( )

Ouput to screen

Definition at line 56 of file BmnVertex.cxx.

Referenced by SrcVertexFinder::Exec().

◆ Print() [2/3]

void BmnVertex::Print ( )

Ouput to screen

◆ Print() [3/3]

void BmnVertex::Print ( Option_t *  opt = "") const
virtual

Ouput to screen

Definition at line 81 of file BmnVertex.cxx.

◆ Reset() [1/3]

void BmnVertex::Reset ( )

Reset the member variables

Definition at line 115 of file BmnVertex.cxx.

References i.

◆ Reset() [2/3]

void BmnVertex::Reset ( )

Reset the member variables

◆ Reset() [3/3]

void BmnVertex::Reset ( )

Reset the member variables

◆ SetVertex() [1/3]

void BmnVertex::SetVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  chi2,
Int_t  ndf,
Int_t  nTracks,
const TMatrixFSym &  covMat 
)

Set the member variables

Parameters
xx coordinate [cm]
yy coordinate [cm]
zz coordinate [cm]
chi2chi square of vertex fit
ndfNumber of degrees of freedom of vertex fit
nTracksNumber of tracks used for vertex fit
covMatCovariance Matrix (symmetric, 3x3)

Definition at line 121 of file BmnVertex.cxx.

References i.

◆ SetVertex() [2/3]

void BmnVertex::SetVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  chi2,
Int_t  ndf,
Int_t  nTracks,
const TMatrixFSym &  covMat,
Int_t  flag,
vector< Int_t >  idxs 
)

Set the member variables

Parameters
xx coordinate [cm]
yy coordinate [cm]
zz coordinate [cm]
chi2chi square of vertex fit
ndfNumber of degrees of freedom of vertex fit
nTracksNumber of tracks used for vertex fit
covMatCovariance Matrix (symmetric, 3x3)
flagvertex type
idxsVector of indexes of tracks used to reconstruct current vertex

Definition at line 92 of file BmnVertex.cxx.

References i.

Referenced by BmnEvent::SetVertex().

◆ SetVertex() [3/3]

void BmnVertex::SetVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  chi2,
Int_t  ndf,
Int_t  nTracks,
const TMatrixFSym &  covMat,
Int_t  flag,
vector< Int_t >  idxs 
)

Set the member variables

Parameters
xx coordinate [cm]
yy coordinate [cm]
zz coordinate [cm]
chi2chi square of vertex fit
ndfNumber of degrees of freedom of vertex fit
nTracksNumber of tracks used for vertex fit
covMatCovariance Matrix (symmetric, 3x3)
flagvertex type
idxsVector of indexes of tracks used to reconstruct current vertex

◆ ToString() [1/3]

string BmnVertex::ToString ( ) const
virtual

String output

Definition at line 125 of file BmnVertex.cxx.

◆ ToString() [2/3]

virtual std::string BmnVertex::ToString ( ) const
virtual

String output

◆ ToString() [3/3]

virtual std::string BmnVertex::ToString ( ) const
virtual

String output


The documentation for this class was generated from the following files: