Project
Loading...
Searching...
No Matches
o2::tpc::UnbinnedResid Struct Reference

#include <TrackInterpolation.h>

Public Member Functions

 UnbinnedResid ()=default
 
 UnbinnedResid (float dyIn, float dzIn, float tgSlpIn, float yIn, float zIn, unsigned char rowIn, unsigned char secIn, short chanIn=-1)
 
bool isTPC () const
 
bool isTRD () const
 
bool isTOF () const
 
bool isITS () const
 
int getDetID () const
 
int getITSLayer () const
 
int getTRDLayer () const
 
float getAlpha () const
 
float getX () const
 
 ClassDefNV (UnbinnedResid, 2)
 

Static Public Member Functions

static void init (long timestamp=-1)
 
static void checkInitDone ()
 

Public Attributes

short dy {0}
 residual in y
 
short dz {0}
 residual in z
 
short tgSlp {0}
 tan of the phi angle between padrow and track
 
short y {0}
 y position of the track, needed for binning
 
short z {0}
 z position of the track, needed for binning
 
unsigned char row {0}
 TPC pad row.
 
unsigned char sec {0}
 TPC sector (0..35)
 
short channel {-1}
 extra channel info (ITS chip ID, TRD chamber, TOF main pad within the sector)
 

Static Public Attributes

static bool gInitDone = false
 

Detailed Description

This struct is used to store the unbinned TPC cluster residuals in a compact way (this is the data type which will be sent from the EPNs to the aggregator)

Definition at line 68 of file TrackInterpolation.h.

Constructor & Destructor Documentation

◆ UnbinnedResid() [1/2]

o2::tpc::UnbinnedResid::UnbinnedResid ( )
default

◆ UnbinnedResid() [2/2]

o2::tpc::UnbinnedResid::UnbinnedResid ( float  dyIn,
float  dzIn,
float  tgSlpIn,
float  yIn,
float  zIn,
unsigned char  rowIn,
unsigned char  secIn,
short  chanIn = -1 
)
inline

Definition at line 70 of file TrackInterpolation.h.

Member Function Documentation

◆ checkInitDone()

void UnbinnedResid::checkInitDone ( )
static

Definition at line 83 of file TrackInterpolation.cxx.

◆ ClassDefNV()

o2::tpc::UnbinnedResid::ClassDefNV ( UnbinnedResid  ,
 
)

◆ getAlpha()

float UnbinnedResid::getAlpha ( ) const

Definition at line 46 of file TrackInterpolation.cxx.

◆ getDetID()

int o2::tpc::UnbinnedResid::getDetID ( ) const
inline

Definition at line 91 of file TrackInterpolation.h.

◆ getITSLayer()

int o2::tpc::UnbinnedResid::getITSLayer ( ) const
inline

Definition at line 92 of file TrackInterpolation.h.

◆ getTRDLayer()

int o2::tpc::UnbinnedResid::getTRDLayer ( ) const
inline

Definition at line 93 of file TrackInterpolation.h.

◆ getX()

float UnbinnedResid::getX ( ) const

Definition at line 56 of file TrackInterpolation.cxx.

◆ init()

void UnbinnedResid::init ( long  timestamp = -1)
static

Definition at line 94 of file TrackInterpolation.cxx.

◆ isITS()

bool o2::tpc::UnbinnedResid::isITS ( ) const
inline

Definition at line 90 of file TrackInterpolation.h.

◆ isTOF()

bool o2::tpc::UnbinnedResid::isTOF ( ) const
inline

Definition at line 89 of file TrackInterpolation.h.

◆ isTPC()

bool o2::tpc::UnbinnedResid::isTPC ( ) const
inline

Definition at line 87 of file TrackInterpolation.h.

◆ isTRD()

bool o2::tpc::UnbinnedResid::isTRD ( ) const
inline

Definition at line 88 of file TrackInterpolation.h.

Member Data Documentation

◆ channel

short o2::tpc::UnbinnedResid::channel {-1}

extra channel info (ITS chip ID, TRD chamber, TOF main pad within the sector)

Definition at line 85 of file TrackInterpolation.h.

◆ dy

short o2::tpc::UnbinnedResid::dy {0}

residual in y

Definition at line 78 of file TrackInterpolation.h.

◆ dz

short o2::tpc::UnbinnedResid::dz {0}

residual in z

Definition at line 79 of file TrackInterpolation.h.

◆ gInitDone

bool UnbinnedResid::gInitDone = false
static

Definition at line 99 of file TrackInterpolation.h.

◆ row

unsigned char o2::tpc::UnbinnedResid::row {0}

TPC pad row.

Definition at line 83 of file TrackInterpolation.h.

◆ sec

unsigned char o2::tpc::UnbinnedResid::sec {0}

TPC sector (0..35)

Definition at line 84 of file TrackInterpolation.h.

◆ tgSlp

short o2::tpc::UnbinnedResid::tgSlp {0}

tan of the phi angle between padrow and track

Definition at line 80 of file TrackInterpolation.h.

◆ y

short o2::tpc::UnbinnedResid::y {0}

y position of the track, needed for binning

Definition at line 81 of file TrackInterpolation.h.

◆ z

short o2::tpc::UnbinnedResid::z {0}

z position of the track, needed for binning

Definition at line 82 of file TrackInterpolation.h.


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