19#include <hipo4/bank.h>
24 class event :
public hipo::bank {
30 event(hipo::schema __schema);
34 long getCategory() const noexcept{
return getLong(_cat_order,0); }
35 long getTopology() const noexcept{
return getLong(_top_order,0); }
37 int getHelicity() const noexcept{
return getByte(_hel_order,0); }
39 float getStartTime() const noexcept{
return getFloat(_st_order,0); }
40 float getRFTime() const noexcept{
return getFloat(_rf_order,0); }
41 float getProcTime() const noexcept{
return getFloat(_pt_order,0); }
42 double getLiveTime() const noexcept{
return getDouble(_lt_order,0); }
44 float getFTBStartTime() const noexcept{
if(_ftev)
return _ftev->getStartTime();
return 0; }
float getFTBStartTime() const noexcept
Definition event.h:44
float getStartTime() const noexcept
Definition event.h:39
void setEntry(int ind) const
Definition event.h:54
long getTopology() const noexcept
Definition event.h:35
float getBeamCharge() const noexcept
Definition event.h:36
int getHelicityRaw() const noexcept
Definition event.h:38
double getLiveTime() const noexcept
Definition event.h:42
float getRFTime() const noexcept
Definition event.h:40
long getCategory() const noexcept
Definition event.h:34
void setBankEntry(int ind)
Definition event.h:55
float getProcTime() const noexcept
Definition event.h:41
event(hipo::schema __schema)
Definition event.cpp:26
int getHelicity() const noexcept
Definition event.h:37
void notify() final
Definition event.h:51
Definition calextras.cpp:10
std::unique_ptr< clas12::event > event_uptr
Definition event.h:75
clas12::event * event_ptr
Definition event.h:74
clas12::ftbevent * ftbevent_ptr
Definition ftbevent.h:55