33 FairLink(Int_t type, Int_t index, Float_t weight = 1.);
34 FairLink(TString branchName, Int_t index, Float_t weight = 1.);
35 FairLink(Int_t file, Int_t entry, Int_t type, Int_t index, Float_t weight = 1.);
36 FairLink(Int_t file, Int_t entry, TString branchName, Int_t index, Float_t weight = 1.);
39 void SetLink(Int_t file, Int_t entry, Int_t type, Int_t index, Float_t weight = 1.)
47 void SetLink(Int_t type, Int_t index, Float_t weight = 1.)
66 void SetWeight(Float_t weight) { fWeight = weight; }
67 void AddWeight(Float_t weight) { fWeight += weight; }
116 template<
class Archive>
128 unsigned short fType;
void SetWeight(Float_t weight)
friend std::ostream & operator<<(std::ostream &out, const FairLink &link)
void serialize(Archive &ar, const unsigned int)
void SetLink(Int_t type, Int_t index, Float_t weight=1.)
bool operator<(const FairLink &link) const
bool operator==(const FairLink &link) const
void PrintLinkInfo(std::ostream &out=std::cout) const
void SetLink(Int_t file, Int_t entry, Int_t type, Int_t index, Float_t weight=1.)
void AddWeight(Float_t weight)