30 std::cout <<
"-E- FairMCObject::SetEntry(FairMCEntry): pos " << entry.
GetPos() << std::endl;
34 fStage[entry.
GetPos()] = entry;
42 for (
unsigned int i = 0; i < type.size(); i++) {
51 fStage[index].SetLinks(data->
GetLinks());
56 if (index < static_cast<int>(fStage.size())) {
57 fStage[index].ResetLinks();
65 fStage[index].AddLink(link);
68 void FairMCObject::AdoptSize(
int index)
70 int start = fStage.size();
71 while (static_cast<int>(fStage.size()) < index + 1) {
73 myVec.
SetPos(fStage.size());
76 fStage.push_back(myVec);
85 for (
unsigned int i = 0; i < fStage.size(); i++) {
95 for (
unsigned int i = 0; i < fStage.size(); i++) {
96 fStage[i].RemoveType(type);
FairMultiLinkedData PosInList(std::pair< int, int > link)
void RemoveType(Int_t type)
virtual void SetPersistanceCheck(Bool_t check)
Controls if a persistance check of a link is done or not.
void SetLink(FairLink link, int index)
ClassImp(FairEventBuilder)
void SetSource(Int_t source)
void AddLink(FairLink link, int index)
Int_t GetStageId(void) const
virtual void AddLink(FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
virtual std::set< FairLink > GetLinks() const
returns stored links as FairLinks
void SetEntry(std::vector< Int_t > type, std::vector< Int_t > link, int index)