FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairSource Class Referenceabstract

#include <FairSource.h>

Inheritance diagram for FairSource:
FairFileSource FairMixedSource FairOnlineSource PixelDigiBinSource PixelDigiSource FairMbsSource FairLmdSource FairMbsStreamSource FairRemoteSource

Public Member Functions

 FairSource ()
 
 FairSource (const FairSource &source)
 
virtual ~FairSource ()
 
virtual Bool_t Init ()=0
 
virtual Int_t ReadEvent (UInt_t=0)=0
 
virtual Bool_t SpecifyRunId ()=0
 
virtual void Close ()=0
 
virtual void Reset ()=0
 
virtual Bool_t ActivateObject (TObject **, const char *)
 
virtual Bool_t ActivateObjectAny (void **, const std::type_info &, const char *)
 
virtual Source_Type GetSourceType ()=0
 
virtual void SetParUnpackers ()=0
 
virtual Bool_t InitUnpackers ()=0
 
virtual Bool_t ReInitUnpackers ()=0
 
virtual Int_t CheckMaxEventNo (Int_t=0)
 
virtual void ReadBranchEvent (const char *)
 
virtual void ReadBranchEvent (const char *, Int_t)
 
virtual void FillEventHeader (FairEventHeader *feh)
 
void SetRunId (Int_t runId)
 
Int_t GetRunId () const
 
 ClassDef (FairSource, 2)
 

Protected Attributes

Int_t fRunId
 

Detailed Description

Definition at line 32 of file FairSource.h.

Constructor & Destructor Documentation

FairSource::FairSource ( )

Definition at line 19 of file FairSource.cxx.

FairSource::FairSource ( const FairSource source)

Definition at line 24 of file FairSource.cxx.

FairSource::~FairSource ( )
virtual

Definition at line 29 of file FairSource.cxx.

Member Function Documentation

virtual Bool_t FairSource::ActivateObject ( TObject **  ,
const char *   
)
inlinevirtual

Reimplemented in FairFileSource, FairMixedSource, PixelDigiBinSource, and PixelDigiSource.

Definition at line 43 of file FairSource.h.

virtual Bool_t FairSource::ActivateObjectAny ( void **  ,
const std::type_info &  ,
const char *   
)
inlinevirtual

Reimplemented in FairFileSource, and FairMixedSource.

Definition at line 44 of file FairSource.h.

virtual Int_t FairSource::CheckMaxEventNo ( Int_t  = 0)
inlinevirtual

Check the maximum event number we can run to

Reimplemented in FairMixedSource, FairFileSource, PixelDigiBinSource, and PixelDigiSource.

Definition at line 50 of file FairSource.h.

FairSource::ClassDef ( FairSource  ,
 
)
void FairSource::FillEventHeader ( FairEventHeader feh)
virtual

Reimplemented in FairMixedSource, FairFileSource, PixelDigiBinSource, and PixelDigiSource.

Definition at line 31 of file FairSource.cxx.

Int_t FairSource::GetRunId ( ) const
inline

Definition at line 56 of file FairSource.h.

virtual Source_Type FairSource::GetSourceType ( )
pure virtual
virtual Bool_t FairSource::InitUnpackers ( )
pure virtual
virtual void FairSource::ReadBranchEvent ( const char *  )
inlinevirtual

Read the tree entry on one branch

Reimplemented in FairMixedSource, and FairFileSource.

Definition at line 52 of file FairSource.h.

virtual void FairSource::ReadBranchEvent ( const char *  ,
Int_t   
)
inlinevirtual

Reimplemented in FairMixedSource, and FairFileSource.

Definition at line 53 of file FairSource.h.

virtual Int_t FairSource::ReadEvent ( UInt_t  = 0)
pure virtual
virtual Bool_t FairSource::ReInitUnpackers ( )
pure virtual
virtual void FairSource::Reset ( )
pure virtual
virtual void FairSource::SetParUnpackers ( )
pure virtual
void FairSource::SetRunId ( Int_t  runId)
inline

Definition at line 55 of file FairSource.h.

virtual Bool_t FairSource::SpecifyRunId ( )
pure virtual

Member Data Documentation

Int_t FairSource::fRunId
protected

Definition at line 59 of file FairSource.h.


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