42 Int_t
Close()
override;
45 Int_t
Open()
override;
71 void AddFileName(
const char *name,
const char *tagname =
nullptr,
bool isonly = kFALSE);
Implements the gsi mbs lmd file source.
const char * GetActiveName() const override
interface from eventsource base class to give active file
static const char * fgcFILELISTSUF
standard suffix for list of listmode files
Int_t NextEvent() override
Requests the next event from mbs source.
static const char * fgcNOTAGFILE
string to indicate that no lmd tagfile is chosen
Int_t Open() override
Open the file or connection.
TString fxCurrentFile
Currently processed file (for multiple input mode)
const char * GetTagName() const
Name of the Tagfile.
Int_t NewFileAction(Bool_t dosave=kTRUE)
Called whenever new file is opened in multiple mode.
Bool_t fbFileOpen
This indicates if the current file is open or not.
TList * fxMultiFile
file that contains the list of mbs filenames.
void AddFileName(const char *name, const char *tagname=nullptr, bool isonly=kFALSE)
TString fxCurrentTag
Currently processed tagfile (for multiple input mode)
static const char * fgcLMDSUF
standard suffix for listmode data files
const char * GetCurrentTagName() const
TGo4MbsFile(const char *name)
Int_t NextFile()
For multiple input mode: Open next file in list.
Int_t Close() override
Close the file or connection.
Int_t OpenFile()
Open current file/tagfile.
Int_t CloseFile()
Close current file/tagfile.
const char * GetCurrentFileName() const
TString fxTagFile
Name of the tagfile associated with the listmode event file.
Bool_t fbShowInfo
Indicates if mbs file should show information about new open file.
TGo4MbsSource()
default for streamer