BOSS 7.0.8
BESIII Offline Software System
|
A class to represent a wire layer. More...
#include <TMDCLayer.h>
Public Member Functions | |
TMDCLayer (const MdcGeoLayer *) | |
Constructor. | |
virtual | ~TMDCLayer () |
Destructor. | |
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 | nWires (void) const |
returns # of wires. | |
const TMDCWire *const | wire (int id) const |
returns a pointer to a wire. 'id' can be negative or 'id' can be greater than 'nWires()'. | |
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. | |
float | cellSize (void) const |
returns cell size. | |
const MdcGeoLayer * | geocdc (void) const |
returns a pointer to GEOMDC_WIR. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
A class to represent a wire layer.
Definition at line 32 of file TMDCLayer.h.
TMDCLayer::TMDCLayer | ( | const MdcGeoLayer * | l | ) |
Constructor.
Definition at line 22 of file TMDCLayer.cxx.
|
virtual |
|
inline |
returns true if this is an axial layer.
Definition at line 145 of file TMDCLayer.h.
Referenced by TMDCWire::axial(), and dump().
|
inline |
returns id of axial or stereo id.
Definition at line 163 of file TMDCLayer.h.
Referenced by TMDCWire::axialStereoLayerId(), and TBuilder0::buildStereo().
|
inline |
returns cell size.
Definition at line 169 of file TMDCLayer.h.
Referenced by TMDCWire::cellSize().
void TMDCLayer::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 46 of file TMDCLayer.cxx.
|
inline |
returns a pointer to GEOMDC_WIR.
Definition at line 127 of file TMDCLayer.h.
Referenced by TMDC::wire().
|
inline |
returns id.
Definition at line 109 of file TMDCLayer.h.
Referenced by wire().
|
inline |
returns local layer id in a super layer.
Definition at line 121 of file TMDCLayer.h.
Referenced by TMDCWire::localLayerId().
|
inline |
returns # of wires.
Definition at line 139 of file TMDCLayer.h.
Referenced by TMDCTsf::createTsf(), TMDCWire::localIdDifference(), TMDCWire::neighbor(), and TMDC::wire().
|
inline |
returns offset.
Definition at line 133 of file TMDCLayer.h.
Referenced by TMDCTsf::createTsf(), and TMDCWire::neighbor().
|
inline |
returns true if this is a stereo layer.
Definition at line 154 of file TMDCLayer.h.
Referenced by TMDCWire::stereo().
|
inline |
returns super layer id.
Definition at line 115 of file TMDCLayer.h.
Referenced by TMDCWire::neighbor(), and TMDCWire::superLayerId().
const TMDCWire *const TMDCLayer::wire | ( | int | id | ) | const |
returns a pointer to a wire. 'id' can be negative or 'id' can be greater than 'nWires()'.
Definition at line 59 of file TMDCLayer.cxx.
Referenced by TMDC::wire().