Belle II Software development
TRGCDCLayer Class Reference

A class to represent a cell layer. More...

#include <Layer.h>

Inheritance diagram for TRGCDCLayer:

Public Member Functions

 TRGCDCLayer (unsigned id, unsigned superLayerId, unsigned localLayerId, unsigned axialStereoLayerId, unsigned axialStereoSuperLayerId, float offset, int nShifts, float cellSize, unsigned nCells, float innerRadius, float outerRadius)
 Constructor.
 
 TRGCDCLayer (unsigned id, const TRGCDCCell &w)
 Constructor for track segments.
 
 TRGCDCLayer ()
 Empty constructor for reduced CDC.
 
virtual ~TRGCDCLayer ()
 Destructor.
 
const std::string & name (void) const
 return name.
 
unsigned id (void) const
 returns id.
 
unsigned superLayerId (void) const
 returns super layer id.
 
unsigned localLayerId (void) const
 returns local layer id in a super layer.
 
unsigned axialStereoLayerId (void) const
 returns id of axial or stereo id.
 
unsigned axialStereoSuperLayerId (void) const
 returns id of axial or stereo super layer id.
 
unsigned nCells (void) const
 returns # of cells.
 
const TRGCDCCellcell (int id) const
 returns a pointer to a cell. 'id' can be negative or 'id' can be greater than 'nCells()'.
 
bool axial (void) const
 returns true if this is an axial layer.
 
bool stereo (void) const
 returns true if this is a stereo layer.
 
float offset (void) const
 returns offset.
 
int nShifts (void) const
 returns shifts. (non-zero for stereo layers)
 
float cellSize (void) const
 returns cell size.
 
float innerRadius (void) const
 sets and returns inner radius.
 
float outerRadius (void) const
 sets and returns outer radius.
 
void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
 
const std::string stereoType (void) const
 returns "A" or "U" or "V" depending on stereo type.
 

Public Attributes

elements
 STL member.
 

Private Attributes

const std::string _name
 Layer name.
 
const unsigned _id
 ID in whole CDC.
 
const unsigned _superLayerId
 Super layer ID.
 
const unsigned _localLayerId
 ID in a super layer.
 
const unsigned _axialStereoLayerId
 ID in whole CDC counting only axial or stereo.
 
const unsigned _axialStereoSuperLayerId
 Super layer ID counting only axial or stereo.
 
const float _offset
 Cell position offset from X axis in cell unit.
 
const int _nShifts
 Stereo angle in cell unit.
 
const float _cellSize
 Cell size.
 
const unsigned _nCells
 # of cells
 
float _innerRadius
 Inner radius.
 
float _outerRadius
 Outer radius.
 

Friends

class TRGCDC
 TRGCDC has complete access.
 

Detailed Description

A class to represent a cell layer.

Definition at line 33 of file Layer.h.

Friends And Related Function Documentation

◆ TRGCDC

friend class TRGCDC
friend

TRGCDC has complete access.

Definition at line 152 of file Layer.h.

Member Data Documentation

◆ _axialStereoLayerId

const unsigned _axialStereoLayerId
private

ID in whole CDC counting only axial or stereo.

Definition at line 128 of file Layer.h.

◆ _axialStereoSuperLayerId

const unsigned _axialStereoSuperLayerId
private

Super layer ID counting only axial or stereo.

Definition at line 131 of file Layer.h.

◆ _cellSize

const float _cellSize
private

Cell size.

Definition at line 140 of file Layer.h.

◆ _id

const unsigned _id
private

ID in whole CDC.

Definition at line 119 of file Layer.h.

◆ _innerRadius

float _innerRadius
private

Inner radius.

Definition at line 146 of file Layer.h.

◆ _localLayerId

const unsigned _localLayerId
private

ID in a super layer.

Definition at line 125 of file Layer.h.

◆ _name

const std::string _name
private

Layer name.

Definition at line 116 of file Layer.h.

◆ _nCells

const unsigned _nCells
private

# of cells

Definition at line 143 of file Layer.h.

◆ _nShifts

const int _nShifts
private

Stereo angle in cell unit.

Definition at line 137 of file Layer.h.

◆ _offset

const float _offset
private

Cell position offset from X axis in cell unit.

Definition at line 134 of file Layer.h.

◆ _outerRadius

float _outerRadius
private

Outer radius.

Definition at line 149 of file Layer.h.

◆ _superLayerId

const unsigned _superLayerId
private

Super layer ID.

Definition at line 122 of file Layer.h.


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