EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/File.h>
Public Member Functions | |
File () | |
virtual | ~File () |
virtual File< T > * | Create () const |
virtual T * | AllocateEvent () const |
virtual LogReader * | CreateLogReader () const |
virtual EventFromAsciiFactory < T > * | CreateEventFactory (std::istream &is) const |
Public Member Functions inherited from erhic::FileType | |
virtual | ~FileType () |
virtual std::string | GetGeneratorName () const |
virtual void | SetGeneratorName (const std::string newname="") |
Protected Attributes | |
T * | t_ |
Protected Attributes inherited from erhic::FileType | |
std::string | generatorname |
Definition at line 478 of file File.h.
View newest version in sPHENIX GitHub at line 478 of file File.h
erhic::File< T >::File | ( | ) |
Constructor.
If the string argument is not empty, the File attempts to open a file with that name. If the file is opened it tries to extract
Definition at line 493 of file File.cxx.
View newest version in sPHENIX GitHub at line 493 of file File.cxx
References erhic::FileType::generatorname, name, and erhic::File< T >::t_.
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Returns a new event factory instance.
Implements erhic::FileType.
Definition at line 515 of file File.h.
View newest version in sPHENIX GitHub at line 515 of file File.h
|
virtual |
Create a LogReader for this type of Monte Carlo file. Returns NULL if the file type is unsupported or has no LogReader class implemented. The LogReader must be deleted by the user.
Implements erhic::FileType.
Definition at line 533 of file File.cxx.
View newest version in sPHENIX GitHub at line 533 of file File.cxx
References erhic::LogReaderFactory::CreateReader(), and erhic::LogReaderFactory::GetInstance().
|
protected |
Definition at line 520 of file File.h.
View newest version in sPHENIX GitHub at line 520 of file File.h
Referenced by erhic::File< T >::File().