BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmKFSecondaryVertexFinder Class Reference

The CbmKFSecondaryVertexFinder class. More...

#include <CbmKFSecondaryVertexFinder.h>

Inheritance diagram for CbmKFSecondaryVertexFinder:
Collaboration diagram for CbmKFSecondaryVertexFinder:

Public Member Functions

 CbmKFSecondaryVertexFinder ()
 ~CbmKFSecondaryVertexFinder ()
void Clear ()
void ClearTracks ()
void AddTrack (CbmKFTrackInterface *Track)
void SetTracks (std::vector< CbmKFTrackInterface * > &vTracks)
void SetApproximation (CbmKFVertexInterface *Guess=0)
void SetMassConstraint (Double_t MotherMass=-1)
void SetTopoConstraint (CbmKFVertexInterface *Parent=0)
void Fit ()
void GetVertex (CbmKFVertexInterface &vtx)
void GetVertex (CbmVertex &vtx)
void GetMotherTrack (Double_t T[], Double_t C[])
void GetMass (Double_t *M, Double_t *Error)
void Extrapolate (double T)
Public Member Functions inherited from TObject
 TObject ()
 TObject (const TObject &object)
virtual ~TObject ()
void AbstractMethod (const char *method) const
virtual void AppendPad (Option_t *option="")
virtual void Browse (TBrowser *b)
ULong_t CheckedHash ()
virtual const char * ClassName () const
virtual void Clear (Option_t *="")
virtual TObject * Clone (const char *newname="") const
virtual Int_t Compare (const TObject *obj) const
virtual void Copy (TObject &object) const
virtual void Delete (Option_t *option="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawClass () const
virtual TObject * DrawClone (Option_t *option="") const
virtual void Dump () const
virtual void Error (const char *method, const char *msgfmt,...) const
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual void Fatal (const char *method, const char *msgfmt,...) const
virtual TObject * FindObject (const char *name) const
virtual TObject * FindObject (const TObject *obj) const
virtual Option_t * GetDrawOption () const
virtual const char * GetIconName () const
virtual const char * GetName () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
virtual Option_t * GetOption () const
virtual const char * GetTitle () const
virtual UInt_t GetUniqueID () const
virtual Bool_t HandleTimer (TTimer *timer)
virtual ULong_t Hash () const
Bool_t HasInconsistentHash () const
virtual void Info (const char *method, const char *msgfmt,...) const
virtual Bool_t InheritsFrom (const char *classname) const
virtual Bool_t InheritsFrom (const TClass *cl) const
virtual void Inspect () const
void InvertBit (UInt_t f)
virtual TClass * IsA () const
Bool_t IsDestructed () const
virtual Bool_t IsEqual (const TObject *obj) const
virtual Bool_t IsFolder () const
R__ALWAYS_INLINE Bool_t IsOnHeap () const
virtual Bool_t IsSortable () const
R__ALWAYS_INLINE Bool_t IsZombie () const
virtual void ls (Option_t *option="") const
void MayNotUse (const char *method) const
virtual Bool_t Notify ()
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
void operator delete (void *ptr)
void operator delete (void *ptr, void *vp)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, void *vp)
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
TObject & operator= (const TObject &rhs)
virtual void Paint (Option_t *option="")
virtual void Pop ()
virtual void Print (Option_t *option="") const
virtual Int_t Read (const char *name)
virtual void RecursiveRemove (TObject *obj)
void ResetBit (UInt_t f)
virtual void SaveAs (const char *filename="", Option_t *option="") const
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
virtual void SetDrawOption (Option_t *option="")
virtual void SetUniqueID (UInt_t uid)
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
virtual void UseCurrentStyle ()
virtual void Warning (const char *method, const char *msgfmt,...) const
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const

Private Member Functions

void AddMassConstraint ()
void AddTopoConstraint ()
Double_t & Cij (Int_t i, Int_t j)
 CbmKFSecondaryVertexFinder (const CbmKFSecondaryVertexFinder &)
void operator= (const CbmKFSecondaryVertexFinder &)

Private Attributes

std::vector< CbmKFTrackInterface * > vTracks
Int_t NDF
Double_t Chi2
Double_t MassConstraint
Double_t r [8]
Double_t r0 [8]
Double_t C [36]
CbmKFVertexInterface * VParent
CbmKFVertexInterface * VGuess

Additional Inherited Members

Public Types inherited from TObject
enum  EDeprecatedStatusBits
enum  EStatusBits
Static Public Member Functions inherited from TObject
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
static Bool_t GetObjectStat ()
static void SetDtorOnly (void *obj)
static void SetObjectStat (Bool_t stat)
Public Attributes inherited from TObject
 kIsOnHeap
 kNotDeleted
 kZombie
 kInconsistent
 kBitMask
 kSingleKey
 kOverwrite
 kWriteDelete
 kObjInCanvas
 kCanDelete
 kMustCleanup
 kIsReferenced
 kHasUUID
 kCannotPick
 kNoContextMenu
 kInvalidObject
Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
void MakeZombie ()
Static Protected Member Functions inherited from TObject
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)
Protected Attributes inherited from TObject
 kOnlyPrepStep

Detailed Description

Author
S.Gorbunov, I.Kisel
Version
1.0
Since
06.02.06

Class to fit secondary vertex with the Kalman Filter method

Definition at line 18 of file CbmKFSecondaryVertexFinder.h.

Constructor & Destructor Documentation

◆ CbmKFSecondaryVertexFinder() [1/2]

CbmKFSecondaryVertexFinder::CbmKFSecondaryVertexFinder ( )
inline

Definition at line 32 of file CbmKFSecondaryVertexFinder.h.

References Chi2, Clear(), MassConstraint, NDF, VGuess, VParent, and vTracks.

Referenced by CbmKFSecondaryVertexFinder(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CbmKFSecondaryVertexFinder()

CbmKFSecondaryVertexFinder::~CbmKFSecondaryVertexFinder ( )
inline

Definition at line 42 of file CbmKFSecondaryVertexFinder.h.

◆ CbmKFSecondaryVertexFinder() [2/2]

CbmKFSecondaryVertexFinder::CbmKFSecondaryVertexFinder ( const CbmKFSecondaryVertexFinder & )
private

References CbmKFSecondaryVertexFinder().

Here is the call graph for this function:

Member Function Documentation

◆ AddMassConstraint()

void CbmKFSecondaryVertexFinder::AddMassConstraint ( )
private

Definition at line 377 of file CbmKFSecondaryVertexFinder.cxx.

References C, Chi2, Cij(), i, MassConstraint, NDF, r, and r0.

Referenced by Fit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddTopoConstraint()

void CbmKFSecondaryVertexFinder::AddTopoConstraint ( )
private

Definition at line 458 of file CbmKFSecondaryVertexFinder.cxx.

References C, Chi2, Extrapolate(), m, NDF, r, r0, VParent, and z.

Referenced by Fit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddTrack()

void CbmKFSecondaryVertexFinder::AddTrack ( CbmKFTrackInterface * Track)

Definition at line 32 of file CbmKFSecondaryVertexFinder.cxx.

References vTracks.

◆ Cij()

Double_t & CbmKFSecondaryVertexFinder::Cij ( Int_t i,
Int_t j )
inlineprivate

Definition at line 29 of file CbmKFSecondaryVertexFinder.h.

References C, and i.

Referenced by AddMassConstraint(), and GetMotherTrack().

Here is the caller graph for this function:

◆ Clear()

void CbmKFSecondaryVertexFinder::Clear ( )

Definition at line 19 of file CbmKFSecondaryVertexFinder.cxx.

References MassConstraint, VGuess, VParent, and vTracks.

Referenced by CbmKFSecondaryVertexFinder().

Here is the caller graph for this function:

◆ ClearTracks()

void CbmKFSecondaryVertexFinder::ClearTracks ( )

Definition at line 27 of file CbmKFSecondaryVertexFinder.cxx.

References vTracks.

◆ Extrapolate()

void CbmKFSecondaryVertexFinder::Extrapolate ( double T)

Definition at line 416 of file CbmKFSecondaryVertexFinder.cxx.

References C, r, and r0.

Referenced by AddTopoConstraint().

Here is the caller graph for this function:

◆ Fit()

void CbmKFSecondaryVertexFinder::Fit ( )

Definition at line 57 of file CbmKFSecondaryVertexFinder.cxx.

References AddMassConstraint(), AddTopoConstraint(), C, Chi2, i, CbmKF::Instance(), m, NDF, r, r0, VGuess, CbmKF::vTargets, vTracks, and CbmKFTube::z.

Here is the call graph for this function:

◆ GetMass()

void CbmKFSecondaryVertexFinder::GetMass ( Double_t * M,
Double_t * Error )

Definition at line 361 of file CbmKFSecondaryVertexFinder.cxx.

References C, and r.

◆ GetMotherTrack()

void CbmKFSecondaryVertexFinder::GetMotherTrack ( Double_t T[],
Double_t C[] )

Definition at line 303 of file CbmKFSecondaryVertexFinder.cxx.

References Cij(), i, and r.

Here is the call graph for this function:

◆ GetVertex() [1/2]

void CbmKFSecondaryVertexFinder::GetVertex ( CbmKFVertexInterface & vtx)

Definition at line 285 of file CbmKFSecondaryVertexFinder.cxx.

References C, Chi2, CbmKFVertexInterface::GetCovMatrix(), CbmKFVertexInterface::GetRefChi2(), CbmKFVertexInterface::GetRefNDF(), CbmKFVertexInterface::GetRefX(), CbmKFVertexInterface::GetRefY(), CbmKFVertexInterface::GetRefZ(), i, NDF, and r.

Referenced by GetVertex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetVertex() [2/2]

void CbmKFSecondaryVertexFinder::GetVertex ( CbmVertex & vtx)

Definition at line 296 of file CbmKFSecondaryVertexFinder.cxx.

References GetVertex(), and CbmKFVertexInterface::GetVertex().

Here is the call graph for this function:

◆ operator=()

void CbmKFSecondaryVertexFinder::operator= ( const CbmKFSecondaryVertexFinder & )
private

References CbmKFSecondaryVertexFinder().

Here is the call graph for this function:

◆ SetApproximation()

void CbmKFSecondaryVertexFinder::SetApproximation ( CbmKFVertexInterface * Guess = 0)

Definition at line 42 of file CbmKFSecondaryVertexFinder.cxx.

References VGuess.

◆ SetMassConstraint()

void CbmKFSecondaryVertexFinder::SetMassConstraint ( Double_t MotherMass = -1)

Definition at line 47 of file CbmKFSecondaryVertexFinder.cxx.

References MassConstraint.

◆ SetTopoConstraint()

void CbmKFSecondaryVertexFinder::SetTopoConstraint ( CbmKFVertexInterface * Parent = 0)

Definition at line 52 of file CbmKFSecondaryVertexFinder.cxx.

References VParent.

◆ SetTracks()

void CbmKFSecondaryVertexFinder::SetTracks ( std::vector< CbmKFTrackInterface * > & vTracks)

Definition at line 37 of file CbmKFSecondaryVertexFinder.cxx.

References vTracks.

Member Data Documentation

◆ C

Double_t CbmKFSecondaryVertexFinder::C[36]
private

◆ Chi2

Double_t CbmKFSecondaryVertexFinder::Chi2
private

◆ MassConstraint

Double_t CbmKFSecondaryVertexFinder::MassConstraint
private

◆ NDF

Int_t CbmKFSecondaryVertexFinder::NDF
private

◆ r

Double_t CbmKFSecondaryVertexFinder::r[8]
private

◆ r0

Double_t CbmKFSecondaryVertexFinder::r0[8]
private

◆ VGuess

CbmKFVertexInterface * CbmKFSecondaryVertexFinder::VGuess
private

◆ VParent

CbmKFVertexInterface* CbmKFSecondaryVertexFinder::VParent
private

◆ vTracks

std::vector<CbmKFTrackInterface*> CbmKFSecondaryVertexFinder::vTracks
private

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