EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
erhic::File< erhic::EventHepMC > Class Template Reference

#include <eic-smear/blob/master/include/eicsmear/erhic/File.h>

+ Inheritance diagram for erhic::File< erhic::EventHepMC >:
+ Collaboration diagram for erhic::File< erhic::EventHepMC >:

Public Member Functions

 File ()
 
virtual ~File ()
 
virtual File< erhic::EventHepMC > * Create () const
 
virtual erhic::EventHepMCAllocateEvent () const
 
virtual LogReaderCreateLogReader () const
 
EventFromAsciiFactory
< erhic::EventHepMC > * 
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

erhic::EventHepMCt_
 
- Protected Attributes inherited from erhic::FileType
std::string generatorname
 

Detailed Description

template<>
class erhic::File< erhic::EventHepMC >

Definition at line 528 of file File.h.

View newest version in sPHENIX GitHub at line 528 of file File.h

Constructor & Destructor Documentation

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 537 of file File.h.

View newest version in sPHENIX GitHub at line 537 of file File.h

virtual erhic::File< erhic::EventHepMC >::~File ( )
inlinevirtual

Destructor.

Definition at line 542 of file File.h.

View newest version in sPHENIX GitHub at line 542 of file File.h

Member Function Documentation

virtual erhic::EventHepMC* erhic::File< erhic::EventHepMC >::AllocateEvent ( ) const
inlinevirtual

Allocates an event of the type for this file.

Implements erhic::FileType.

Definition at line 554 of file File.h.

View newest version in sPHENIX GitHub at line 554 of file File.h

virtual File<erhic::EventHepMC>* erhic::File< erhic::EventHepMC >::Create ( ) const
inlinevirtual

Returns a new File object.

Implements erhic::FileType.

Definition at line 547 of file File.h.

View newest version in sPHENIX GitHub at line 547 of file File.h

EventFromAsciiFactory<erhic::EventHepMC>* erhic::File< erhic::EventHepMC >::CreateEventFactory ( std::istream &  ) const
inlinevirtual

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

Implements erhic::FileType.

Definition at line 566 of file File.h.

View newest version in sPHENIX GitHub at line 566 of file File.h

virtual LogReader* erhic::File< erhic::EventHepMC >::CreateLogReader ( ) const
inlinevirtual

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 564 of file File.h.

View newest version in sPHENIX GitHub at line 564 of file File.h

Member Data Documentation

Definition at line 569 of file File.h.

View newest version in sPHENIX GitHub at line 569 of file File.h


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