8 #ifndef FairMultiLinkedData_Interface_H_
9 #define FairMultiLinkedData_Interface_H_
28 std::vector<Int_t> links,
31 Bool_t persistanceCheck = kTRUE,
32 Bool_t bypass = kFALSE,
35 std::vector<Int_t> links,
38 Bool_t persistanceCheck = kTRUE,
39 Bool_t bypass = kFALSE,
86 std::unique_ptr<FairMultiLinkedData>
fLink;
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_Interface()=default
FairMultiLinkedData GetLinksWithType(Int_t type) const
returns all FairLinks with the corresponding type
void SetPointerToLinks(FairMultiLinkedData *links)
void SetLink(FairLink link)
Sets the Links with a single FairLink.
ClassDef(FairMultiLinkedData_Interface, 6)
void AddLink(FairLink link)
std::set< FairLink > GetLinks() const
returns stored links as FairLinks
friend std::ostream & operator<<(std::ostream &out, const FairMultiLinkedData_Interface &data)
Output.
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
std::ostream & PrintLinkInfo(std::ostream &out=std::cout) const
Output.
void SetPointerToLinks(std::unique_ptr< FairMultiLinkedData > links)
void SetEntryNr(FairLink val)
void AddLinks(FairMultiLinkedData links, Float_t mult=1.0)
Adds a List of FairLinks (FairMultiLinkedData_Interface) to fLinks.
FairMultiLinkedData * CreateFairMultiLinkedData()
returns non-owning pointer
std::vector< FairLink > GetSortedMCTracks()
std::ostream & PrintLinkInfo(std::ostream &out=std::cout) const
Output.
void AddInterfaceData(FairMultiLinkedData_Interface *data)
void SetInsertHistory(Bool_t val)