|
eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
Factory class for Files. More...
#include <File.h>
Public Member Functions | |
| const FileType * | GetFile (const std::string &generatorName) const |
| Returns a FileType object for the named generator. More... | |
| const FileType * | GetFile (std::istream &) const |
| Returns a FileType object, determining the generator type from a stream. More... | |
Static Public Member Functions | |
| static FileFactory & | GetInstance () |
| Returns the single instance of FileFactory. More... | |
Protected Types | |
| typedef std::map< std::string, FileType * > | Map |
Protected Member Functions | |
| FileFactory () | |
| Constructor. More... | |
| virtual | ~FileFactory () |
| Destructor. More... | |
Protected Attributes | |
| Map | prototypes_ |
|
protected |
|
protectedvirtual |
| const FileType * erhic::FileFactory::GetFile | ( | const std::string & | generatorName | ) | const |
| const FileType * erhic::FileFactory::GetFile | ( | std::istream & | is | ) | const |
|
static |
Returns the single instance of FileFactory.