Project
Loading...
Searching...
No Matches
o2::tpc::LaserTrackContainer Class Reference

#include <LaserTrack.h>

Public Member Functions

 LaserTrackContainer ()=default
 
void loadTracksFromFile ()
 load laser tracks from file
 
LaserTrack const & getTrack (int id) const
 
const auto & getLaserTracks () const
 
gsl::span< const LaserTrackgetTracksInBundle (int side, int rod, int bundle)
 get span with tracks in one bundle
 

Static Public Member Functions

static void dumpToTree (const std::string_view fileName)
 dump tracks to a tree for simple visualization
 

Detailed Description

container class to hold all laser tracks

The definition of all tracks can be loaded from file using: LaserTrackContainer c; c.loadTracksFromFile();

Definition at line 72 of file LaserTrack.h.

Constructor & Destructor Documentation

◆ LaserTrackContainer()

o2::tpc::LaserTrackContainer::LaserTrackContainer ( )
default

Member Function Documentation

◆ dumpToTree()

void LaserTrackContainer::dumpToTree ( const std::string_view  fileName)
static

dump tracks to a tree for simple visualization

Definition at line 55 of file LaserTrack.cxx.

◆ getLaserTracks()

const auto & o2::tpc::LaserTrackContainer::getLaserTracks ( ) const
inline

get container

Returns
array of laser tracks

Definition at line 86 of file LaserTrack.h.

◆ getTrack()

LaserTrack const & o2::tpc::LaserTrackContainer::getTrack ( int  id) const
inline

get laser track

Returns
LaserTrack

Definition at line 82 of file LaserTrack.h.

◆ getTracksInBundle()

gsl::span< const LaserTrack > o2::tpc::LaserTrackContainer::getTracksInBundle ( int  side,
int  rod,
int  bundle 
)
inline

get span with tracks in one bundle

Definition at line 92 of file LaserTrack.h.

◆ loadTracksFromFile()

void LaserTrackContainer::loadTracksFromFile ( )

load laser tracks from file

Definition at line 30 of file LaserTrack.cxx.


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