ATLAS Offline Software
MuonCalibSimpleHoleSearch.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCALIBSIMPLEHOLESEARCH_H
6 #define MUONCALIBSIMPLEHOLESEARCH_H
7 
8 #include <vector>
9 
16 
17 namespace MuonCalib {
18 
20  public:
21  struct Result {
22  Result() {}
23  Result(MuonFixedId id, const Amg::Vector3D& pos) : stationLayerId(id), intersectPosition(pos) {}
26  };
27  typedef std::vector<Result> ResultVec;
29 
30  public:
32 
33  ResultVec intersectsWithGeometry(const Amg::Vector3D& parPos, const Amg::Vector3D& parDir, double tolerance = 1e9);
34 
35  private:
37  void searchForSurfaceIntersect(const Amg::Vector3D& parPos, const Amg::Vector3D& parDir, const MuonCalibSurface& surf,
38  const MuonFixedId& stLayerId, ResultVec& intersects, double tolerance = 1e9) const;
39 
41  void init();
42 
46  typedef std::vector<std::pair<const MuonCalibSurface*, MuonFixedId> > SurfaceIdVec;
49  };
50 
51 } // namespace MuonCalib
52 
53 #endif
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
MuonCalib::MuonCalibSimpleHoleSearch::ResultVec
std::vector< Result > ResultVec
Definition: MuonCalibSimpleHoleSearch.h:27
MuonCalib::MuonCalibSimpleHoleSearch::ResultIt
ResultVec::iterator ResultIt
Definition: MuonCalibSimpleHoleSearch.h:28
MuonCalib::MuonCalibSimpleHoleSearch::Result::Result
Result(MuonFixedId id, const Amg::Vector3D &pos)
Definition: MuonCalibSimpleHoleSearch.h:23
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
MuonCalib::MuonCalibSimpleHoleSearch::Result::stationLayerId
MuonFixedId stationLayerId
Definition: MuonCalibSimpleHoleSearch.h:24
MuonCalib::MuonCalibSurface
Definition: MuonCalibSimpleGeometry.h:12
MuonCalib::MuonCalibSimpleHoleSearch::m_propagator
static MuonCalibSLPropagator m_propagator
Definition: MuonCalibSimpleHoleSearch.h:44
MuonCalib::MuonFixedIdManipulator
Definition: MuonFixedIdManipulator.h:14
GeoPrimitives.h
MuonCalib::MuonCalibSimpleHoleSearch::Result::Result
Result()
Definition: MuonCalibSimpleHoleSearch.h:22
MuonCalib::MuonCalibSimpleHoleSearch::m_idManipulator
static MuonFixedIdManipulator m_idManipulator
Definition: MuonCalibSimpleHoleSearch.h:45
MuonCalib::MuonCalibSimpleHoleSearch::m_surfaceIdList
static SurfaceIdVec m_surfaceIdList
Definition: MuonCalibSimpleHoleSearch.h:48
MuonCalib::MuonCalibSimpleHoleSearch::SurfaceIdVec
std::vector< std::pair< const MuonCalibSurface *, MuonFixedId > > SurfaceIdVec
Definition: MuonCalibSimpleHoleSearch.h:46
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonCalibSimpleHoleSearch
Definition: MuonCalibSimpleHoleSearch.h:19
tolerance
Definition: suep_shower.h:17
MuonCalib::MuonCalibSimpleHoleSearch::Result
Definition: MuonCalibSimpleHoleSearch.h:21
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
MuonCalib::MuonCalibSimpleHoleSearch::m_geometry
static MuonCalibSimpleGeometry m_geometry
Definition: MuonCalibSimpleHoleSearch.h:43
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.PyKernel.init
def init(v_theApp, v_rootStream=None)
Definition: PyKernel.py:45
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
MuonCalibSLPropagator.h
MuonCalib::MuonCalibSimpleHoleSearch::MuonCalibSimpleHoleSearch
MuonCalibSimpleHoleSearch()
Definition: MuonCalibSimpleHoleSearch.h:31
MuonCalib::MuonCalibSimpleHoleSearch::Result::intersectPosition
Amg::Vector3D intersectPosition
Definition: MuonCalibSimpleHoleSearch.h:25
MuonFixedIdManipulator.h
checker_macros.h
Define macros for attributes used to control the static checker.
MuonCalib::MuonCalibSLPropagator
straight line propagator
Definition: MuonCalibSLPropagator.h:17
MuonFixedId.h
MuonCalib::MuonCalibSimpleGeometry
Definition: MuonCalibSimpleGeometry.h:34
MuonCalib::MuonCalibSimpleHoleSearch::SurfaceIdIt
SurfaceIdVec::iterator SurfaceIdIt
Definition: MuonCalibSimpleHoleSearch.h:47
MuonCalibSimpleGeometry.h