ATLAS Offline Software
TRT_OverlapDescriptor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TRT_OverlapDescriptor.h, (c) ATLAS Detector software
8 
9 #ifndef INDETTRACKINGGEOMETRY_TRT_OVERLAPDESCRIPTOR_H
10 #define INDETTRACKINGGEOMETRY_TRT_OVERLAPDESCRIPTOR_H
11 
12 // Trk
14 // ID
15 #include "InDetIdentifier/TRT_ID.h"
16 
17 namespace Trk {
18  class Surface;
19 }
20 
21 namespace InDet {
22 
32  public:
34  TRT_OverlapDescriptor(const TRT_ID* helper, double bTolerance = 0.9, double oTolerance = 1.1) :
36  m_breakTolerance(bTolerance),
37  m_outsideTolerance(oTolerance)
38  {}
45  {}
46 
49 
52 
55 
57  bool reachableSurfaces(std::vector<Trk::SurfaceIntersection>& cSurfaces,
58  const Trk::Surface& sf,
59  const Amg::Vector3D& pos,
60  const Amg::Vector3D& dir) const;
61 
62  private:
63  // this checks if the surface intersection is within bounds, if it returns 0 break, otherwise +/- for checking in +/- of index
64  int checkAndFill(std::vector<Trk::SurfaceIntersection>& cSurfaces,
65  const Trk::Surface& sf,
66  const Amg::Vector3D& pos,
67  const Amg::Vector3D& dir) const;
68 
72 
73  };
74 
76 
77 }
78 
79 #endif
InDet::TRT_OverlapDescriptor::reachableSurfaces
bool reachableSurfaces(std::vector< Trk::SurfaceIntersection > &cSurfaces, const Trk::Surface &sf, const Amg::Vector3D &pos, const Amg::Vector3D &dir) const
get the compatible surfaces
Definition: TRT_OverlapDescriptor.cxx:18
InDet::TRT_OverlapDescriptor
Definition: TRT_OverlapDescriptor.h:31
InDet::TRT_OverlapDescriptor::operator=
TRT_OverlapDescriptor & operator=(const TRT_OverlapDescriptor &)=default
Default assignment.
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
OverlapDescriptor.h
TRT_ID.h
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:7
InDet::TRT_OverlapDescriptor::m_trtIdHelper
const TRT_ID * m_trtIdHelper
the Id helper
Definition: TRT_OverlapDescriptor.h:69
InDet::TRT_OverlapDescriptor::~TRT_OverlapDescriptor
virtual ~TRT_OverlapDescriptor()
Destructor.
Definition: TRT_OverlapDescriptor.h:51
InDet::TRT_OverlapDescriptor::TRT_OverlapDescriptor
TRT_OverlapDescriptor(const TRT_ID *helper, double bTolerance=0.9, double oTolerance=1.1)
Constructor.
Definition: TRT_OverlapDescriptor.h:34
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:112
beamspotman.dir
string dir
Definition: beamspotman.py:623
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::OverlapDescriptor
Definition: OverlapDescriptor.h:41
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
TRT_ID
Definition: TRT_ID.h:84
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
Trk::OverlapDescriptor::OverlapDescriptor
OverlapDescriptor()
Default constructor.
Definition: OverlapDescriptor.h:44
InDet::TRT_OverlapDescriptor::clone
TRT_OverlapDescriptor * clone() const
Pseudo-Constructor.
Definition: TRT_OverlapDescriptor.h:75
InDet::TRT_OverlapDescriptor::m_breakTolerance
double m_breakTolerance
if the straight line intersection is within this fraction of the bounds - don't look for neighbours
Definition: TRT_OverlapDescriptor.h:70
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
InDet::TRT_OverlapDescriptor::TRT_OverlapDescriptor
TRT_OverlapDescriptor(const TRT_OverlapDescriptor &od)
Copy Constructor.
Definition: TRT_OverlapDescriptor.h:40
InDet::TRT_OverlapDescriptor::m_outsideTolerance
double m_outsideTolerance
accept even if it outside the bounds by this tolerance
Definition: TRT_OverlapDescriptor.h:71
InDet::TRT_OverlapDescriptor::checkAndFill
int checkAndFill(std::vector< Trk::SurfaceIntersection > &cSurfaces, const Trk::Surface &sf, const Amg::Vector3D &pos, const Amg::Vector3D &dir) const
Definition: TRT_OverlapDescriptor.cxx:63