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

#include <BmnMatch.h>

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

Public Member Functions

 BmnMatch ()
 Default constructor.
 
virtual ~BmnMatch ()
 Destructor.
 
const BmnLinkGetLink (Int_t i) const
 
const vector< BmnLink > & GetLinks () const
 
const BmnLinkGetMatchedLink () 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 BmnLinkGetLink (Int_t i) const
 
const vector< BmnLink > & GetLinks () const
 
const BmnLinkGetMatchedLink () 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.
 

Protected Member Functions

 ClassDef (BmnMatch, 1)
 
 ClassDef (BmnMatch, 1)
 

Protected Attributes

vector< BmnLinkfLinks
 
Double_t fTotalWeight
 
Int_t fMatchedIndex
 

Detailed Description

Definition at line 23 of file BmnMatch.h.

Constructor & Destructor Documentation

◆ BmnMatch() [1/2]

BmnMatch::BmnMatch ( )

Default constructor.

Definition at line 15 of file BmnMatch.cxx.

◆ ~BmnMatch() [1/2]

BmnMatch::~BmnMatch ( )
virtual

Destructor.

Definition at line 23 of file BmnMatch.cxx.

References fLinks.

◆ BmnMatch() [2/2]

BmnMatch::BmnMatch ( )

Default constructor.

◆ ~BmnMatch() [2/2]

virtual BmnMatch::~BmnMatch ( )
virtual

Destructor.

Member Function Documentation

◆ AddLink() [1/6]

void BmnMatch::AddLink ( const BmnLink newLink)

◆ AddLink() [2/6]

void BmnMatch::AddLink ( const BmnLink newLink)

◆ AddLink() [3/6]

◆ AddLink() [4/6]

void BmnMatch::AddLink ( const BmnMatch match)

◆ AddLink() [5/6]

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

Definition at line 78 of file BmnMatch.cxx.

References AddLink().

◆ 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 46 of file BmnMatch.h.

References AddLink().

Referenced by BmnDigi::BmnDigi(), and BmnDigi::operator=().

◆ AddLinks() [2/2]

void BmnMatch::AddLinks ( const BmnMatch match)
inline

Definition at line 46 of file BmnMatch.h.

References AddLink().

◆ ClassDef() [1/2]

BmnMatch::ClassDef ( BmnMatch  ,
 
)
protected

◆ ClassDef() [2/2]

BmnMatch::ClassDef ( BmnMatch  ,
 
)
protected

◆ ClearLinks() [1/2]

void BmnMatch::ClearLinks ( )

Definition at line 84 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

◆ GetLink() [2/2]

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

Definition at line 37 of file BmnMatch.h.

References fLinks, and i.

◆ GetLinks() [1/2]

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

◆ GetLinks() [2/2]

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

Definition at line 38 of file BmnMatch.h.

References fLinks.

◆ GetMatchedIndex() [1/2]

Int_t BmnMatch::GetMatchedIndex ( ) const
inline

Definition at line 42 of file BmnMatch.h.

References fMatchedIndex.

◆ GetMatchedIndex() [2/2]

Int_t BmnMatch::GetMatchedIndex ( ) const
inline

Definition at line 42 of file BmnMatch.h.

References fMatchedIndex.

◆ GetMatchedLink() [1/2]

const BmnLink & BmnMatch::GetMatchedLink ( ) const
inline

Definition at line 39 of file BmnMatch.h.

References fLinks, and fMatchedIndex.

◆ GetMatchedLink() [2/2]

const BmnLink & BmnMatch::GetMatchedLink ( ) const
inline

Definition at line 39 of file BmnMatch.h.

References fLinks, and fMatchedIndex.

◆ GetNofLinks() [1/2]

◆ GetNofLinks() [2/2]

Int_t BmnMatch::GetNofLinks ( ) const
inline

Definition at line 40 of file BmnMatch.h.

References fLinks.

◆ GetTotalWeight() [1/2]

Double_t BmnMatch::GetTotalWeight ( ) const
inline

Definition at line 41 of file BmnMatch.h.

References fTotalWeight.

Referenced by BmnSsdSignal::GetCharge().

◆ GetTotalWeight() [2/2]

Double_t BmnMatch::GetTotalWeight ( ) const
inline

Definition at line 41 of file BmnMatch.h.

References fTotalWeight.

◆ ToString() [1/2]

string BmnMatch::ToString ( ) const
virtual

Return string representation of the object.

Returns
String representation of the object.

Reimplemented in BmnTrackMatch, and BmnTrackMatch.

Definition at line 28 of file BmnMatch.cxx.

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

◆ ToString() [2/2]

virtual string BmnMatch::ToString ( ) const
virtual

Return string representation of the object.

Returns
String representation of the object.

Reimplemented in BmnTrackMatch, and BmnTrackMatch.

Member Data Documentation

◆ fLinks

vector< BmnLink > BmnMatch::fLinks
protected

◆ fMatchedIndex

Int_t BmnMatch::fMatchedIndex
protected

◆ fTotalWeight

Double_t BmnMatch::fTotalWeight
protected

Definition at line 59 of file BmnMatch.h.

Referenced by AddLink(), ClearLinks(), GetTotalWeight(), ToString(), and BmnTrackMatch::ToString().


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