CbmRoot
L1HitArea Class Reference

#include <L1HitArea.h>

Collaboration diagram for L1HitArea:
[legend]

Public Member Functions

 L1HitArea (const L1Grid &grid, float y, float z, float dy, float dz)
 
bool GetNext (THitI &i)
 

Protected Attributes

const L1GridfGrid
 
unsigned short fBZmax
 
unsigned short fBDY
 
unsigned int fIndYmin
 
unsigned short fIz
 
THitI fHitYlst
 
THitI fIh
 
int fNy
 

Detailed Description

Definition at line 10 of file L1HitArea.h.

Constructor & Destructor Documentation

◆ L1HitArea()

L1HitArea::L1HitArea ( const L1Grid grid,
float  y,
float  z,
float  dy,
float  dz 
)
inline

Member Function Documentation

◆ GetNext()

bool L1HitArea::GetNext ( THitI i)
inline

look up the next hit in the requested area. Sets h to the coordinates and returns the index for the hit data

Definition at line 68 of file L1HitArea.h.

References fBDY, fBZmax, fGrid, fHitYlst, fIh, fIndYmin, L1Grid::FirstHitInBin(), fIz, fNy, i, ISLIKELY, L1_ASSERT, and L1Grid::N().

Member Data Documentation

◆ fBDY

unsigned short L1HitArea::fBDY
protected

Definition at line 24 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fBZmax

unsigned short L1HitArea::fBZmax
protected

Definition at line 23 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fGrid

const L1Grid& L1HitArea::fGrid
protected

Definition at line 21 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fHitYlst

THitI L1HitArea::fHitYlst
protected

Definition at line 27 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fIh

THitI L1HitArea::fIh
protected

Definition at line 28 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fIndYmin

unsigned int L1HitArea::fIndYmin
protected

Definition at line 25 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fIz

unsigned short L1HitArea::fIz
protected

Definition at line 26 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().

◆ fNy

int L1HitArea::fNy
protected

Definition at line 29 of file L1HitArea.h.

Referenced by GetNext(), and L1HitArea().


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