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
erhic::FileType Class Referenceabstract

Abstract base class for Monte Carlo file types. More...

#include <File.h>

Inheritance diagram for erhic::FileType:
erhic::File< T >

Public Member Functions

virtual ~FileType ()
 Destructor. More...
 
virtual FileTypeCreate () const =0
 Returns a new FileType instance. More...
 
virtual EventBaseAllocateEvent () const =0
 Returns a new event object for the generator making this type of file. More...
 
virtual std::string GetGeneratorName () const =0
 Returns the name of the generator making this type of file. More...
 
virtual LogReaderCreateLogReader () const =0
 Returns a reader to process the log file corresponding to this type of file. More...
 
virtual VirtualEventFactoryCreateEventFactory (std::istream &) const =0
 Returns a new event object for the generator making this type of file. More...
 

Detailed Description

Abstract base class for Monte Carlo file types.

Describes a Monte Carlo file type and returns objects required for processing or analysis of that file type.

Definition at line 424 of file File.h.

Constructor & Destructor Documentation

◆ ~FileType()

virtual erhic::FileType::~FileType ( )
inlinevirtual

Destructor.

Definition at line 429 of file File.h.

Member Function Documentation

◆ AllocateEvent()

virtual EventBase* erhic::FileType::AllocateEvent ( ) const
pure virtual

Returns a new event object for the generator making this type of file.

Implemented in erhic::File< T >.

◆ Create()

virtual FileType* erhic::FileType::Create ( ) const
pure virtual

Returns a new FileType instance.

Implemented in erhic::File< T >.

◆ CreateEventFactory()

virtual VirtualEventFactory* erhic::FileType::CreateEventFactory ( std::istream &  ) const
pure virtual

Returns a new event object for the generator making this type of file.

Implemented in erhic::File< T >.

◆ CreateLogReader()

virtual LogReader* erhic::FileType::CreateLogReader ( ) const
pure virtual

Returns a reader to process the log file corresponding to this type of file.

Implemented in erhic::File< T >.

◆ GetGeneratorName()

virtual std::string erhic::FileType::GetGeneratorName ( ) const
pure virtual

Returns the name of the generator making this type of file.

Implemented in erhic::File< T >.


The documentation for this class was generated from the following file: