CbmRoot
NicaUnigenSource Class Reference

#include <NicaUnigenSource.h>

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

Public Member Functions

 NicaUnigenSource ()
 
 NicaUnigenSource (TString inFile)
 
 NicaUnigenSource (const NicaUnigenSource &source)=delete
 
NicaUnigenSourceoperator= (const NicaUnigenSource &)=delete
 
virtual void Boost (Double_t vx, Double_t vy, Double_t vz)
 
virtual ~NicaUnigenSource ()
 
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 *)
 
void SetRunId (Int_t runId)
 
Int_t GetRunId () const
 

Private Attributes

TChain * fUnigenChain
 
TString fFileName
 
UEventfEvent
 

Detailed Description

class only for reading pure unigen files

Definition at line 18 of file NicaUnigenSource.h.

Constructor & Destructor Documentation

◆ NicaUnigenSource() [1/3]

NicaUnigenSource::NicaUnigenSource ( )

defaut constructor should not be used

Definition at line 18 of file NicaUnigenSource.cxx.

◆ NicaUnigenSource() [2/3]

NicaUnigenSource::NicaUnigenSource ( TString  inFile)

main constructor

Parameters
inFileunigen file

Definition at line 21 of file NicaUnigenSource.cxx.

◆ NicaUnigenSource() [3/3]

NicaUnigenSource::NicaUnigenSource ( const NicaUnigenSource source)
delete

copy constructor

Parameters
source

◆ ~NicaUnigenSource()

NicaUnigenSource::~NicaUnigenSource ( )
virtual

Definition at line 24 of file NicaUnigenSource.cxx.

References fUnigenChain.

Member Function Documentation

◆ ActivateObject()

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

Definition at line 45 of file NicaUnigenSource.h.

◆ Boost()

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

◆ CheckMaxEventNo()

Int_t NicaUnigenSource::CheckMaxEventNo ( Int_t  = 0)
virtual

Definition at line 86 of file NicaUnigenSource.cxx.

References fUnigenChain.

◆ Close()

void NicaUnigenSource::Close ( )
virtual

Definition at line 72 of file NicaUnigenSource.cxx.

◆ FillEventHeader()

virtual void NicaUnigenSource::FillEventHeader ( FairEventHeader *  )
inlinevirtual

Definition at line 53 of file NicaUnigenSource.h.

◆ GetRunId()

Int_t NicaUnigenSource::GetRunId ( ) const
inline

Definition at line 55 of file NicaUnigenSource.h.

◆ GetSourceType()

virtual Source_Type NicaUnigenSource::GetSourceType ( )
inlinevirtual

Definition at line 46 of file NicaUnigenSource.h.

◆ Init()

Bool_t NicaUnigenSource::Init ( )
virtual

Definition at line 28 of file NicaUnigenSource.cxx.

References fEvent, fFileName, and fUnigenChain.

◆ InitUnpackers()

virtual Bool_t NicaUnigenSource::InitUnpackers ( )
inlinevirtual

Definition at line 48 of file NicaUnigenSource.h.

◆ operator=()

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

◆ ReadBranchEvent() [1/2]

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

Definition at line 51 of file NicaUnigenSource.h.

◆ ReadBranchEvent() [2/2]

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

Definition at line 52 of file NicaUnigenSource.h.

◆ ReadEvent()

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

Definition at line 65 of file NicaUnigenSource.cxx.

References fUnigenChain.

◆ ReInitUnpackers()

virtual Bool_t NicaUnigenSource::ReInitUnpackers ( )
inlinevirtual

Definition at line 49 of file NicaUnigenSource.h.

◆ Reset()

virtual void NicaUnigenSource::Reset ( )
inlinevirtual

Definition at line 44 of file NicaUnigenSource.h.

◆ SetParUnpackers()

virtual void NicaUnigenSource::SetParUnpackers ( )
inlinevirtual

Definition at line 47 of file NicaUnigenSource.h.

◆ SetRunId()

void NicaUnigenSource::SetRunId ( Int_t  runId)
inline

Definition at line 54 of file NicaUnigenSource.h.

Member Data Documentation

◆ fEvent

UEvent* NicaUnigenSource::fEvent
private

Definition at line 21 of file NicaUnigenSource.h.

Referenced by Boost(), and Init().

◆ fFileName

TString NicaUnigenSource::fFileName
private

Definition at line 20 of file NicaUnigenSource.h.

Referenced by Init().

◆ fUnigenChain

TChain* NicaUnigenSource::fUnigenChain
private

Definition at line 19 of file NicaUnigenSource.h.

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


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