FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMCObject Class Reference

#include <FairMCObject.h>

Inheritance diagram for FairMCObject:
FairMCResult FairMCStage

Public Member Functions

 FairMCObject ()
 
 FairMCObject (Int_t type)
 
 FairMCObject (const FairMCObject &obj)
 
 FairMCObject (Int_t type, std::vector< FairMCEntry > stage)
 
FairMCObjectoperator= (const FairMCObject &from)
 
virtual ~FairMCObject ()
 
void SetStageId (Int_t type)
 
void SetEntry (std::vector< Int_t > type, std::vector< Int_t > link, int index)
 
void SetEntry (FairMultiLinkedData *data, int index)
 
void SetEntry (FairMCEntry link)
 
void SetStage (std::vector< FairMCEntry > stage)
 
void SetLink (FairLink link, int index)
 
void AddLink (FairLink link, int index)
 
FairMCEntry GetEntry (int index) const
 
FairLink GetSingleLink (int entryIndex, int linkIndex) const
 
Int_t GetStageId (void) const
 
FairMCEntry GetMCLink (Int_t index)
 
int GetNEntries () const
 
int GetNLinks (int entryIndex) const
 
std::vector< FairMCEntryGetEntryVector () const
 
FairMultiLinkedData PosInList (std::pair< int, int > link)
 
FairMultiLinkedData PosInList (FairLink link)
 
FairMultiLinkedData GetLinksWithType (Int_t type)
 
void RemoveType (Int_t type)
 
virtual void ClearEntries ()
 
virtual void PrintInfo (std::ostream &out=std::cout)
 

Friends

std::ostream & operator<< (std::ostream &out, const FairMCObject &obj)
 

Detailed Description

Definition at line 28 of file FairMCObject.h.

Constructor & Destructor Documentation

FairMCObject::FairMCObject ( )

Definition at line 19 of file FairMCObject.cxx.

FairMCObject::FairMCObject ( Int_t  type)
inline

Definition at line 32 of file FairMCObject.h.

FairMCObject::FairMCObject ( const FairMCObject obj)
inline

Definition at line 37 of file FairMCObject.h.

FairMCObject::FairMCObject ( Int_t  type,
std::vector< FairMCEntry stage 
)
inline

Definition at line 42 of file FairMCObject.h.

FairMCObject::~FairMCObject ( )
virtual

Definition at line 25 of file FairMCObject.cxx.

Member Function Documentation

void FairMCObject::AddLink ( FairLink  link,
int  index 
)

Definition at line 62 of file FairMCObject.cxx.

virtual void FairMCObject::ClearEntries ( )
inlinevirtual

Reimplemented in FairMCStage.

Definition at line 98 of file FairMCObject.h.

FairMCEntry FairMCObject::GetEntry ( int  index) const
inline

Definition at line 73 of file FairMCObject.h.

std::vector<FairMCEntry> FairMCObject::GetEntryVector ( ) const
inline

Definition at line 82 of file FairMCObject.h.

FairMultiLinkedData FairMCObject::GetLinksWithType ( Int_t  type)
inline

Definition at line 87 of file FairMCObject.h.

FairMCEntry FairMCObject::GetMCLink ( Int_t  index)
inline

Definition at line 78 of file FairMCObject.h.

int FairMCObject::GetNEntries ( ) const
inline

Definition at line 80 of file FairMCObject.h.

int FairMCObject::GetNLinks ( int  entryIndex) const
inline

Definition at line 81 of file FairMCObject.h.

FairLink FairMCObject::GetSingleLink ( int  entryIndex,
int  linkIndex 
) const
inline

Definition at line 74 of file FairMCObject.h.

Int_t FairMCObject::GetStageId ( void  ) const
inline

Definition at line 76 of file FairMCObject.h.

FairMCObject& FairMCObject::operator= ( const FairMCObject from)
inline

Definition at line 48 of file FairMCObject.h.

FairMultiLinkedData FairMCObject::PosInList ( std::pair< int, int >  link)
FairMultiLinkedData FairMCObject::PosInList ( FairLink  link)

Definition at line 81 of file FairMCObject.cxx.

virtual void FairMCObject::PrintInfo ( std::ostream &  out = std::cout)
inlinevirtual

Reimplemented in FairMCStage, and FairMCResult.

Definition at line 100 of file FairMCObject.h.

void FairMCObject::RemoveType ( Int_t  type)

Definition at line 93 of file FairMCObject.cxx.

void FairMCObject::SetEntry ( std::vector< Int_t >  type,
std::vector< Int_t >  link,
int  index 
)

Definition at line 37 of file FairMCObject.cxx.

void FairMCObject::SetEntry ( FairMultiLinkedData data,
int  index 
)

Definition at line 48 of file FairMCObject.cxx.

void FairMCObject::SetEntry ( FairMCEntry  link)

Definition at line 27 of file FairMCObject.cxx.

void FairMCObject::SetLink ( FairLink  link,
int  index 
)

Definition at line 54 of file FairMCObject.cxx.

void FairMCObject::SetStage ( std::vector< FairMCEntry stage)
inline

Definition at line 69 of file FairMCObject.h.

void FairMCObject::SetStageId ( Int_t  type)
inline

Definition at line 63 of file FairMCObject.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FairMCObject obj 
)
friend

Definition at line 109 of file FairMCObject.h.


The documentation for this class was generated from the following files: