HIPO4 C++ Library 4.4.1
Columnar I/O library for CLAS12 physics data
Loading...
Searching...
No Matches
hipo::chain_event Class Reference

Event wrapper that provides bank access via dictionary. More...

#include <chain.h>

Public Member Functions

 chain_event ()
 
 chain_event (event *ev, dictionary *dict)
 
bank getBank (const std::string &name)
 Get a bank by name, reading it from the event.
 
bank get_bank (const std::string &name)
 Alias for getBank (snake_case)
 
void readBanks (banklist &list)
 Read event data into an existing banklist.
 
void read_banks (banklist &list)
 Alias for readBanks (snake_case)
 
eventraw ()
 Access underlying event.
 
const eventraw () const
 
 operator bool () const
 Check if valid.
 

Detailed Description

Event wrapper that provides bank access via dictionary.

Constructor & Destructor Documentation

◆ chain_event() [1/2]

hipo::chain_event::chain_event ( )
inline

◆ chain_event() [2/2]

hipo::chain_event::chain_event ( event ev,
dictionary dict 
)
inline

Member Function Documentation

◆ getBank()

bank hipo::chain_event::getBank ( const std::string &  name)
inline

Get a bank by name, reading it from the event.

◆ get_bank()

bank hipo::chain_event::get_bank ( const std::string &  name)
inline

Alias for getBank (snake_case)

◆ readBanks()

void hipo::chain_event::readBanks ( banklist list)
inline

Read event data into an existing banklist.

◆ read_banks()

void hipo::chain_event::read_banks ( banklist list)
inline

Alias for readBanks (snake_case)

◆ raw() [1/2]

event * hipo::chain_event::raw ( )
inline

Access underlying event.

◆ raw() [2/2]

const event * hipo::chain_event::raw ( ) const
inline

◆ operator bool()

hipo::chain_event::operator bool ( ) const
inlineexplicit

Check if valid.


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