10 #include "TClonesArray.h"
39 fList[type]->AddLink(link, index);
45 fList[sourceType]->SetEntry(links, index);
50 if (
fList[type] == 0){
52 fList[type] = newStage;
55 std::cout <<
"-W- CbmMCMatch::InitStage: Stage " << type <<
" exists already!" << std::endl;
110 std::cout <<
"FairLink: " << tempLink << std::endl;
114 std::cout <<
"CbmMCEntry: " << tempEntry << std::endl;
171 for (
int i = 0; i < links.
GetNLinks(); i++){
177 for (
int j = 0; j < myNewLinks.
GetNLinks(); j++){
196 for(;iter!=
fList.end(); iter++){
197 if (iter->second->PosInList(link).GetNLinks() > 0){
198 result.
AddLinks(iter->second->PosInList(link),
true);
222 for (
int i = 0; i < stageLinks.
GetNLinks(); i++){
234 for (
int i = 0; i < startStage.
GetNLinks(); i++){
258 if ((tempStageWeight * startLinkWeight) == 0.){
277 if (index < 0)
return empty;
278 if (
fList[type] == 0)
280 if (
fList[type]->GetNEntries() > index)
281 return fList[type]->GetEntry(index);
300 if (iter->second != 0)
301 iter->second->ClearEntries();
302 else fList.erase(iter);
309 if (iter->first == type)
316 for (
int i = 0; i < myLinkArray->GetEntriesFast(); i++){