 |
Belle II Software
release-05-02-19
|
14 #ifndef TRGCDCLayer_FLAG_
15 #define TRGCDCLayer_FLAG_
20 #ifdef TRGCDC_SHORT_NAMES
21 #define TCLayer TRGCDCLayer
60 const std::string&
name(
void)
const;
63 unsigned id(
void)
const;
78 unsigned nCells(
void)
const;
84 bool axial(
void)
const;
105 void dump(
const std::string& message = std::string(
""),
106 const std::string& prefix = std::string(
""))
const;
const int _nShifts
Stereo angle in cell unit.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
unsigned nCells(void) const
returns # of cells.
const unsigned _axialStereoLayerId
ID in whole CDC counting only axial or stereo.
const TRGCDCCell & cell(int id) const
returns a pointer to a cell. 'id' can be negative or 'id' can be greater than 'nCells()'.
const unsigned _nCells
# of cells
const float _offset
Cell position offset from X axis in cell unit.
unsigned axialStereoSuperLayerId(void) const
returns id of axial or stereo super layer id.
float outerRadius(void) const
sets and returns outer radius.
unsigned localLayerId(void) const
returns local layer id in a super layer.
const unsigned _localLayerId
ID in a super layer.
float _innerRadius
Inner radius.
float offset(void) const
returns offset.
const std::string & name(void) const
return name.
const unsigned _superLayerId
Super layer ID.
A class to represent a cell layer.
int nShifts(void) const
returns shifts. (non-zero for stereo layers)
A class to represent a wire in CDC.
float innerRadius(void) const
sets and returns inner radius.
bool axial(void) const
returns true if this is an axial layer.
Abstract base class for different kinds of events.
const std::string _name
Layer name.
float cellSize(void) const
returns cell size.
unsigned superLayerId(void) const
returns super layer id.
const float _cellSize
Cell size.
unsigned axialStereoLayerId(void) const
returns id of axial or stereo id.
unsigned id(void) const
returns id.
The instance of TRGCDC is a singleton.
bool stereo(void) const
returns true if this is a stereo layer.
virtual ~TRGCDCLayer()
Destructor.
const unsigned _axialStereoSuperLayerId
Super layer ID counting only axial or stereo.
const unsigned _id
ID in whole CDC.
float _outerRadius
Outer radius.
const std::string stereoType(void) const
returns "A" or "U" or "V" depending on stereo type.
TRGCDCLayer(unsigned id, unsigned superLayerId, unsigned localLayerId, unsigned axialStereoLayerId, unsigned axialStereoSuperLayerId, float offset, int nShifts, float cellSize, unsigned nCells, float innerRadius, float outerRadius)
Constructor.