EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairLink Class Reference

#include <EicRoot/blob/master/base/FairLink.h>

+ Inheritance diagram for FairLink:
+ Collaboration diagram for FairLink:

Public Member Functions

 FairLink ()
 
 FairLink (Int_t type, Int_t index, Float_t weight=1.)
 
 FairLink (TString branchName, Int_t index, Float_t weight=1.)
 
 FairLink (Int_t file, Int_t entry, Int_t type, Int_t index, Float_t weight=1.)
 
 FairLink (Int_t file, Int_t entry, TString branchName, Int_t index, Float_t weight=1.)
 
virtual ~FairLink ()
 
void SetLink (Int_t file, Int_t entry, Int_t type, Int_t index, Float_t weight=1.)
 
void SetLink (Int_t type, Int_t index, Float_t weight=1.)
 
Int_t GetFile () const
 
Int_t GetEntry () const
 
Int_t GetType () const
 
Int_t GetIndex () const
 
Float_t GetWeight () const
 
void SetWeight (Float_t weight)
 
void AddWeight (Float_t weight)
 
virtual void Print (std::ostream &out=std::cout) const
 
virtual bool operator== (const FairLink &link) const
 
virtual bool operator< (const FairLink &link) const
 
 ClassDef (FairLink, 3)
 

Private Attributes

Int_t fFile
 
Int_t fEntry
 
Int_t fType
 
Int_t fIndex
 
Float_t fWeight
 

Friends

std::ostream & operator<< (std::ostream &out, const FairLink &link)
 

Detailed Description

Definition at line 17 of file FairLink.h.

View newest version in sPHENIX GitHub at line 17 of file FairLink.h

Constructor & Destructor Documentation

FairLink::FairLink ( )

Definition at line 13 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 13 of file FairLink.cxx

FairLink::FairLink ( Int_t  type,
Int_t  index,
Float_t  weight = 1. 
)

Definition at line 23 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 23 of file FairLink.cxx

FairLink::FairLink ( TString  branchName,
Int_t  index,
Float_t  weight = 1. 
)

Definition at line 34 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 34 of file FairLink.cxx

FairLink::FairLink ( Int_t  file,
Int_t  entry,
Int_t  type,
Int_t  index,
Float_t  weight = 1. 
)

Definition at line 45 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 45 of file FairLink.cxx

FairLink::FairLink ( Int_t  file,
Int_t  entry,
TString  branchName,
Int_t  index,
Float_t  weight = 1. 
)

Definition at line 55 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 55 of file FairLink.cxx

FairLink::~FairLink ( )
virtual

Definition at line 71 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 71 of file FairLink.cxx

Member Function Documentation

void FairLink::AddWeight ( Float_t  weight)
inline

Definition at line 48 of file FairLink.h.

View newest version in sPHENIX GitHub at line 48 of file FairLink.h

References fWeight.

Referenced by FairMultiLinkedData::InsertLink().

+ Here is the caller graph for this function:

FairLink::ClassDef ( FairLink  ,
 
)
Int_t FairLink::GetEntry ( ) const
inline

Definition at line 42 of file FairLink.h.

View newest version in sPHENIX GitHub at line 42 of file FairLink.h

References fEntry.

Referenced by FairRootManager::GetCloneOfLinkData(), FairRootManager::GetCloneOfTClonesArray(), operator<(), operator==(), and Print().

+ Here is the caller graph for this function:

Int_t FairLink::GetFile ( ) const
inline

Definition at line 41 of file FairLink.h.

View newest version in sPHENIX GitHub at line 41 of file FairLink.h

References fFile.

Referenced by FairRootManager::GetCloneOfLinkData(), FairRootManager::GetCloneOfTClonesArray(), operator<(), operator==(), and Print().

+ Here is the caller graph for this function:

Float_t FairLink::GetWeight ( ) const
inline

Definition at line 45 of file FairLink.h.

View newest version in sPHENIX GitHub at line 45 of file FairLink.h

References fWeight.

Referenced by FairMultiLinkedData::AddAllWeights(), FairMultiLinkedData::AddLink(), FairMultiLinkedData::AddLinks(), CbmMCMatch::GetNextStage(), FairMultiLinkedData::InsertLink(), FairMultiLinkedData::MultiplyAllWeights(), Print(), and FairMultiLinkedData::SetLink().

+ Here is the caller graph for this function:

virtual bool FairLink::operator< ( const FairLink link) const
inlinevirtual

Definition at line 60 of file FairLink.h.

View newest version in sPHENIX GitHub at line 60 of file FairLink.h

References fFile, fIndex, fType, GetEntry(), GetFile(), GetIndex(), and GetType().

+ Here is the call graph for this function:

virtual bool FairLink::operator== ( const FairLink link) const
inlinevirtual

Definition at line 52 of file FairLink.h.

View newest version in sPHENIX GitHub at line 52 of file FairLink.h

References fFile, fIndex, fType, GetEntry(), GetFile(), GetIndex(), and GetType().

+ Here is the call graph for this function:

void FairLink::Print ( std::ostream &  out = std::cout) const
virtual

Definition at line 65 of file FairLink.cxx.

View newest version in sPHENIX GitHub at line 65 of file FairLink.cxx

References GetEntry(), GetFile(), GetIndex(), GetType(), and GetWeight().

Referenced by PndTrackCandHit::Print(), and FairMultiLinkedData::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairLink::SetLink ( Int_t  file,
Int_t  entry,
Int_t  type,
Int_t  index,
Float_t  weight = 1. 
)
inline

Definition at line 27 of file FairLink.h.

View newest version in sPHENIX GitHub at line 27 of file FairLink.h

References fFile, eicpy.qaplots::file, fIndex, fType, and fWeight.

void FairLink::SetLink ( Int_t  type,
Int_t  index,
Float_t  weight = 1. 
)
inline

Definition at line 34 of file FairLink.h.

View newest version in sPHENIX GitHub at line 34 of file FairLink.h

References fFile, fIndex, fType, and fWeight.

void FairLink::SetWeight ( Float_t  weight)
inline

Definition at line 47 of file FairLink.h.

View newest version in sPHENIX GitHub at line 47 of file FairLink.h

References fWeight.

Referenced by FairMultiLinkedData::AddAllWeights(), FairMultiLinkedData::AddLink(), FairMultiLinkedData::AddLinks(), FairMultiLinkedData::MultiplyAllWeights(), FairMultiLinkedData::SetAllWeights(), and FairMultiLinkedData::SetLink().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FairLink link 
)
friend

Definition at line 74 of file FairLink.h.

View newest version in sPHENIX GitHub at line 74 of file FairLink.h

Member Data Documentation

Int_t FairLink::fEntry
private

Definition at line 84 of file FairLink.h.

View newest version in sPHENIX GitHub at line 84 of file FairLink.h

Referenced by GetEntry().

Int_t FairLink::fFile
private

Definition at line 83 of file FairLink.h.

View newest version in sPHENIX GitHub at line 83 of file FairLink.h

Referenced by GetFile(), operator<(), operator==(), and SetLink().

Int_t FairLink::fIndex
private

Definition at line 86 of file FairLink.h.

View newest version in sPHENIX GitHub at line 86 of file FairLink.h

Referenced by GetIndex(), operator<(), operator==(), and SetLink().

Int_t FairLink::fType
private

Definition at line 85 of file FairLink.h.

View newest version in sPHENIX GitHub at line 85 of file FairLink.h

Referenced by GetType(), operator<(), operator==(), and SetLink().

Float_t FairLink::fWeight
private

Definition at line 87 of file FairLink.h.

View newest version in sPHENIX GitHub at line 87 of file FairLink.h

Referenced by AddWeight(), GetWeight(), SetLink(), and SetWeight().


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