FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairLink Class Reference

#include <FairLink.h>

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.)
 
 ~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 GetFile () const
 
int GetEntry () const
 
int GetType () const
 
int GetIndex () const
 
float GetWeight () const
 
void SetFile (int file)
 
void SetEntry (int entry)
 
void SetType (int type)
 
void SetIndex (int index)
 
void SetWeight (Float_t weight)
 
void AddWeight (Float_t weight)
 
void PrintLinkInfo (std::ostream &out=std::cout) const
 
bool operator== (const FairLink &link) const
 
bool operator< (const FairLink &link) const
 
 ClassDefNV (FairLink, 5)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Friends

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

Detailed Description

Definition at line 29 of file FairLink.h.

Constructor & Destructor Documentation

FairLink::FairLink ( )
inline

Definition at line 134 of file FairLink.h.

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

Definition at line 142 of file FairLink.h.

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

Definition at line 21 of file FairLink.cxx.

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

Definition at line 152 of file FairLink.h.

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

Definition at line 31 of file FairLink.cxx.

FairLink::~FairLink ( )
inline

Definition at line 37 of file FairLink.h.

Member Function Documentation

void FairLink::AddWeight ( Float_t  weight)
inline

Definition at line 67 of file FairLink.h.

FairLink::ClassDefNV ( FairLink  ,
 
)
int FairLink::GetEntry ( ) const
inline

Definition at line 56 of file FairLink.h.

int FairLink::GetFile ( ) const
inline

Definition at line 183 of file FairLink.h.

int FairLink::GetIndex ( ) const
inline

Definition at line 58 of file FairLink.h.

int FairLink::GetType ( ) const
inline

Definition at line 170 of file FairLink.h.

float FairLink::GetWeight ( ) const
inline

Definition at line 59 of file FairLink.h.

bool FairLink::operator< ( const FairLink link) const
inline

Definition at line 82 of file FairLink.h.

bool FairLink::operator== ( const FairLink link) const
inline

Definition at line 71 of file FairLink.h.

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

Definition at line 42 of file FairLink.cxx.

template<class Archive >
void FairLink::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Definition at line 117 of file FairLink.h.

void FairLink::SetEntry ( int  entry)
inline

Definition at line 62 of file FairLink.h.

void FairLink::SetFile ( int  file)
inline

Definition at line 176 of file FairLink.h.

void FairLink::SetIndex ( int  index)
inline

Definition at line 64 of file FairLink.h.

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

Definition at line 39 of file FairLink.h.

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

Definition at line 47 of file FairLink.h.

void FairLink::SetType ( int  type)
inline

Definition at line 163 of file FairLink.h.

void FairLink::SetWeight ( Float_t  weight)
inline

Definition at line 66 of file FairLink.h.

Friends And Related Function Documentation

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

Definition at line 108 of file FairLink.h.


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