| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implements the gsi mbs stream server into the
go4 classes. This is an alias for the MbsSource
Class with parameter GETEVT__FILE
Field Summary | |
private Bool_t | fbFileOpen This indicates if the current file is open or not |
Bool_t | fbFirstEvent |
private Bool_t | fbMultipleMode kTRUE if multiple input mode is active |
private Bool_t | fbWildcardMode kTRUE if wildcard input mode is active |
const static const Text_t[] | fgcFILELISTSUF standard suffix for list of listmode files |
const static const Text_t[] | fgcLMDSUF standard suffix for listmode data files |
const static const Text_t[] | fgcNOTAGFILE string to indicate that no lmd tagfile is chosen |
const static const Text_t[] | fgcWILDFILE Filename of default multi input file from wildcard evaluation |
private TString | fxCurrentFile Currently processed file (for multiple input mode) |
private TString | fxCurrentTag Currently processed tagfile (for multiple input mode) |
private std::ifstream* | fxMultiFile file that contains the list of mbs filenames. format should be: "filename.lmd tagfilename" for each line. |
private TString | fxMultiName Currently processed multiple input filename (for multiple input mode) |
private TString | fxTagFile Name of the tagfile associated with the listmode event file. |
Fields inherited from class Go4EventServer.TGo4MbsSource |
fbDataCopyMode, fbIsOpen, fguEVHEBYCHAR, fguLONGBYCHAR, fguLONGBYSHORT, fguSHORTBYCHAR, fiTimeout, fuEventCounter, fuEventInterval, fuStartEvent, fuStopEvent, fxBuffer, fxEvent, fxInfoHeader, fxInputChannel, fxPrEventPar |
Fields inherited from interface Go4Event.TGo4EventSource |
fgiTIMEOUTDEFAULT, fguTXTLEN |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
TGo4MbsFile(const char * name) | |
TGo4MbsFile() | |
TGo4MbsFile(TGo4MbsFileParameter* par) |
Destructor Summary | |
~TGo4MbsFile() |
Method Summary | |
virtual Int_t | Close() Close the file or connection. |
private Int_t | CloseFile() Close current file/tagfile. |
const const char * | GetCurrentFileName() |
const const char * | GetCurrentTagName() |
const const char * | GetTagName() Name of the Tagfile |
private Int_t | NewFileAction(Bool_t dosave) Called whenever new file is opened in multiple mode. |
virtual Int_t | NextEvent() Requests the next event from mbs source. |
private Int_t | NextFile() For multiple input mode: Open next file in list. |
virtual Int_t | Open() Open the file or connection. |
private Int_t | OpenFile() Open current file/tagfile. |
Methods inherited from class Go4EventServer.TGo4MbsSource |
BuildMbsEvent, GetBufferHeader, GetInfoHeader, SetDataCopyMode, SetEventInterval, SetPrintEvent, SetStartEvent, SetStopEvent, SetTimeout |
Methods inherited from interface Go4Event.TGo4EventSource |
Clear, GetCreateStatus, GetErrMess, GetEventStatus, SetCreateStatus, SetErrMess, SetEventStatus, ThrowError |
Methods inherited from class TNamed |
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
Field Detail |
private Bool_t fbFileOpen
public Bool_t fbFirstEvent
private Bool_t fbMultipleMode
private Bool_t fbWildcardMode
public const static const Text_t[] fgcFILELISTSUF
public const static const Text_t[] fgcLMDSUF
public const static const Text_t[] fgcNOTAGFILE
public const static const Text_t[] fgcWILDFILE
private TString fxCurrentFile
private TString fxCurrentTag
private std::ifstream* fxMultiFile
private TString fxMultiName
private TString fxTagFile
Constructor Detail |
public TGo4MbsFile(const char * name)
public TGo4MbsFile()
public TGo4MbsFile(TGo4MbsFileParameter* par)
Method Detail |
public synchronized ~TGo4MbsFile()
Method Detail |
public virtual Int_t Close()
private Int_t CloseFile()
public const const char * GetCurrentFileName()
public const const char * GetCurrentTagName()
public const const char * GetTagName()
private Int_t NewFileAction(Bool_t dosave)
public virtual Int_t NextEvent()
private Int_t NextFile()
public virtual Int_t Open()
private Int_t OpenFile()
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |