20 std::vector<Int_t> links,
23 Bool_t persistanceCheck,
32 std::vector<Int_t> links,
35 Bool_t persistanceCheck,
70 if (
fLink ==
nullptr) {
84 std::set<FairLink> emptySet;
133 std::vector<FairLink> empty;
184 std::cout <<
"-E- FairMultiLinkedData_Interface::AddInterfaceData EntryNr == " << data->
GetEntryNr()
void SetLinks(FairMultiLinkedData links)
Sets the links as vector of FairLink.
FairMultiLinkedData_Interface()=default
Default constructor.
FairMultiLinkedData_Interface & operator=(const FairMultiLinkedData_Interface &rhs)
Int_t GetNLinks() const
returns the number of stored links
FairMultiLinkedData GetLinksWithType(Int_t type) const
returns all FairLinks with the corresponding type
void SetLink(FairLink link)
Sets the Links with a single FairLink.
virtual void SetEntryNr(FairLink entry)
virtual std::vector< FairLink > GetSortedMCTracks()
Gives you a list of all FairLinks pointing to a "MCTrack" sorted by their weight. ...
virtual void SetLinks(FairMultiLinkedData links, Float_t mult=1.0)
Sets the links as vector of FairLink.
virtual FairLink GetEntryNr() const
gives back the entryNr
void AddLink(FairLink link)
std::set< FairLink > GetLinks() const
returns stored links as FairLinks
static FairRootManager * Instance()
virtual void ResetLinks()
Clears fLinks.
ClassImp(FairEventBuilder)
FairLink GetLink(Int_t pos) const
returns the FairLink at the given position
FairLink GetEntryNr() const
FairMultiLinkedData * GetPointerToLinks() const
returns non-owning pointer
std::unique_ptr< FairMultiLinkedData > fLink
virtual void AddLinks(FairMultiLinkedData links, Float_t mult=1.0)
Adds a List of FairLinks (FairMultiLinkedData) to fLinks.
void SetEntryNr(FairLink val)
virtual void SetLink(FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
Sets the Links with a single FairLink.
void AddLinks(FairMultiLinkedData links, Float_t mult=1.0)
Adds a List of FairLinks (FairMultiLinkedData_Interface) to fLinks.
virtual Int_t GetNLinks() const
returns the number of stored links
virtual void SetInsertHistory(Bool_t val)
Toggles if history of a link is inserted or not.
Bool_t GetInsertHistory() const
virtual FairLink GetLink(Int_t pos) const
returns the FairLink at the given position
FairMultiLinkedData * CreateFairMultiLinkedData()
returns non-owning pointer
std::vector< FairLink > GetSortedMCTracks()
void AddInterfaceData(FairMultiLinkedData_Interface *data)
virtual void AddLink(FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
void SetInsertHistory(Bool_t val)
virtual std::set< FairLink > GetLinks() const
returns stored links as FairLinks
virtual FairMultiLinkedData GetLinksWithType(Int_t type) const
Gives you a list of links which contain the given type.