ATLAS Offline Software
MuonSpectrometer
MuonCalib
MdtCalib
MdtCalibFitters
MdtCalibFitters
LocalSegmentResolver.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
// LocalSegmentResolver.h
6
// Header file for class MdtSegment
8
// (c) ATLAS Detector software
10
// nveldik@nikhef.nl
12
13
#ifndef MUONCALIB_LOCALSEGMENTRESOLVER_H
14
#define MUONCALIB_LOCALSEGMENTRESOLVER_H
15
16
// stl includes
17
#include <vector>
18
19
#include "
GeoPrimitives/GeoPrimitives.h
"
20
#include "
MuonCalibEventBase/MuonCalibSegment.h
"
21
22
class
MdtCalibHitBase;
23
24
namespace
MuonCalib
{
25
32
class
LocalSegmentResolver
{
33
public
:
35
LocalSegmentResolver
();
36
38
bool
resolve
(
MuonCalibSegment
* seg)
const
;
39
41
void
setPrintLevel
(
int
level
) {
m_printLevel
=
level
; }
42
43
private
:
44
typedef
MuonCalibSegment::MdtHitVec
HitVec
;
45
typedef
std::pair<Amg::Vector3D, Amg::Vector3D>
Line
;
46
typedef
std::vector<Line>
LineVec
;
47
48
private
:
49
LineVec
getLines
(
const
MdtCalibHitBase
& firstHit,
const
MdtCalibHitBase
& lastHit)
const
;
50
51
int
bestLine
(
const
HitVec
&
hits
,
const
LineVec
& localTracks)
const
;
52
54
int
m_printLevel
;
55
};
56
57
}
// namespace MuonCalib
58
59
#endif
TRTCalib_Extractor.hits
hits
Definition:
TRTCalib_Extractor.py:35
MuonCalibSegment.h
MuonCalib::LocalSegmentResolver::getLines
LineVec getLines(const MdtCalibHitBase &firstHit, const MdtCalibHitBase &lastHit) const
Definition:
LocalSegmentResolver.cxx:50
MuonCalib::MuonCalibSegment::MdtHitVec
std::vector< MdtHitPtr > MdtHitVec
Definition:
MuonCalibSegment.h:45
MuonCalib::MuonCalibSegment
Definition:
MuonCalibSegment.h:39
MuonCalib::LocalSegmentResolver::setPrintLevel
void setPrintLevel(int level)
set print level
Definition:
LocalSegmentResolver.h:41
MuonCalib::LocalSegmentResolver
Definition:
LocalSegmentResolver.h:32
python.iconfTool.models.loaders.level
level
Definition:
loaders.py:20
GeoPrimitives.h
MuonCalib::LocalSegmentResolver::LineVec
std::vector< Line > LineVec
Definition:
LocalSegmentResolver.h:46
MuonCalib::LocalSegmentResolver::m_printLevel
int m_printLevel
print level
Definition:
LocalSegmentResolver.h:54
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
MuonCalib::LocalSegmentResolver::Line
std::pair< Amg::Vector3D, Amg::Vector3D > Line
Definition:
LocalSegmentResolver.h:45
MuonCalib::LocalSegmentResolver::bestLine
int bestLine(const HitVec &hits, const LineVec &localTracks) const
Definition:
LocalSegmentResolver.cxx:186
MuonCalib::MdtCalibHitBase
Definition:
MdtCalibHitBase.h:38
MuonCalib::LocalSegmentResolver::LocalSegmentResolver
LocalSegmentResolver()
constructor
Definition:
LocalSegmentResolver.cxx:16
MuonCalib::LocalSegmentResolver::resolve
bool resolve(MuonCalibSegment *seg) const
resolve local position and direction of the track segment
Definition:
LocalSegmentResolver.cxx:18
MuonCalib::LocalSegmentResolver::HitVec
MuonCalibSegment::MdtHitVec HitVec
Definition:
LocalSegmentResolver.h:44
Generated on Sun Dec 22 2024 21:13:53 for ATLAS Offline Software by
1.8.18