EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
JEventSourceManagedPODIO Class Reference

#include <JEventSourceManagedPODIO.h>

Inheritance diagram for JEventSourceManagedPODIO:
Inheritance graph
[legend]
Collaboration diagram for JEventSourceManagedPODIO:
Collaboration graph
[legend]

Public Member Functions

 JEventSourceManagedPODIO (std::string resource_name, JApplication *app)
 
virtual ~JEventSourceManagedPODIO ()
 
void Open () override
 
void Close () override
 
Result Emit (JEvent &event) override
 
void SetCurrentFile (const std::string &input_file)
 
bool IsFileProcessingComplete () const
 
std::size_t GetNeventsInFile () const
 
void ResetReader ()
 
- Public Member Functions inherited from JEventSourcePODIO
 JEventSourcePODIO (std::string resource_name, JApplication *app)
 
virtual ~JEventSourcePODIO ()
 
void Open () override
 Open the root file and read in metadata.
 
void Close () override
 
Result Emit (JEvent &event) override
 
void PrintCollectionTypeTable (void)
 
std::vector< std::string_view > getAvailableCategories () const
 
std::size_t getEntries (const std::string &category) const
 
podio::Frame getFrame (const std::string &category, std::size_t index) const
 

Static Public Member Functions

static std::string GetDescription ()
 
- Static Public Member Functions inherited from JEventSourcePODIO
static std::string GetDescription ()
 

Additional Inherited Members

- Protected Attributes inherited from JEventSourcePODIO
std::unique_ptr< podio::Reader > m_reader
 
std::size_t Nevents_in_file = 0
 
std::size_t Nevents_read = 0
 
bool m_run_forever = false
 
bool m_use_event_headers = true
 
std::shared_ptr< spdlog::logger > m_log
 

Constructor & Destructor Documentation

◆ JEventSourceManagedPODIO()

JEventSourceManagedPODIO::JEventSourceManagedPODIO ( std::string  resource_name,
JApplication app 
)

◆ ~JEventSourceManagedPODIO()

JEventSourceManagedPODIO::~JEventSourceManagedPODIO ( )
virtual

Member Function Documentation

◆ Close()

void JEventSourceManagedPODIO::Close ( )
override

◆ Emit()

JEventSourceManagedPODIO::Result JEventSourceManagedPODIO::Emit ( JEvent &  event)
override

◆ GetDescription()

std::string JEventSourceManagedPODIO::GetDescription ( )
static

◆ GetNeventsInFile()

std::size_t JEventSourceManagedPODIO::GetNeventsInFile ( ) const
inline

◆ IsFileProcessingComplete()

bool JEventSourceManagedPODIO::IsFileProcessingComplete ( ) const
inline

◆ Open()

void JEventSourceManagedPODIO::Open ( )
override

◆ ResetReader()

void JEventSourceManagedPODIO::ResetReader ( )

◆ SetCurrentFile()

void JEventSourceManagedPODIO::SetCurrentFile ( const std::string &  input_file)

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