#include <TRT_OverlapDescriptor.h>
◆ TRT_OverlapDescriptor() [1/2]
InDet::TRT_OverlapDescriptor::TRT_OverlapDescriptor |
( |
const TRT_ID * |
helper, |
|
|
double |
bTolerance = 0.9 , |
|
|
double |
oTolerance = 1.1 |
|
) |
| |
|
inline |
◆ TRT_OverlapDescriptor() [2/2]
◆ ~TRT_OverlapDescriptor()
virtual InDet::TRT_OverlapDescriptor::~TRT_OverlapDescriptor |
( |
| ) |
|
|
inlinevirtual |
◆ checkAndFill()
Definition at line 63 of file TRT_OverlapDescriptor.cxx.
70 sf.straightLineIntersection(
pos,
dir,
false,
false);
72 if (sfIntersection.
valid) {
74 double rSurface2 =
sf.bounds().r() *
sf.bounds().r();
80 (sDirection.cross((sfIntersection.
position - sCenter))).squaredNorm();
85 cSurfaces.emplace_back(sfIntersection, &
sf);
89 : (sfIntersection.
position.phi() >
sf.center().phi() ? 1 : -1));
92 return (
pos.phi() >
sf.center().phi() ? 1 : -1);
◆ clone()
◆ operator=()
◆ reachableSurfaces()
get the compatible surfaces
Implements Trk::OverlapDescriptor.
Definition at line 18 of file TRT_OverlapDescriptor.cxx.
32 const auto*
tmp = tsf.associatedDetectorElement();
41 Identifier strawID = tsf.associatedDetectorElementIdentifier();
44 int strawMax = trtBaseElement->
nStraws() - 1;
47 if (strawInt != 0 && strawInt < strawMax && strawMax != -999) {
51 const Trk::Surface* nextStraw = (strawInt > 1 && strawInt < strawMax)
52 ? (&(trtBaseElement->
surface(nextID)))
◆ m_breakTolerance
double InDet::TRT_OverlapDescriptor::m_breakTolerance |
|
private |
if the straight line intersection is within this fraction of the bounds - don't look for neighbours
Definition at line 70 of file TRT_OverlapDescriptor.h.
◆ m_outsideTolerance
double InDet::TRT_OverlapDescriptor::m_outsideTolerance |
|
private |
◆ m_trtIdHelper
const TRT_ID* InDet::TRT_OverlapDescriptor::m_trtIdHelper |
|
private |
The documentation for this class was generated from the following files:
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw: