GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
iThembaDataLibrary.cxx
Go to the documentation of this file.
1#include <string>
2
3#include "TClassRef.h"
4
5#include "TTdrFile.h"
6#include "TTdrDataParser.h"
7#include "iThembaDataVersion.h"
8#include "TChannel.h"
9#include "TTdrMnemonic.h"
10
11extern "C" TTdrFile* CreateFile(std::string& fileName) { return new TTdrFile(fileName.c_str()); }
12extern "C" void DestroyFile(TTdrFile* obj) { delete obj; }
13
14extern "C" TTdrDataParser* CreateParser() { return new TTdrDataParser; }
15extern "C" void DestroyParser(TTdrDataParser* obj) { delete obj; }
16
17extern "C" std::string LibraryVersion() { return std::string(ITHEMBADATA_RELEASE); }
18
19extern "C" void InitLibrary() { TChannel::SetMnemonicClass(TClassRef("TTdrMnemonic")); }
static void SetMnemonicClass(const TClassRef &cls)
Definition TChannel.h:80
Reader for MIDAS .mid files.
Definition TTdrFile.h:32
TTdrDataParser * CreateParser()
TTdrFile * CreateFile(std::string &fileName)
void InitLibrary()
void DestroyFile(TTdrFile *obj)
void DestroyParser(TTdrDataParser *obj)
std::string LibraryVersion()