ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_DriftCircleLinkN_xk.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Header file for class TRT_DriftCircleLink_xk
8// (c) ATLAS Detector software
10// Class for link to SCT amd PIXEL clusters
12// Version 1.0 3/10/2004 I.Gavrilenko
14
15#ifndef TRT_DriftCircleLinkN_xk_H
16#define TRT_DriftCircleLinkN_xk_H
17
19
20namespace InDet{
21
23 {
25 // Public methods:
27
28 public:
29
34
36 // Main methods
38
39 const TRT_DriftCircle* circle () const {return m_circle ;}
40 const float& phi () const {return m_phi ;}
41 const unsigned int& address() const {return m_address;}
42 unsigned int buffer () const {return m_address/1000;}
43 unsigned int layer () const {return m_address%1000;}
44 void set(const TRT_DriftCircle*const&, const float&, const unsigned int&);
45
46 protected:
47
49 // Protected Data
51
53 float m_phi ;
54 unsigned int m_address;
55
57 // Methods
59
60 };
61
63 // Inline methods
65
67 {
68 m_circle = 0 ;
69 m_phi = 0.;
70 m_address = 0 ;
71 }
72
77
78 inline TRT_DriftCircleLinkN_xk& TRT_DriftCircleLinkN_xk::operator =
79 (const TRT_DriftCircleLinkN_xk& L)
80 {
81 if(&L!=this) {
82 m_circle = L.m_circle ;
83 m_phi = L.m_phi ;
84 m_address = L.m_address;
85 }
86 return(*this);
87 }
88
90
92 (const TRT_DriftCircle* const& d, const float& p, const unsigned int& a)
93 {
94 m_circle = d;
95 m_phi = p;
96 m_address = a;
97 }
98
99} // end of name space
100
101#endif // TRT_DriftCircleLinkN_xk
102
103
static Double_t a
const unsigned int & address() const
const TRT_DriftCircle * circle() const
TRT_DriftCircleLinkN_xk & operator=(const TRT_DriftCircleLinkN_xk &)
void set(const TRT_DriftCircle *const &, const float &, const unsigned int &)
Primary Vertex Finder.