EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/include/EtmLine2D.h>
Public Member Functions | |
EtmLine2D () | |
EtmLine2D (const TVector2 &x, const TVector2 &v) | |
EtmLine2D (const TVector2 &x, double alfa) | |
~EtmLine2D () | |
TVector2 | Cross (const EtmLine2D &line) const |
double | Distance (const TVector2 &point) const |
bool | IsParallel (const EtmLine2D &line) const |
void | Shift (const TVector2 &x) |
TVector2 | X (void) const |
TVector2 | V (void) const |
TVector2 | N (void) const |
Private Member Functions | |
void | CalculateNormal (void) |
Private Attributes | |
TVector2 | mX |
TVector2 | mV |
TVector2 | mN |
Definition at line 7 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 7 of file EtmLine2D.h
|
inline |
Definition at line 9 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 9 of file EtmLine2D.h
EtmLine2D::EtmLine2D | ( | const TVector2 & | x, |
const TVector2 & | v | ||
) |
Definition at line 9 of file EtmLine2D.cc.
View newest version in sPHENIX GitHub at line 9 of file EtmLine2D.cc
References CalculateNormal().
EtmLine2D::EtmLine2D | ( | const TVector2 & | x, |
double | alfa | ||
) |
Definition at line 16 of file EtmLine2D.cc.
View newest version in sPHENIX GitHub at line 16 of file EtmLine2D.cc
References CalculateNormal(), cos(), and mV.
|
inline |
Definition at line 12 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 12 of file EtmLine2D.h
|
private |
Definition at line 24 of file EtmLine2D.cc.
View newest version in sPHENIX GitHub at line 24 of file EtmLine2D.cc
Referenced by EtmLine2D().
TVector2 EtmLine2D::Cross | ( | const EtmLine2D & | line | ) | const |
Definition at line 32 of file EtmLine2D.cc.
View newest version in sPHENIX GitHub at line 32 of file EtmLine2D.cc
References mV, mX, t1, v1, v2, and x2.
Referenced by EicToyModel::Band(), EtmDetector::Build(), EicToyModel::GetIntersection(), and EicToyModel::RebuildCrack().
double EtmLine2D::Distance | ( | const TVector2 & | point | ) | const |
Definition at line 47 of file EtmLine2D.cc.
View newest version in sPHENIX GitHub at line 47 of file EtmLine2D.cc
Referenced by EicToyModel::Band(), EtmDetector::Build(), EicToyModel::GetIntersection(), and EicToyModel::RebuildCrack().
bool EtmLine2D::IsParallel | ( | const EtmLine2D & | line | ) | const |
Definition at line 54 of file EtmLine2D.cc.
View newest version in sPHENIX GitHub at line 54 of file EtmLine2D.cc
References mV.
Referenced by EicToyModel::Band(), and EicToyModel::GetIntersection().
|
inline |
Definition at line 22 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 22 of file EtmLine2D.h
References mN.
Referenced by EtmDetector::Build().
|
inline |
Definition at line 18 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 18 of file EtmLine2D.h
|
inline |
Definition at line 21 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 21 of file EtmLine2D.h
References mV.
Referenced by EicToyModel::RebuildCrack().
|
inline |
Definition at line 20 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 20 of file EtmLine2D.h
References mX.
Referenced by EtmDetector::Build(), and EicToyModel::ExecuteBoundaryModificationRequests().
|
private |
Definition at line 27 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 27 of file EtmLine2D.h
Referenced by CalculateNormal(), Distance(), and N().
|
private |
Definition at line 27 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 27 of file EtmLine2D.h
Referenced by CalculateNormal(), Cross(), EtmLine2D(), IsParallel(), and V().
|
private |
Definition at line 27 of file EtmLine2D.h.
View newest version in sPHENIX GitHub at line 27 of file EtmLine2D.h
Referenced by Cross(), Distance(), Shift(), and X().