GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
MBS file parameter. More...
#include <TGo4MbsFileParameter.h>
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. | |
![]() | |
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. | |
![]() | |
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) |
![]() | |
TGo4Parameter () | |
TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object") | |
virtual | ~TGo4Parameter () |
void | Clear (Option_t *opt="") override |
TGo4ParameterStatus * | CreateStatus () |
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 | |
![]() | |
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) |
MBS file parameter.
Definition at line 26 of file TGo4MbsFileParameter.h.
TGo4MbsFileParameter::TGo4MbsFileParameter | ( | ) |
Definition at line 24 of file TGo4MbsFileParameter.cxx.
References TGo4MbsSourceParameter::TGo4MbsSourceParameter(), SetTagName(), and TGo4MbsFile__fgcNOTAGFILE.
Referenced by UpdateFrom().
TGo4MbsFileParameter::TGo4MbsFileParameter | ( | const char * | name | ) |
Definition at line 30 of file TGo4MbsFileParameter.cxx.
References TGo4MbsSourceParameter::TGo4MbsSourceParameter(), GO4EV_MBS_FILE, SetTagName(), and TGo4MbsFile__fgcNOTAGFILE.
|
virtual |
Definition at line 36 of file TGo4MbsFileParameter.cxx.
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().
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().
|
inline |
Name of the Tagfile.
Definition at line 35 of file TGo4MbsFileParameter.h.
References fxTagFile.
Referenced by TGo4MbsFile::TGo4MbsFile(), Print(), and TGo4ConfigStep::SourceComboHighlighted().
|
inline |
Number of more file names in parameter.
Definition at line 49 of file TGo4MbsFileParameter.h.
References fxMoreFiles.
Referenced by TGo4MbsFile::TGo4MbsFile().
|
override |
Definition at line 53 of file TGo4MbsFileParameter.cxx.
References GetTagName(), TGo4MbsSourceParameter::Print(), and TGo4Status::PrintLine().
|
inline |
Name of the Tagfile.
Definition at line 38 of file TGo4MbsFileParameter.h.
References fxTagFile.
Referenced by TGo4MbsFileParameter(), TGo4MbsFileParameter(), TGo4ConfigStep::InputTagfile(), TGo4Interface::StepMbsFileSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
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().
|
private |
List of extra files names, specified in the go4analysis.
Definition at line 60 of file TGo4MbsFileParameter.h.
Referenced by AddMoreFile(), GetMoreName(), and NumMoreFiles().
|
private |
Name of the tagfile associated with the listmode event file.
Definition at line 57 of file TGo4MbsFileParameter.h.
Referenced by GetTagName(), and SetTagName().