CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::GridEntry Struct Reference

A class to store hit information on the ca::Grid. More...

#include <CaGridEntry.h>

Public Member Functions

 GridEntry ()=default
 
 GridEntry (const ca::Hit &hit, ca::HitIndex_t id)
 
void Set (const ca::Hit &hit, ca::HitIndex_t id)
 
ca::HitIndex_t GetObjectId () const
 
fscal Z () const
 
fscal T () const
 
fscal X () const
 
fscal Y () const
 
fscal RangeX () const
 
fscal RangeY () const
 
fscal RangeT () const
 

Private Attributes

ca::HitIndex_t fObjectId {0}
 hit id in L1Algo::fWindowHits array
 
fscal x {kUndef}
 
fscal y {kUndef}
 
fscal z {kUndef}
 
fscal t {kUndef}
 
fscal rangeX {kUndef}
 
fscal rangeY {kUndef}
 
fscal rangeT {kUndef}
 

Static Private Attributes

static constexpr fscal kUndef = 0.
 

Detailed Description

A class to store hit information on the ca::Grid.

Definition at line 16 of file CaGridEntry.h.

Constructor & Destructor Documentation

◆ GridEntry() [1/2]

cbm::algo::ca::GridEntry::GridEntry ( )
default

◆ GridEntry() [2/2]

cbm::algo::ca::GridEntry::GridEntry ( const ca::Hit & hit,
ca::HitIndex_t id )
inline

Definition at line 20 of file CaGridEntry.h.

References Set().

Member Function Documentation

◆ GetObjectId()

ca::HitIndex_t cbm::algo::ca::GridEntry::GetObjectId ( ) const
inline

Definition at line 34 of file CaGridEntry.h.

References fObjectId.

◆ RangeT()

fscal cbm::algo::ca::GridEntry::RangeT ( ) const
inline

Definition at line 42 of file CaGridEntry.h.

References rangeT.

◆ RangeX()

fscal cbm::algo::ca::GridEntry::RangeX ( ) const
inline

Definition at line 40 of file CaGridEntry.h.

References rangeX.

◆ RangeY()

fscal cbm::algo::ca::GridEntry::RangeY ( ) const
inline

Definition at line 41 of file CaGridEntry.h.

References rangeY.

◆ Set()

◆ T()

fscal cbm::algo::ca::GridEntry::T ( ) const
inline

Definition at line 37 of file CaGridEntry.h.

References t.

◆ X()

fscal cbm::algo::ca::GridEntry::X ( ) const
inline

Definition at line 38 of file CaGridEntry.h.

References x.

◆ Y()

fscal cbm::algo::ca::GridEntry::Y ( ) const
inline

Definition at line 39 of file CaGridEntry.h.

References y.

◆ Z()

fscal cbm::algo::ca::GridEntry::Z ( ) const
inline

Definition at line 36 of file CaGridEntry.h.

References z.

Member Data Documentation

◆ fObjectId

ca::HitIndex_t cbm::algo::ca::GridEntry::fObjectId {0}
private

hit id in L1Algo::fWindowHits array

Definition at line 47 of file CaGridEntry.h.

Referenced by GetObjectId(), and Set().

◆ kUndef

fscal cbm::algo::ca::GridEntry::kUndef = 0.
staticconstexprprivate

Definition at line 45 of file CaGridEntry.h.

◆ rangeT

fscal cbm::algo::ca::GridEntry::rangeT {kUndef}
private

Definition at line 55 of file CaGridEntry.h.

Referenced by RangeT(), and Set().

◆ rangeX

fscal cbm::algo::ca::GridEntry::rangeX {kUndef}
private

Definition at line 53 of file CaGridEntry.h.

Referenced by RangeX(), and Set().

◆ rangeY

fscal cbm::algo::ca::GridEntry::rangeY {kUndef}
private

Definition at line 54 of file CaGridEntry.h.

Referenced by RangeY(), and Set().

◆ t

fscal cbm::algo::ca::GridEntry::t {kUndef}
private

Definition at line 52 of file CaGridEntry.h.

Referenced by Set(), and T().

◆ x

fscal cbm::algo::ca::GridEntry::x {kUndef}
private

Definition at line 49 of file CaGridEntry.h.

Referenced by Set(), and X().

◆ y

fscal cbm::algo::ca::GridEntry::y {kUndef}
private

Definition at line 50 of file CaGridEntry.h.

Referenced by Set(), and Y().

◆ z

fscal cbm::algo::ca::GridEntry::z {kUndef}
private

Definition at line 51 of file CaGridEntry.h.

Referenced by Set(), and Z().


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