Project
Loading...
Searching...
No Matches
o2::utils::IRFrameSelector Class Reference

#include <IRFrameSelector.h>

Public Member Functions

long check (o2::dataformats::IRFrame fr, size_t bwd=0, size_t fwd=0)
 
long check (const o2::InteractionRecord &ir, size_t bwd=0, size_t fwd=0)
 
gsl::span< const o2::dataformats::IRFramegetMatchingFrames (const o2::dataformats::IRFrame &fr)
 
template<typename SPAN >
void setSelectedIRFrames (const SPAN &sp, size_t bwd=0, size_t fwd=0, long shift=0, bool removeOverlaps=true)
 
void clear ()
 
size_t loadIRFrames (const std::string &fname)
 
void applyMargins (size_t bwd, size_t fwd, long shift, bool removeOverlaps=true)
 
void print (bool lst=false) const
 
auto getIRFrames () const
 
bool isSet () const
 
void setOwnList (const std::vector< o2::dataformats::IRFrame > &lst, bool toBeSorted)
 

Detailed Description

Definition at line 24 of file IRFrameSelector.h.

Member Function Documentation

◆ applyMargins()

void IRFrameSelector::applyMargins ( size_t  bwd,
size_t  fwd,
long  shift,
bool  removeOverlaps = true 
)

Definition at line 201 of file IRFrameSelector.cxx.

◆ check() [1/2]

long o2::utils::IRFrameSelector::check ( const o2::InteractionRecord ir,
size_t  bwd = 0,
size_t  fwd = 0 
)
inline

Definition at line 28 of file IRFrameSelector.h.

◆ check() [2/2]

long IRFrameSelector::check ( o2::dataformats::IRFrame  fr,
size_t  bwd = 0,
size_t  fwd = 0 
)

Definition at line 35 of file IRFrameSelector.cxx.

◆ clear()

void IRFrameSelector::clear ( )

Definition at line 192 of file IRFrameSelector.cxx.

◆ getIRFrames()

auto o2::utils::IRFrameSelector::getIRFrames ( ) const
inline

Definition at line 46 of file IRFrameSelector.h.

◆ getMatchingFrames()

gsl::span< const o2::dataformats::IRFrame > IRFrameSelector::getMatchingFrames ( const o2::dataformats::IRFrame fr)

Definition at line 24 of file IRFrameSelector.cxx.

◆ isSet()

bool o2::utils::IRFrameSelector::isSet ( ) const
inline

Definition at line 47 of file IRFrameSelector.h.

◆ loadIRFrames()

size_t IRFrameSelector::loadIRFrames ( const std::string &  fname)

Definition at line 103 of file IRFrameSelector.cxx.

◆ print()

void IRFrameSelector::print ( bool  lst = false) const

Definition at line 180 of file IRFrameSelector.cxx.

◆ setOwnList()

void IRFrameSelector::setOwnList ( const std::vector< o2::dataformats::IRFrame > &  lst,
bool  toBeSorted 
)

Definition at line 170 of file IRFrameSelector.cxx.

◆ setSelectedIRFrames()

template<typename SPAN >
void o2::utils::IRFrameSelector::setSelectedIRFrames ( const SPAN &  sp,
size_t  bwd = 0,
size_t  fwd = 0,
long  shift = 0,
bool  removeOverlaps = true 
)
inline

Definition at line 32 of file IRFrameSelector.h.


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