Belle II Software  release-08-01-10
Belle2::ECLElementNumbers Namespace Reference

ECL element numbers. More...

Functions

bool isForward (int cellId)
 Check whether the crystal is in forward ECL. More...
 
bool isBarrel (int cellId)
 Check whether the crystal is in barrel ECL. More...
 
bool isBackward (int cellId)
 Check whether the crystal is in backward ECL. More...
 

Variables

const int c_NCrystals = 8736
 Number of crystals.
 
const int c_NCrystalsForward = 1152
 Number of crystals in the forward ECL.
 
const int c_NCrystalsBarrel = 6624
 Number of crystals in the barrel ECL.
 
const int c_NCrystalsBackward = 960
 Number of crystals in the backward ECL.
 
const int c_NCrystalsForwardBarrel = c_NCrystalsForward + c_NCrystalsBarrel
 Number of crystals in the forward and barrel ECL.
 

Detailed Description

ECL element numbers.

Function Documentation

◆ isBackward()

bool Belle2::ECLElementNumbers::isBackward ( int  cellId)
inline

Check whether the crystal is in backward ECL.

Parameters
[in]cellIdCell identifier (1-based).

Definition at line 60 of file ECLElementNumbers.h.

61  {
62  return c_NCrystalsForwardBarrel < cellId;
63  }
const int c_NCrystalsForwardBarrel
Number of crystals in the forward and barrel ECL.

◆ isBarrel()

bool Belle2::ECLElementNumbers::isBarrel ( int  cellId)
inline

Check whether the crystal is in barrel ECL.

Parameters
[in]cellIdCell identifier (1-based).

Definition at line 50 of file ECLElementNumbers.h.

◆ isForward()

bool Belle2::ECLElementNumbers::isForward ( int  cellId)
inline

Check whether the crystal is in forward ECL.

Parameters
[in]cellIdCell identifier (1-based).

Definition at line 41 of file ECLElementNumbers.h.