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

#include <FairMCStage.h>

Inheritance diagram for FairMCStage:
FairMCObject

Public Member Functions

 FairMCStage ()
 
 FairMCStage (Int_t id, const std::string &fileName, const std::string &branchName, Double_t weight=1.0)
 
 FairMCStage (const FairMCStage &mcStage)
 
FairMCStageoperator= (const FairMCStage &result)
 
virtual ~FairMCStage ()
 
void SetBranchName (const std::string &branchName)
 
void SetFileName (const std::string &fileName)
 
void SetWeight (Double_t weight)
 
void SetLoaded (Bool_t loaded)
 
void SetFill (Bool_t fill)
 
std::string GetBranchName (void) const
 
std::string GetFileName (void) const
 
Double_t GetWeight (void) const
 
Bool_t GetLoaded (void) const
 
Bool_t GetFill (void) const
 
virtual void ClearEntries ()
 
virtual void PrintInfo (std::ostream &out)
 
- Public Member Functions inherited from FairMCObject
 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)
 

Friends

std::ostream & operator<< (std::ostream &out, const FairMCStage &stage)
 

Detailed Description

Definition at line 24 of file FairMCStage.h.

Constructor & Destructor Documentation

FairMCStage::FairMCStage ( )

Definition at line 19 of file FairMCStage.cxx.

FairMCStage::FairMCStage ( Int_t  id,
const std::string &  fileName,
const std::string &  branchName,
Double_t  weight = 1.0 
)

Definition at line 30 of file FairMCStage.cxx.

FairMCStage::FairMCStage ( const FairMCStage mcStage)
inline

Definition at line 30 of file FairMCStage.h.

FairMCStage::~FairMCStage ( )
virtual

Definition at line 28 of file FairMCStage.cxx.

Member Function Documentation

virtual void FairMCStage::ClearEntries ( )
inlinevirtual

Reimplemented from FairMCObject.

Definition at line 70 of file FairMCStage.h.

std::string FairMCStage::GetBranchName ( void  ) const
inline

Definition at line 64 of file FairMCStage.h.

std::string FairMCStage::GetFileName ( void  ) const
inline

Definition at line 65 of file FairMCStage.h.

Bool_t FairMCStage::GetFill ( void  ) const
inline

Definition at line 68 of file FairMCStage.h.

Bool_t FairMCStage::GetLoaded ( void  ) const
inline

Definition at line 67 of file FairMCStage.h.

Double_t FairMCStage::GetWeight ( void  ) const
inline

Definition at line 66 of file FairMCStage.h.

FairMCStage& FairMCStage::operator= ( const FairMCStage result)
inline

Definition at line 39 of file FairMCStage.h.

virtual void FairMCStage::PrintInfo ( std::ostream &  out)
inlinevirtual

Reimplemented from FairMCObject.

Definition at line 76 of file FairMCStage.h.

void FairMCStage::SetBranchName ( const std::string &  branchName)
inline

Definition at line 58 of file FairMCStage.h.

void FairMCStage::SetFileName ( const std::string &  fileName)
inline

Definition at line 59 of file FairMCStage.h.

void FairMCStage::SetFill ( Bool_t  fill)
inline

Definition at line 62 of file FairMCStage.h.

void FairMCStage::SetLoaded ( Bool_t  loaded)
inline

Definition at line 61 of file FairMCStage.h.

void FairMCStage::SetWeight ( Double_t  weight)
inline

Definition at line 60 of file FairMCStage.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FairMCStage stage 
)
friend

Definition at line 78 of file FairMCStage.h.


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