BOSS 7.1.1
BESIII Offline Software System
|
#include <MucGeoStrip.h>
Public Member Functions | |
MucGeoStrip (const int strip, MucGeoGap *const pGap) | |
Default constructor. | |
~MucGeoStrip () | |
Desctructor. | |
int | Part () |
Get the softID. | |
int | Seg () |
Get Seg No. | |
int | Gap () |
Get Gap No. | |
int | Strip () |
Get Strip No. | |
MucGeoGap * | GetGap () const |
Get the pointer to the gap that contains the strip. | |
MucGeoStrip * | GetLeftNeighbor () const |
Get the pointer to the adjacent strip on the -X or -Y side of this one. | |
MucGeoStrip * | GetRightNeighbor () const |
Get the pointer to the adjacent strip on the +X or +Y side of this one. | |
float | GetXmin () const |
Get position of low-X edge in the gap coordinate system. | |
float | GetXmax () const |
Get position of high-X edge in the gap coordinate system. | |
float | GetYmin () const |
Get position of low-Y edge in the gap coordinate system. | |
float | GetYmax () const |
Get position of high-Y edge in the gap coordinate system. | |
float | GetZmin () const |
Get position of low-Z edge in the gap coordinate system. | |
float | GetZmax () const |
Get position of high-Z edge in the gap coordinate system. | |
void | GetCenterPos (float &x, float &y, float &z) const |
Get center position of this strip (in the gap coordinate system). | |
void | GetCenterSigma (float &sx, float &sy, float &sz) |
Get uncertainty in the position of this strip (in the gap coordinate system). | |
bool | GetHitStatus () const |
Get the strip hit status. | |
void | SetStrip (const float x1, const float x2, const float y1, const float y2, const float xSize, const float ySize, const float zSize) |
Set the edge, center and sigma of the strip (in the gap coordinate system). | |
void | SetStrip (TGeoPhysicalNode *stripPhysicalNode) |
Set strip from ROOT. | |
void | SetLeftNeighbor (MucGeoStrip *p) |
Set pointer to the adjacent strip on the -X or -Y side of this one. | |
void | SetRightNeighbor (MucGeoStrip *p) |
Set pointer to the adjacent strip on the +X or +Y side of this one. | |
void | SetHitStatus (const bool hit) |
Set the strip hit status. | |
bool | IsInStrip (const float x, const float y, const float z) const |
Is the point within the boundaries of this strip? | |
bool | CrossGasChamber (const HepPoint3D linePoint, const Hep3Vector lineDir) const |
Does the line cross this strip? | |
Class MucGeoStrip describes a single strip in a gap of the muon chamber
Definition at line 40 of file MucGeoStrip.h.
MucGeoStrip::MucGeoStrip | ( | const int | strip, |
MucGeoGap *const | pGap ) |
Default constructor.
Definition at line 21 of file MucGeoStrip.cxx.
MucGeoStrip::~MucGeoStrip | ( | ) |
Desctructor.
Definition at line 32 of file MucGeoStrip.cxx.
bool MucGeoStrip::CrossGasChamber | ( | const HepPoint3D | linePoint, |
const Hep3Vector | lineDir ) const |
Does the line cross this strip?
Definition at line 167 of file MucGeoStrip.cxx.
Referenced by MucGeoGeneral::FindIntersectStrips(), and MucGeoGeneral::FindIntersectStrips().
|
inline |
void MucGeoStrip::GetCenterPos | ( | float & | x, |
float & | y, | ||
float & | z ) const |
Get center position of this strip (in the gap coordinate system).
Definition at line 41 of file MucGeoStrip.cxx.
Referenced by MucGeoGeneral::FindIntersectStrips(), MucGeoGap::GuessStrip(), main(), MucRecHit::MucRecHit(), and MucRecHit::MucRecHit().
void MucGeoStrip::GetCenterSigma | ( | float & | sx, |
float & | sy, | ||
float & | sz ) |
Get uncertainty in the position of this strip (in the gap coordinate system).
Definition at line 52 of file MucGeoStrip.cxx.
Referenced by ExtMucKal::ExtMucFilter(), MucRecHit::MucRecHit(), MucRecHit::MucRecHit(), and ExtMucKal::TrackHit().
|
inline |
Get the pointer to the gap that contains the strip.
Definition at line 65 of file MucGeoStrip.h.
Referenced by main(), SetStrip(), and SetStrip().
|
inline |
|
inline |
Get the pointer to the adjacent strip on the -X or -Y side of this one.
Definition at line 68 of file MucGeoStrip.h.
|
inline |
Get the pointer to the adjacent strip on the +X or +Y side of this one.
Definition at line 71 of file MucGeoStrip.h.
|
inline |
Get position of high-X edge in the gap coordinate system.
Definition at line 77 of file MucGeoStrip.h.
Referenced by MucGeoGeneral::FindIntersectStrips().
|
inline |
Get position of low-X edge in the gap coordinate system.
Definition at line 74 of file MucGeoStrip.h.
Referenced by MucGeoGeneral::FindIntersectStrips().
|
inline |
Get position of high-Y edge in the gap coordinate system.
Definition at line 83 of file MucGeoStrip.h.
Referenced by MucGeoGeneral::FindIntersectStrips().
|
inline |
Get position of low-Y edge in the gap coordinate system.
Definition at line 80 of file MucGeoStrip.h.
Referenced by MucGeoGeneral::FindIntersectStrips().
|
inline |
Get position of high-Z edge in the gap coordinate system.
Definition at line 89 of file MucGeoStrip.h.
|
inline |
Get position of low-Z edge in the gap coordinate system.
Definition at line 86 of file MucGeoStrip.h.
bool MucGeoStrip::IsInStrip | ( | const float | x, |
const float | y, | ||
const float | z ) const |
Is the point within the boundaries of this strip?
Definition at line 154 of file MucGeoStrip.cxx.
|
inline |
Get the softID.
Get Part No.
Definition at line 53 of file MucGeoStrip.h.
|
inline |
|
inline |
void MucGeoStrip::SetLeftNeighbor | ( | MucGeoStrip * | p | ) |
Set pointer to the adjacent strip on the -X or -Y side of this one.
Set pointer to the adjacent strip on the -X or -Y side of this one.
Definition at line 136 of file MucGeoStrip.cxx.
Referenced by MucGeoGap::AddStrip().
void MucGeoStrip::SetRightNeighbor | ( | MucGeoStrip * | p | ) |
Set pointer to the adjacent strip on the +X or +Y side of this one.
Set pointer to the adjacent strip on the +X or +Y side of this one.
Definition at line 145 of file MucGeoStrip.cxx.
Referenced by MucGeoGap::AddStrip().
void MucGeoStrip::SetStrip | ( | const float | x1, |
const float | x2, | ||
const float | y1, | ||
const float | y2, | ||
const float | xSize, | ||
const float | ySize, | ||
const float | zSize ) |
Set the edge, center and sigma of the strip (in the gap coordinate system).
Definition at line 63 of file MucGeoStrip.cxx.
Referenced by MucGeoGeneral::InitFromASCII(), and MucGeoGeneral::InitFromXML().
void MucGeoStrip::SetStrip | ( | TGeoPhysicalNode * | stripPhysicalNode | ) |
Set strip from ROOT.
Definition at line 94 of file MucGeoStrip.cxx.
|
inline |