GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4MbsFileParameter Class Reference

MBS file parameter. More...

#include <TGo4MbsFileParameter.h>

+ Inheritance diagram for TGo4MbsFileParameter:

Public Member Functions

 TGo4MbsFileParameter ()
 
 TGo4MbsFileParameter (const char *name)
 
virtual ~TGo4MbsFileParameter ()
 
void AddMoreFile (const char *more)
 Add more file names in to the parameter.
 
const char * GetMoreName (Int_t n) const
 Returns name of extra files names, configured in the parameter.
 
const char * GetTagName () const
 Name of the Tagfile.
 
Int_t NumMoreFiles () const
 Number of more file names in parameter.
 
void Print (Option_t *opt="") const override
 
void SetTagName (const char *name)
 Name of the Tagfile.
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4MbsSourceParameter
 TGo4MbsSourceParameter ()
 
 TGo4MbsSourceParameter (const char *name, Int_t id)
 
virtual ~TGo4MbsSourceParameter ()
 
UInt_t GetEventInterval () const
 Returns event interval.
 
Int_t GetPort () const
 Return optional port number, 0 or negative value means that default port number will be used.
 
Int_t GetRetryCnt () const
 Return allowed number of reconnection retries.
 
UInt_t GetStartEvent () const
 Returns the Start index for the NextEvent.
 
UInt_t GetStopEvent () const
 Returns the index of Stop event.
 
void Print (Option_t *opt="") const override
 basic method to printout object
 
void SetEventInterval (UInt_t skipinterval)
 Defines event interval.
 
void SetPort (Int_t port)
 Set optional port number, 0 or negative value means that default port number will be used.
 
void SetRetryCnt (Int_t cnt)
 Set number of allowed reconnection retries.
 
void SetStartEvent (UInt_t firstindex)
 Define the Start index for the NextEvent.
 
void SetStopEvent (UInt_t lastindex)
 Define the index of Stop event.
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4EventSourceParameter
 TGo4EventSourceParameter ()
 
 TGo4EventSourceParameter (const char *name, Int_t id=0)
 
virtual ~TGo4EventSourceParameter ()
 
Int_t GetID () const
 
Int_t GetTimeout () const
 
void Print (Option_t *opt="") const override
 
void SetTimeout (Int_t out)
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
void Clear (Option_t *opt="") override
 
TGo4ParameterStatusCreateStatus ()
 Creates parameter status object.
 
virtual Bool_t CustomUpdateFrom () const
 Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other.
 
void GetMemberValues (TObjArray *fItems)
 
void Print (Option_t *opt="") const override
 
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED!
 
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 Standard way to store parameter in form of macro,.
 
Bool_t SetMemberValues (TObjArray *fItems)
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 Set status object - apply member values to the parameter.
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 Method used by HTTP server to update some fields, specified in URL syntax.
 

Private Attributes

TObjArray fxMoreFiles
 List of extra files names, specified in the go4analysis.
 
TString fxTagFile
 Name of the tagfile associated with the listmode event file.
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Parameter
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
 
void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
 
Bool_t SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset)
 

Detailed Description

MBS file parameter.

Definition at line 26 of file TGo4MbsFileParameter.h.

Constructor & Destructor Documentation

◆ TGo4MbsFileParameter() [1/2]

TGo4MbsFileParameter::TGo4MbsFileParameter ( )

◆ TGo4MbsFileParameter() [2/2]

TGo4MbsFileParameter::TGo4MbsFileParameter ( const char * name)

◆ ~TGo4MbsFileParameter()

TGo4MbsFileParameter::~TGo4MbsFileParameter ( )
virtual

Definition at line 36 of file TGo4MbsFileParameter.cxx.

Member Function Documentation

◆ AddMoreFile()

void TGo4MbsFileParameter::AddMoreFile ( const char * more)

Add more file names in to the parameter.

Definition at line 40 of file TGo4MbsFileParameter.cxx.

References TGo4Log::Debug(), and fxMoreFiles.

Referenced by main().

◆ GetMoreName()

const char * TGo4MbsFileParameter::GetMoreName ( Int_t n) const

Returns name of extra files names, configured in the parameter.

Definition at line 48 of file TGo4MbsFileParameter.cxx.

References fxMoreFiles.

Referenced by TGo4MbsFile::TGo4MbsFile().

◆ GetTagName()

const char * TGo4MbsFileParameter::GetTagName ( ) const
inline

Name of the Tagfile.

Definition at line 35 of file TGo4MbsFileParameter.h.

References fxTagFile.

Referenced by TGo4MbsFile::TGo4MbsFile(), Print(), and TGo4ConfigStep::SourceComboHighlighted().

◆ NumMoreFiles()

Int_t TGo4MbsFileParameter::NumMoreFiles ( ) const
inline

Number of more file names in parameter.

Definition at line 49 of file TGo4MbsFileParameter.h.

References fxMoreFiles.

Referenced by TGo4MbsFile::TGo4MbsFile().

◆ Print()

void TGo4MbsFileParameter::Print ( Option_t * opt = "") const
override

◆ SetTagName()

void TGo4MbsFileParameter::SetTagName ( const char * name)
inline

◆ UpdateFrom()

Bool_t TGo4MbsFileParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventSourceParameter.

Definition at line 59 of file TGo4MbsFileParameter.cxx.

References TGo4MbsFileParameter(), TGo4Parameter::TGo4Parameter(), SetTagName(), and TGo4MbsSourceParameter::UpdateFrom().

Field Documentation

◆ fxMoreFiles

TObjArray TGo4MbsFileParameter::fxMoreFiles
private

List of extra files names, specified in the go4analysis.

Definition at line 60 of file TGo4MbsFileParameter.h.

Referenced by AddMoreFile(), GetMoreName(), and NumMoreFiles().

◆ fxTagFile

TString TGo4MbsFileParameter::fxTagFile
private

Name of the tagfile associated with the listmode event file.

Definition at line 57 of file TGo4MbsFileParameter.h.

Referenced by GetTagName(), and SetTagName().


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