|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
CbmVertex.h. More...
#include <CbmVertex.h>
Public Member Functions | |
| CbmVertex () | |
| Default constructor. | |
| CbmVertex (const char *name, const char *title) | |
| Constructor with name and title. | |
| CbmVertex (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. | |
| virtual | ~CbmVertex () |
| Destructor. | |
| void | Print () |
| Ouput to screen. | |
| Double_t | GetX () const |
| Accessors. | |
| 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 > | GetTrackInds () |
| void | 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. | |
| void | SetVertexXYZ (Double_t x, Double_t y, Double_t z) |
| void | Reset () |
| Reset the member variables. | |
| Double32_t(& | GetCovMatrix ())[6] |
| void | CopyFrom (CbmVertex *hdr) |
| CbmVertex () | |
| Default constructor. | |
| CbmVertex (const char *name, const char *title) | |
| Constructor with name and title. | |
| CbmVertex (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. | |
| virtual | ~CbmVertex () |
| Destructor. | |
| void | Print () |
| Ouput to screen. | |
| Double_t | GetX () const |
| Accessors. | |
| 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 > | GetTrackInds () |
| void | 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. | |
| void | SetVertexXYZ (Double_t x, Double_t y, Double_t z) |
| void | Reset () |
| Reset the member variables. | |
| Double32_t(& | GetCovMatrix ())[6] |
| void | CopyFrom (CbmVertex *hdr) |
| Public Member Functions inherited from TNamed | |
| TNamed () | |
| TNamed (const char *name, const char *title) | |
| TNamed (const TNamed &named) | |
| TNamed (const TString &name, const TString &title) | |
| virtual | ~TNamed () |
| void | Clear (Option_t *option="") override |
| TObject * | Clone (const char *newname="") const override |
| Int_t | Compare (const TObject *obj) const override |
| void | Copy (TObject &named) const override |
| virtual void | FillBuffer (char *&buffer) |
| const char * | GetName () const override |
| const char * | GetTitle () const override |
| ULong_t | Hash () const override |
| TClass * | IsA () const override |
| Bool_t | IsSortable () const override |
| void | ls (Option_t *option="") const override |
| TNamed & | operator= (const TNamed &rhs) |
| void | Print (Option_t *option="") const override |
| virtual void | SetName (const char *name) |
| virtual void | SetNameTitle (const char *name, const char *title) |
| virtual void | SetTitle (const char *title="") |
| virtual Int_t | Sizeof () const |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| 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 | 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 char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| 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) |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () 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 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) |
| 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 |
Public Attributes | |
| std::vector< Int_t > | trkID |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
Private Attributes | |
| Double32_t | fX |
| Position coordinates [cm]. | |
| Double32_t | fY |
| Double32_t | fZ |
| Double32_t | fChi2 |
| Chi2 of vertex fit. | |
| Int_t | fNDF |
| Number of degrees of freedom of vertex fit. | |
| Int_t | fNTracks |
| Number of tracks used for the vertex fit. | |
| Double32_t | fCovMatrix [6] |
| Covariance matrix for x, y, and z stored in an array. | |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| Static Public Member Functions inherited from TNamed | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| 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) |
| Protected Member Functions inherited from TNamed | |
| void | SavePrimitiveNameTitle (std::ostream &out, const char *variable_name) |
| 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 TNamed | |
| TString | fName |
| TString | fTitle |
| Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
Data class for a vertex in CBM. Data level: RECO
Definition at line 20 of file CbmVertex.h.
| CbmVertex::CbmVertex | ( | ) |
Definition at line 15 of file CbmVertex.cxx.
References TNamed::TNamed(), fChi2, fCovMatrix, fNDF, fNTracks, fX, fY, fZ, and i.
Referenced by CopyFrom().
| CbmVertex::CbmVertex | ( | const char * | name, |
| const char * | title ) |
Definition at line 32 of file CbmVertex.cxx.
References TNamed::TNamed(), fChi2, fCovMatrix, fNDF, fNTracks, fX, fY, fZ, and i.
| CbmVertex::CbmVertex | ( | 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 ) |
| name | Name of object |
| title | Title of object |
| x | x coordinate [cm] |
| y | y coordinate [cm] |
| z | z coordinate [cm] |
| chi2 | chi square of vertex fit |
| ndf | Number of degrees of freedom of vertex fit |
| nTracks | Number of tracks used for vertex fit |
| covMat | Covariance Matrix (symmetric, 3x3) |
Definition at line 49 of file CbmVertex.cxx.
References TNamed::TNamed(), fChi2, fCovMatrix, fNDF, fNTracks, fX, fY, fZ, i, x, y, and z.
|
virtual |
Definition at line 77 of file CbmVertex.cxx.
| CbmVertex::CbmVertex | ( | ) |
| CbmVertex::CbmVertex | ( | const char * | name, |
| const char * | title ) |
|
virtual |
| void CbmVertex::CopyFrom | ( | CbmVertex * | hdr | ) |
Definition at line 160 of file CbmVertex.cxx.
References CbmVertex(), TNamed::SetTitle(), SetVertex(), and v.
| void CbmVertex::CopyFrom | ( | CbmVertex * | hdr | ) |
References CbmVertex(), fChi2, fCovMatrix, fNDF, fNTracks, fX, fY, and fZ.
| void CbmVertex::CovMatrix | ( | TMatrixFSym & | covMat | ) | const |
Definition at line 100 of file CbmVertex.cxx.
References fCovMatrix, and i.
Referenced by BmnMotherFitterPart::Chi2Vertex(), BmnCombineVertexFinder::CombineVertex(), BmnStsKFTrackFitter::GetChiToVertex(), CbmStsKFTrackFitter::GetChiToVertex(), GetCovariance(), and BmnTrackConv::ProcessDST().
| void CbmVertex::CovMatrix | ( | TMatrixFSym & | covMat | ) | const |
|
inline |
Definition at line 61 of file CbmVertex.h.
References fChi2.
Referenced by BmnCombineVertexFinder::CombineVertex(), CbmStsFitPerformanceTask::Exec(), and BmnTrackConv::ProcessDST().
|
inline |
Definition at line 61 of file CbmVertex.h.
References fChi2.
Definition at line 115 of file CbmVertex.cxx.
References CovMatrix(), and i.
Referenced by BmnCombineVertexFinder::CombineVertex(), and CbmStsFitPerformanceTask::Exec().
|
inline |
Definition at line 98 of file CbmVertex.h.
References fCovMatrix.
|
inline |
Definition at line 98 of file CbmVertex.h.
References fCovMatrix.
|
inline |
Definition at line 62 of file CbmVertex.h.
References fNDF.
Referenced by CbmStsFitPerformanceTask::Exec(), and BmnTrackConv::ProcessDST().
|
inline |
Definition at line 62 of file CbmVertex.h.
References fNDF.
|
inline |
Definition at line 63 of file CbmVertex.h.
References fNTracks.
Referenced by BmnEfficiencyTOF700(), BmnCombineVertexFinder::CombineVertex(), compareA(), BmnTrackConv::ProcessDST(), and read_dst_example().
|
inline |
Definition at line 63 of file CbmVertex.h.
References fNTracks.
|
inline |
Definition at line 69 of file CbmVertex.h.
References trkID.
Referenced by BmnTrackConv::ProcessDST().
|
inline |
Definition at line 69 of file CbmVertex.h.
References trkID.
|
inline |
Definition at line 58 of file CbmVertex.h.
References fX.
Referenced by BmnEfficiencyTOF700(), BmnMCEfficiencyTOF700(), BmnXTCalibrationTOF700(), BmnXTIdentificationTOF700(), BmnMotherFitterPart::Chi2Vertex(), BmnCombineVertexFinder::CombineVertex(), compareA(), CbmStsFitPerformanceTask::Exec(), extractVertAppr(), BmnStsKFTrackFitter::GetChiToVertex(), CbmStsKFTrackFitter::GetChiToVertex(), BmnLambdaEmbedding::ListOfEventsWithReconstructedVp(), BmnTrackConv::ProcessDST(), read_dst_example(), and readDst().
|
inline |
Definition at line 58 of file CbmVertex.h.
References fX.
|
inline |
Definition at line 59 of file CbmVertex.h.
References fY.
Referenced by BmnEfficiencyTOF700(), BmnMCEfficiencyTOF700(), BmnXTCalibrationTOF700(), BmnXTIdentificationTOF700(), BmnMotherFitterPart::Chi2Vertex(), BmnCombineVertexFinder::CombineVertex(), compareA(), CbmStsFitPerformanceTask::Exec(), extractVertAppr(), BmnStsKFTrackFitter::GetChiToVertex(), CbmStsKFTrackFitter::GetChiToVertex(), BmnLambdaEmbedding::ListOfEventsWithReconstructedVp(), BmnTrackConv::ProcessDST(), read_dst_example(), and readDst().
|
inline |
Definition at line 59 of file CbmVertex.h.
References fY.
|
inline |
Definition at line 60 of file CbmVertex.h.
References fZ.
Referenced by BmnEfficiencyTOF700(), BmnMCEfficiencyTOF700(), BmnXTCalibrationTOF700(), BmnXTIdentificationTOF700(), BmnMotherFitterPart::Chi2Vertex(), BmnCombineVertexFinder::CombineVertex(), compareA(), BmnTrackingQaOffline::DoAnalisys(), CbmStsFitPerformanceTask::Exec(), extractVertAppr(), BmnStsKFTrackFitter::GetChiToVertex(), CbmStsKFTrackFitter::GetChiToVertex(), BmnLambdaEmbedding::ListOfEventsWithReconstructedVp(), outFigs(), BmnTrackConv::ProcessDST(), read_dst_example(), and readDst().
|
inline |
Definition at line 60 of file CbmVertex.h.
References fZ.
|
inline |
Definition at line 64 of file CbmVertex.h.
References fX, fY, fZ, and TVector3::SetXYZ().
|
inline |
Definition at line 64 of file CbmVertex.h.
References fX, fY, fZ, and TVector3::SetXYZ().
| void CbmVertex::Print | ( | ) |
| void CbmVertex::Print | ( | ) |
| void CbmVertex::Reset | ( | ) |
Definition at line 151 of file CbmVertex.cxx.
References fChi2, fCovMatrix, fNDF, fNTracks, fX, fY, fZ, and i.
| void CbmVertex::Reset | ( | ) |
| void CbmVertex::SetVertex | ( | Double_t | x, |
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t | chi2, | ||
| Int_t | ndf, | ||
| Int_t | nTracks, | ||
| const TMatrixFSym & | covMat ) |
| x | x coordinate [cm] |
| y | y coordinate [cm] |
| z | z coordinate [cm] |
| chi2 | chi square of vertex fit |
| ndf | Number of degrees of freedom of vertex fit |
| nTracks | Number of tracks used for vertex fit |
| covMat | Covariance Matrix (symmetric, 3x3) |
Definition at line 127 of file CbmVertex.cxx.
References fChi2, fCovMatrix, fNDF, fNTracks, fX, fY, fZ, i, x, y, and z.
Referenced by BmnCombineVertexFinder::CombineVertex(), and CopyFrom().
|
private |
Definition at line 109 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), GetChi2(), Print(), Reset(), and SetVertex().
|
private |
The sequence is a[0,0], a[0,1], a[0,2], a[1,1], a[1,2], a[2,2]
Definition at line 120 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), CovMatrix(), GetCovMatrix(), Reset(), and SetVertex().
|
private |
Definition at line 112 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), GetNDF(), Print(), Reset(), and SetVertex().
|
private |
Definition at line 115 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), GetNTracks(), Print(), Reset(), and SetVertex().
|
private |
Definition at line 106 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), GetX(), Position(), Print(), Reset(), SetVertex(), and SetVertexXYZ().
|
private |
Definition at line 106 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), GetY(), Position(), Print(), Reset(), SetVertex(), and SetVertexXYZ().
|
private |
Definition at line 106 of file CbmVertex.h.
Referenced by CbmVertex(), CbmVertex(), CbmVertex(), CopyFrom(), GetZ(), Position(), Print(), Reset(), SetVertex(), and SetVertexXYZ().
| std::vector< Int_t > CbmVertex::trkID |
Definition at line 67 of file CbmVertex.h.
Referenced by GetCovariance(), and GetTrackInds().