|
BmnRoot
|
#include <BmnTof1GeoUtils.h>
Public Member Functions | |
| LStrip1 () | |
| LStrip1 (Int_t uid, Int_t sector, Int_t box, Int_t detector, Int_t strip) | |
| void | SetIDs (Int_t uid, Int_t sector, Int_t box, Int_t detector, Int_t strip) |
| void | SetIsKilled (bool status) |
| bool | GetIsKilled () const |
| bool | IsSameDetector (const LStrip1 &strip) const |
| bool | operator== (const LStrip1 &rhs) |
| bool | operator!= (const LStrip1 &rhs) |
| void | Dump (const char *comment=nullptr, std::ostream &out=std::cout) const |
| Double_t | Distance (Side_t side, const LStrip1 &strip) |
| Double_t | Distance701 (Side_t side, const LStrip1 &strip) |
| LStrip1 () | |
| LStrip1 (Int_t uid, Int_t sector, Int_t box, Int_t detector, Int_t strip) | |
| void | SetIDs (Int_t uid, Int_t sector, Int_t box, Int_t detector, Int_t strip) |
| void | SetIsKilled (bool status) |
| bool | GetIsKilled () const |
| bool | IsSameDetector (const LStrip1 &strip) const |
| bool | operator== (const LStrip1 &rhs) |
| bool | operator!= (const LStrip1 &rhs) |
| void | Dump (const char *comment=nullptr, std::ostream &out=std::cout) const |
| Double_t | Distance (Side_t side, const LStrip1 &strip) |
| Double_t | Distance701 (Side_t side, const LStrip1 &strip) |
Public Member Functions inherited from LRectangle1 | |
| LRectangle1 () | |
| LRectangle1 (Int_t uid, const TVector3 &a, const TVector3 &b, const TVector3 &c, const TVector3 &d, bool check=false) | |
| Double_t | GetLength () const |
| Double_t | GetWidth () const |
| void | GetInteriorAngle (int vertexIndex) const |
| TVector3 | GetCenter () const |
| bool | isInvalid () const |
| Double_t | DistanceFromPointToLineSegment (const TVector3 *pos, const TVector3 &P1, const TVector3 &P2) const |
| Double_t | DistanceFromPointToLine (const TVector3 *pos, const TVector3 &P1, const TVector3 &P2) const |
| Double_t | MinDistanceToEdge (const TVector3 *pos, Side_t &side) const |
| Double_t | MinDistanceToEdge701 (const TVector3 *pos, Side_t &side) const |
| void | Print (std::ostream &out, const TVector3 &point, const char *comment=nullptr) const |
| void | Dump (const char *comment, std::ostream &out=std::cout) const |
| void | Shift (const TVector3 &shift) |
| void | InitCenterPerp () |
| void | CalculateLengthnWidth () |
| void | CheckInValid () |
| LRectangle1 () | |
| LRectangle1 (Int_t uid, const TVector3 &a, const TVector3 &b, const TVector3 &c, const TVector3 &d, bool check=false) | |
| Double_t | GetLength () const |
| Double_t | GetWidth () const |
| void | GetInteriorAngle (int vertexIndex) const |
| TVector3 | GetCenter () const |
| bool | isInvalid () const |
| Double_t | DistanceFromPointToLineSegment (const TVector3 *pos, const TVector3 &P1, const TVector3 &P2) const |
| Double_t | DistanceFromPointToLine (const TVector3 *pos, const TVector3 &P1, const TVector3 &P2) const |
| Double_t | MinDistanceToEdge (const TVector3 *pos, Side_t &side) const |
| Double_t | MinDistanceToEdge701 (const TVector3 *pos, Side_t &side) const |
| void | Print (std::ostream &out, const TVector3 &point, const char *comment=nullptr) const |
| void | Dump (const char *comment, std::ostream &out=std::cout) const |
| void | Shift (const TVector3 &shift) |
| void | InitCenterPerp () |
| void | CalculateLengthnWidth () |
| void | CheckInValid () |
Public Attributes | |
| Bool_t | isKilled = false |
| Int_t | sectorID |
| Int_t | boxID |
| Int_t | detectorID |
| Int_t | stripID |
| Int_t | neighboring [2] |
Public Attributes inherited from LRectangle1 | |
| Int_t | volumeUID |
| Double_t | length |
| Double_t | width |
| TVector3 | A |
| TVector3 | B |
| TVector3 | C |
| TVector3 | D |
| TVector3 | center |
| TVector3 | perp |
Additional Inherited Members | |
Public Types inherited from LRectangle1 | |
| enum | Side_t { kRight = 0 , kLeft = 1 , kInvalid = -1 , kUpper = 0 , kLower = 1 , kRight = 0 , kLeft = 1 , kInvalid = -1 , kUpper = 0 , kLower = 1 } |
| enum | Side_t { kRight = 0 , kLeft = 1 , kInvalid = -1 , kUpper = 0 , kLower = 1 , kRight = 0 , kLeft = 1 , kInvalid = -1 , kUpper = 0 , kLower = 1 } |
Definition at line 108 of file BmnTof1GeoUtils.h.
| LStrip1::LStrip1 | ( | ) |
Definition at line 429 of file BmnTof1GeoUtils.cxx.
References LRectangle1::kInvalid, LRectangle1::kLeft, LRectangle1::kRight, and neighboring.
| LStrip1::LStrip1 | ( | Int_t | uid, |
| Int_t | sector, | ||
| Int_t | box, | ||
| Int_t | detector, | ||
| Int_t | strip | ||
| ) |
Definition at line 439 of file BmnTof1GeoUtils.cxx.
References LRectangle1::kInvalid, LRectangle1::kLeft, LRectangle1::kRight, neighboring, and LRectangle1::volumeUID.
| LStrip1::LStrip1 | ( | ) |
| LStrip1::LStrip1 | ( | Int_t | uid, |
| Int_t | sector, | ||
| Int_t | box, | ||
| Int_t | detector, | ||
| Int_t | strip | ||
| ) |
Definition at line 459 of file BmnTof1GeoUtils.cxx.
References LRectangle1::A, LRectangle1::B, LRectangle1::C, LRectangle1::D, fabs(), IsSameDetector(), LRectangle1::kInvalid, LRectangle1::kLeft, and LRectangle1::kRight.
Referenced by BmnTof1GeoUtils::FindNeighborStrips().
Definition at line 503 of file BmnTof1GeoUtils.cxx.
References LRectangle1::A, LRectangle1::B, LRectangle1::C, LRectangle1::D, fabs(), IsSameDetector(), LRectangle1::kInvalid, LRectangle1::kLower, and LRectangle1::kUpper.
Referenced by BmnTof1GeoUtils::FindNeighborStrips701().
| void LStrip1::Dump | ( | const char * | comment = nullptr, |
| std::ostream & | out = std::cout |
||
| ) | const |
Definition at line 450 of file BmnTof1GeoUtils.cxx.
References boxID, detectorID, LRectangle1::Dump(), GetIsKilled(), sectorID, and stripID.
| void LStrip1::Dump | ( | const char * | comment = nullptr, |
| std::ostream & | out = std::cout |
||
| ) | const |
|
inline |
Definition at line 128 of file BmnTof1GeoUtils.h.
References isKilled.
Referenced by Dump(), and BmnTof1HitProducer::Exec().
|
inline |
Definition at line 128 of file BmnTof1GeoUtils.h.
References isKilled.
|
inline |
Definition at line 129 of file BmnTof1GeoUtils.h.
References boxID, detectorID, and sectorID.
Referenced by Distance(), and Distance701().
|
inline |
Definition at line 129 of file BmnTof1GeoUtils.h.
References boxID, detectorID, and sectorID.
|
inline |
Definition at line 138 of file BmnTof1GeoUtils.h.
|
inline |
Definition at line 138 of file BmnTof1GeoUtils.h.
|
inline |
Definition at line 133 of file BmnTof1GeoUtils.h.
References boxID, detectorID, sectorID, and stripID.
|
inline |
Definition at line 133 of file BmnTof1GeoUtils.h.
References boxID, detectorID, sectorID, and stripID.
|
inline |
Definition at line 118 of file BmnTof1GeoUtils.h.
References boxID, detectorID, sectorID, stripID, and LRectangle1::volumeUID.
|
inline |
Definition at line 118 of file BmnTof1GeoUtils.h.
References boxID, detectorID, sectorID, stripID, and LRectangle1::volumeUID.
|
inline |
Definition at line 127 of file BmnTof1GeoUtils.h.
References isKilled.
Referenced by BmnTof1GeoUtils::ParseTGeoManager701().
|
inline |
Definition at line 127 of file BmnTof1GeoUtils.h.
References isKilled.
| Int_t LStrip1::boxID |
Definition at line 112 of file BmnTof1GeoUtils.h.
Referenced by Dump(), IsSameDetector(), operator==(), and SetIDs().
| Int_t LStrip1::detectorID |
Definition at line 112 of file BmnTof1GeoUtils.h.
Referenced by Dump(), IsSameDetector(), operator==(), and SetIDs().
| Bool_t LStrip1::isKilled = false |
Definition at line 111 of file BmnTof1GeoUtils.h.
Referenced by GetIsKilled(), and SetIsKilled().
| Int_t LStrip1::neighboring |
Definition at line 113 of file BmnTof1GeoUtils.h.
Referenced by BmnTof1HitProducer::Exec(), BmnTof1GeoUtils::FindNeighborStrips(), BmnTof1GeoUtils::FindNeighborStrips701(), LStrip1(), and LStrip1().
| Int_t LStrip1::sectorID |
Definition at line 112 of file BmnTof1GeoUtils.h.
Referenced by Dump(), IsSameDetector(), operator==(), and SetIDs().
| Int_t LStrip1::stripID |
Definition at line 112 of file BmnTof1GeoUtils.h.
Referenced by Dump(), operator==(), and SetIDs().