HIPO  4.3.0
High Performance Output data format for experimental physics
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. More...
 
bank get_bank (const std::string &name)
 Alias for getBank (snake_case) More...
 
eventraw ()
 Access underlying event. More...
 
const eventraw () const
 
 operator bool () const
 Check if valid. More...
 

Detailed Description

Event wrapper that provides bank access via dictionary.

Definition at line 142 of file chain.h.

Constructor & Destructor Documentation

◆ chain_event() [1/2]

hipo::chain_event::chain_event ( )
inline

Definition at line 144 of file chain.h.

◆ chain_event() [2/2]

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

Definition at line 145 of file chain.h.

Member Function Documentation

◆ get_bank()

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

Alias for getBank (snake_case)

Definition at line 158 of file chain.h.

◆ getBank()

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

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

Definition at line 148 of file chain.h.

◆ operator bool()

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

Check if valid.

Definition at line 165 of file chain.h.

◆ raw() [1/2]

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

Access underlying event.

Definition at line 161 of file chain.h.

◆ raw() [2/2]

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

Definition at line 162 of file chain.h.


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