ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22class MdtCalibHitBase;
23
24namespace MuonCalib {
25
31
33 public:
36
38 bool resolve(MuonCalibSegment* seg) const;
39
41 void setPrintLevel(int level) { m_printLevel = level; }
42
43 private:
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
55 };
56
57} // namespace MuonCalib
58
59#endif
void setPrintLevel(int level)
set print level
int bestLine(const HitVec &hits, const LineVec &localTracks) const
MuonCalibSegment::MdtHitVec HitVec
LineVec getLines(const MdtCalibHitBase &firstHit, const MdtCalibHitBase &lastHit) const
bool resolve(MuonCalibSegment *seg) const
resolve local position and direction of the track segment
std::pair< Amg::Vector3D, Amg::Vector3D > Line
Athena-independent part of the MdtCalibHit.
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
std::vector< MdtHitPtr > MdtHitVec
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.