Project
Loading...
Searching...
No Matches
o2::phos::RingBuffer Class Reference

#include <RingBuffer.h>

Public Member Functions

 RingBuffer ()=default
 
 ~RingBuffer ()=default
 
short size ()
 
void addEntry (TLorentzVector &v)
 
const TLorentzVector & getEntry (short index) const
 
void startNewEvent ()
 
bool isCurrentEvent (short index) const
 

Detailed Description

Definition at line 28 of file RingBuffer.h.

Constructor & Destructor Documentation

◆ RingBuffer()

o2::phos::RingBuffer::RingBuffer ( )
default

◆ ~RingBuffer()

o2::phos::RingBuffer::~RingBuffer ( )
default

Member Function Documentation

◆ addEntry()

void o2::phos::RingBuffer::addEntry ( TLorentzVector &  v)
inline

Definition at line 42 of file RingBuffer.h.

◆ getEntry()

const TLorentzVector & o2::phos::RingBuffer::getEntry ( short  index) const
inline

Definition at line 51 of file RingBuffer.h.

◆ isCurrentEvent()

bool o2::phos::RingBuffer::isCurrentEvent ( short  index) const
inline

Definition at line 63 of file RingBuffer.h.

◆ size()

short o2::phos::RingBuffer::size ( )
inline

Definition at line 34 of file RingBuffer.h.

◆ startNewEvent()

void o2::phos::RingBuffer::startNewEvent ( )
inline

Definition at line 61 of file RingBuffer.h.


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