CbmRoot
Loading...
Searching...
No Matches
CbmUnigenSource Class Reference

#include <CbmUnigenSource.h>

Inheritance diagram for CbmUnigenSource:
[legend]
Collaboration diagram for CbmUnigenSource:
[legend]

Public Member Functions

 CbmUnigenSource ()
 
 CbmUnigenSource (TString inFile)
 
 CbmUnigenSource (const CbmUnigenSource &source)=delete
 
void PrintTreeInfo ()
 
void AddFile (TString name)
 
CbmUnigenSourceoperator= (const CbmUnigenSource &)=delete
 
virtual void Boost (Double_t vx, Double_t vy, Double_t vz)
 
virtual ~CbmUnigenSource ()
 
virtual Bool_t Init ()
 
virtual Int_t ReadEvent (UInt_t=0)
 
virtual void Close ()
 
virtual void Reset ()
 
virtual Bool_t ActivateObject (TObject **, const char *)
 
virtual Source_Type GetSourceType ()
 
virtual void SetParUnpackers ()
 
virtual Bool_t InitUnpackers ()
 
virtual Bool_t ReInitUnpackers ()
 
virtual Int_t CheckMaxEventNo (Int_t=0)
 
virtual void ReadBranchEvent (const char *)
 
virtual void ReadBranchEvent (const char *, Int_t)
 
virtual void FillEventHeader (FairEventHeader *)
 
virtual Bool_t SpecifyRunId ()
 
void SetRunId (Int_t runId)
 
Int_t GetRunId () const
 

Private Attributes

TChain * fUnigenChain
 
std::vector< TString > fFileName
 
UEventfEvent
 
Bool_t fPrintTreeInfo
 

Detailed Description

class only for reading pure unigen files

Definition at line 17 of file CbmUnigenSource.h.

Constructor & Destructor Documentation

◆ CbmUnigenSource() [1/3]

CbmUnigenSource::CbmUnigenSource ( )

defaut constructor should not be used

Definition at line 18 of file CbmUnigenSource.cxx.

◆ CbmUnigenSource() [2/3]

CbmUnigenSource::CbmUnigenSource ( TString inFile)

main constructor

Parameters
inFileunigen file

Definition at line 20 of file CbmUnigenSource.cxx.

References fFileName.

◆ CbmUnigenSource() [3/3]

CbmUnigenSource::CbmUnigenSource ( const CbmUnigenSource & source)
delete

copy constructor

Parameters
source

◆ ~CbmUnigenSource()

CbmUnigenSource::~CbmUnigenSource ( )
virtual

Definition at line 25 of file CbmUnigenSource.cxx.

Member Function Documentation

◆ ActivateObject()

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

Definition at line 47 of file CbmUnigenSource.h.

◆ AddFile()

void CbmUnigenSource::AddFile ( TString name)
inline

Definition at line 39 of file CbmUnigenSource.h.

References fFileName.

◆ Boost()

void CbmUnigenSource::Boost ( Double_t vx,
Double_t vy,
Double_t vz )
virtual

◆ CheckMaxEventNo()

Int_t CbmUnigenSource::CheckMaxEventNo ( Int_t = 0)
virtual

Definition at line 97 of file CbmUnigenSource.cxx.

References fUnigenChain.

◆ Close()

void CbmUnigenSource::Close ( )
virtual

Definition at line 82 of file CbmUnigenSource.cxx.

◆ FillEventHeader()

virtual void CbmUnigenSource::FillEventHeader ( FairEventHeader * )
inlinevirtual

Definition at line 55 of file CbmUnigenSource.h.

◆ GetRunId()

Int_t CbmUnigenSource::GetRunId ( ) const
inline

Definition at line 58 of file CbmUnigenSource.h.

◆ GetSourceType()

virtual Source_Type CbmUnigenSource::GetSourceType ( )
inlinevirtual

Definition at line 48 of file CbmUnigenSource.h.

◆ Init()

Bool_t CbmUnigenSource::Init ( )
virtual

Definition at line 31 of file CbmUnigenSource.cxx.

References fEvent, fFileName, fPrintTreeInfo, and fUnigenChain.

◆ InitUnpackers()

virtual Bool_t CbmUnigenSource::InitUnpackers ( )
inlinevirtual

Definition at line 50 of file CbmUnigenSource.h.

◆ operator=()

CbmUnigenSource & CbmUnigenSource::operator= ( const CbmUnigenSource & )
delete

◆ PrintTreeInfo()

void CbmUnigenSource::PrintTreeInfo ( )
inline

Definition at line 38 of file CbmUnigenSource.h.

References fPrintTreeInfo.

◆ ReadBranchEvent() [1/2]

virtual void CbmUnigenSource::ReadBranchEvent ( const char * )
inlinevirtual

Definition at line 53 of file CbmUnigenSource.h.

◆ ReadBranchEvent() [2/2]

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

Definition at line 54 of file CbmUnigenSource.h.

◆ ReadEvent()

Int_t CbmUnigenSource::ReadEvent ( UInt_t unsignedInt = 0)
virtual

Definition at line 74 of file CbmUnigenSource.cxx.

References fUnigenChain.

◆ ReInitUnpackers()

virtual Bool_t CbmUnigenSource::ReInitUnpackers ( )
inlinevirtual

Definition at line 51 of file CbmUnigenSource.h.

◆ Reset()

virtual void CbmUnigenSource::Reset ( )
inlinevirtual

Definition at line 46 of file CbmUnigenSource.h.

◆ SetParUnpackers()

virtual void CbmUnigenSource::SetParUnpackers ( )
inlinevirtual

Definition at line 49 of file CbmUnigenSource.h.

◆ SetRunId()

void CbmUnigenSource::SetRunId ( Int_t runId)
inline

Definition at line 57 of file CbmUnigenSource.h.

◆ SpecifyRunId()

Bool_t CbmUnigenSource::SpecifyRunId ( )
virtual

Definition at line 99 of file CbmUnigenSource.cxx.

Member Data Documentation

◆ fEvent

UEvent* CbmUnigenSource::fEvent
private

Definition at line 20 of file CbmUnigenSource.h.

Referenced by Boost(), and Init().

◆ fFileName

std::vector<TString> CbmUnigenSource::fFileName
private

Definition at line 19 of file CbmUnigenSource.h.

Referenced by AddFile(), CbmUnigenSource(), and Init().

◆ fPrintTreeInfo

Bool_t CbmUnigenSource::fPrintTreeInfo
private

Definition at line 21 of file CbmUnigenSource.h.

Referenced by Init(), and PrintTreeInfo().

◆ fUnigenChain

TChain* CbmUnigenSource::fUnigenChain
private

Definition at line 18 of file CbmUnigenSource.h.

Referenced by CheckMaxEventNo(), Init(), and ReadEvent().


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