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

#include <BmnMatch.h>

Inheritance diagram for BmnMatch:
Collaboration diagram for BmnMatch:

Public Member Functions

 BmnMatch ()
 Default constructor.
virtual ~BmnMatch ()
 Destructor.
const BmnLink & GetLink (Int_t i) const
const vector< BmnLink > & GetLinks () const
const BmnLink & GetMatchedLink () const
Int_t GetNofLinks () const
Double_t GetTotalWeight () const
Int_t GetMatchedIndex () const
void AddLink (const BmnMatch &match)
void AddLinks (const BmnMatch &match)
void AddLink (const BmnLink &newLink)
void AddLink (Double_t weight, Int_t index, Int_t entry=-1, Int_t file=-1)
void ClearLinks ()
virtual string ToString () const
 Return string representation of the object.
 BmnMatch ()
 Default constructor.
virtual ~BmnMatch ()
 Destructor.
const BmnLink & GetLink (Int_t i) const
const vector< BmnLink > & GetLinks () const
const BmnLink & GetMatchedLink () const
Int_t GetNofLinks () const
Double_t GetTotalWeight () const
Int_t GetMatchedIndex () const
void AddLink (const BmnMatch &match)
void AddLinks (const BmnMatch &match)
void AddLink (const BmnLink &newLink)
void AddLink (Double_t weight, Int_t index, Int_t entry=-1, Int_t file=-1)
void ClearLinks ()
virtual string ToString () const
 Return string representation of the object.
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

Protected Attributes

vector< BmnLink > fLinks
Double_t fTotalWeight
Int_t fMatchedIndex
Protected Attributes inherited from TObject
 kOnlyPrepStep

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)

Detailed Description

Definition at line 24 of file BmnMatch.h.

Constructor & Destructor Documentation

◆ BmnMatch() [1/2]

BmnMatch::BmnMatch ( )

Definition at line 15 of file BmnMatch.cxx.

References fLinks, fMatchedIndex, and fTotalWeight.

Referenced by BmnTrackMatch::BmnTrackMatch(), AddLink(), AddLinks(), and ToString().

Here is the caller graph for this function:

◆ ~BmnMatch() [1/2]

BmnMatch::~BmnMatch ( )
virtual

Definition at line 21 of file BmnMatch.cxx.

References fLinks.

◆ BmnMatch() [2/2]

BmnMatch::BmnMatch ( )

◆ ~BmnMatch() [2/2]

virtual BmnMatch::~BmnMatch ( )
virtual

Member Function Documentation

◆ AddLink() [1/6]

void BmnMatch::AddLink ( const BmnLink & newLink)

Definition at line 48 of file BmnMatch.cxx.

References BmnLink::AddWeight(), fLinks, fMatchedIndex, fTotalWeight, GetNofLinks(), BmnLink::GetWeight(), and i.

Here is the call graph for this function:

◆ AddLink() [2/6]

void BmnMatch::AddLink ( const BmnLink & newLink)

◆ AddLink() [3/6]

void BmnMatch::AddLink ( const BmnMatch & match)

Definition at line 40 of file BmnMatch.cxx.

References BmnMatch(), AddLink(), and i.

Referenced by AddLink(), AddLink(), AddLinks(), BmnCSCModule::CalculateStripHitIntersectionPoints(), BmnGemStripModule::CalculateStripHitIntersectionPoints(), BmnSiBTModule::CalculateStripHitIntersectionPoints(), BmnSiliconModule::CalculateStripHitIntersectionPoints(), BmnSiProfModule::CalculateStripHitIntersectionPoints(), BmnVSPModule::CalculateStripHitIntersectionPoints(), BmnMatchRecoToMC::LinkToMC(), BmnMatchRecoToMC::LinkToMC(), BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

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

◆ AddLink() [4/6]

void BmnMatch::AddLink ( const BmnMatch & match)

References BmnMatch().

Here is the call graph for this function:

◆ AddLink() [5/6]

void BmnMatch::AddLink ( Double_t weight,
Int_t index,
Int_t entry = -1,
Int_t file = -1 )

Definition at line 75 of file BmnMatch.cxx.

References AddLink().

Here is the call graph for this function:

◆ AddLink() [6/6]

void BmnMatch::AddLink ( Double_t weight,
Int_t index,
Int_t entry = -1,
Int_t file = -1 )

◆ AddLinks() [1/2]

void BmnMatch::AddLinks ( const BmnMatch & match)
inline

Definition at line 47 of file BmnMatch.h.

References BmnMatch(), and AddLink().

Here is the call graph for this function:

◆ AddLinks() [2/2]

void BmnMatch::AddLinks ( const BmnMatch & match)
inline

Definition at line 47 of file BmnMatch.h.

References BmnMatch(), and AddLink().

Here is the call graph for this function:

◆ ClearLinks() [1/2]

void BmnMatch::ClearLinks ( )

Definition at line 81 of file BmnMatch.cxx.

References fLinks, fMatchedIndex, and fTotalWeight.

◆ ClearLinks() [2/2]

void BmnMatch::ClearLinks ( )

◆ GetLink() [1/2]

const BmnLink & BmnMatch::GetLink ( Int_t i) const
inline

Definition at line 38 of file BmnMatch.h.

References fLinks, and i.

Referenced by BmnMatchRecoToMC::CalculateTrackQuality(), BmnRealisticMc::doHitSelection(), BmnToCbmHitConverter::Exec(), BmnMatchRecoToMC::LinkToMC(), BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetLink() [2/2]

const BmnLink & BmnMatch::GetLink ( Int_t i) const
inline

Definition at line 38 of file BmnMatch.h.

References fLinks, and i.

◆ GetLinks() [1/2]

const vector< BmnLink > & BmnMatch::GetLinks ( ) const
inline

Definition at line 39 of file BmnMatch.h.

References fLinks.

Referenced by BmnCSCHitMaker::ProcessDigits(), BmnGemStripHitMaker::ProcessDigits(), BmnSiliconHitMaker::ProcessDigits(), and BmnVSPHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetLinks() [2/2]

const vector< BmnLink > & BmnMatch::GetLinks ( ) const
inline

Definition at line 39 of file BmnMatch.h.

References fLinks.

◆ GetMatchedIndex() [1/2]

Int_t BmnMatch::GetMatchedIndex ( ) const
inline

Definition at line 43 of file BmnMatch.h.

References fMatchedIndex.

◆ GetMatchedIndex() [2/2]

Int_t BmnMatch::GetMatchedIndex ( ) const
inline

Definition at line 43 of file BmnMatch.h.

References fMatchedIndex.

◆ GetMatchedLink() [1/2]

const BmnLink & BmnMatch::GetMatchedLink ( ) const
inline

◆ GetMatchedLink() [2/2]

const BmnLink & BmnMatch::GetMatchedLink ( ) const
inline

Definition at line 40 of file BmnMatch.h.

References fLinks, and fMatchedIndex.

◆ GetNofLinks() [1/2]

◆ GetNofLinks() [2/2]

Int_t BmnMatch::GetNofLinks ( ) const
inline

Definition at line 41 of file BmnMatch.h.

References fLinks.

◆ GetTotalWeight() [1/2]

Double_t BmnMatch::GetTotalWeight ( ) const
inline

Definition at line 42 of file BmnMatch.h.

References fTotalWeight.

◆ GetTotalWeight() [2/2]

Double_t BmnMatch::GetTotalWeight ( ) const
inline

Definition at line 42 of file BmnMatch.h.

References fTotalWeight.

◆ ToString() [1/2]

string BmnMatch::ToString ( ) const
virtual
Returns
String representation of the object.

Reimplemented in BmnTrackMatch, and BmnTrackMatch.

Definition at line 26 of file BmnMatch.cxx.

References fLinks, fMatchedIndex, fTotalWeight, GetNofLinks(), i, and BmnLink::ToString().

Here is the call graph for this function:

◆ ToString() [2/2]

virtual string BmnMatch::ToString ( ) const
virtual
Returns
String representation of the object.

Reimplemented in BmnTrackMatch, and BmnTrackMatch.

References BmnMatch(), fLinks, fMatchedIndex, and fTotalWeight.

Here is the call graph for this function:

Member Data Documentation

◆ fLinks

vector< BmnLink > BmnMatch::fLinks
protected

◆ fMatchedIndex

Int_t BmnMatch::fMatchedIndex
protected

◆ fTotalWeight

Double_t BmnMatch::fTotalWeight
protected

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