1#ifndef __BMN_TOF1_HIT_GEOUTILS_H
2#define __BMN_TOF1_HIT_GEOUTILS_H 1
59 void Print(std::ostream& out,
const TVector3& point,
const char* comment =
nullptr)
const;
60 void Dump(
const char* comment, std::ostream& out = std::cout)
const;
99 if (ab.
Dot(bc) != 0. || bc.Dot(cd) != 0. || cd.Dot(da) != 0. || da.Dot(ab) != 0.) {
100 std::cerr <<
"\n ---> ERROR: invalid Rectangle.";
140 void Dump(
const char* comment =
nullptr, std::ostream& out = std::cout)
const;
TGLVector3 Cross(const TGLVector3 &v1, const TGLVector3 &v2)
const LStrip1 * FindStrip(Int_t UID)
void FindNeighborStrips701(Int_t verbose=0)
std::map< Int_t, LStrip1 > MStripType
MStripType::iterator MStripIT
const LStrip1 * FindStrip701(Int_t UID)
Int_t ParseTGeoManager701(bool useMCinput, bool forced=false, Int_t verbose=0)
BmnTof1GeoUtils()
indexing strips by detectorUID
Int_t ParseTGeoManager(bool useMCinput, bool forced=false, Int_t verbose=0)
void FindNeighborStrips(Int_t verbose=0)
MStripType::const_iterator MStripCIT
Double_t GetWidth() const
void GetInteriorAngle(int vertexIndex) const
Double_t MinDistanceToEdge701(const TVector3 *pos, Side_t &side) const
TVector3 GetCenter() const
Double_t GetLength() 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
void Shift(const TVector3 &shift)
void Dump(const char *comment, std::ostream &out=std::cout) const
void Print(std::ostream &out, const TVector3 &point, const char *comment=nullptr) const
void CalculateLengthnWidth()
Double_t MinDistanceToEdge(const TVector3 *pos, Side_t &side) const
bool IsSameDetector(const LStrip1 &strip) const
void SetIsKilled(bool status)
void SetIDs(Int_t uid, Int_t sector, Int_t box, Int_t detector, Int_t strip)
bool operator!=(const LStrip1 &rhs)
Double_t Distance701(Side_t side, const LStrip1 &strip)
bool operator==(const LStrip1 &rhs)
Double_t Distance(Side_t side, const LStrip1 &strip)
void Dump(const char *comment=nullptr, std::ostream &out=std::cout) const
virtual void Dump() const
Double_t Dot(const TVector3 &) const