ATLAS Offline Software
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 
20 namespace 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 
74  {
75  *this = L;
76  }
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 
InDet::TRT_DriftCircleLinkN_xk::circle
const TRT_DriftCircle * circle() const
Definition: TRT_DriftCircleLinkN_xk.h:39
hist_file_dump.d
d
Definition: hist_file_dump.py:137
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TRT_DriftCircleLinkN_xk::operator=
TRT_DriftCircleLinkN_xk & operator=(const TRT_DriftCircleLinkN_xk &)
Definition: TRT_DriftCircleLinkN_xk.h:79
InDet::TRT_DriftCircleLinkN_xk::layer
unsigned int layer() const
Definition: TRT_DriftCircleLinkN_xk.h:43
InDet::TRT_DriftCircleLinkN_xk::m_circle
const TRT_DriftCircle * m_circle
Definition: TRT_DriftCircleLinkN_xk.h:52
InDet::TRT_DriftCircleLinkN_xk::m_address
unsigned int m_address
Definition: TRT_DriftCircleLinkN_xk.h:54
InDet::TRT_DriftCircle
Definition: TRT_DriftCircle.h:32
InDet::TRT_DriftCircleLinkN_xk::m_phi
float m_phi
Definition: TRT_DriftCircleLinkN_xk.h:53
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
InDet::TRT_DriftCircleLinkN_xk::buffer
unsigned int buffer() const
Definition: TRT_DriftCircleLinkN_xk.h:42
InDet::TRT_DriftCircleLinkN_xk
Definition: TRT_DriftCircleLinkN_xk.h:23
InDet::TRT_DriftCircleLinkN_xk::TRT_DriftCircleLinkN_xk
TRT_DriftCircleLinkN_xk()
Definition: TRT_DriftCircleLinkN_xk.h:66
TRT_DriftCircle.h
InDet::TRT_DriftCircleLinkN_xk::set
void set(const TRT_DriftCircle *const &, const float &, const unsigned int &)
Definition: TRT_DriftCircleLinkN_xk.h:92
InDet::TRT_DriftCircleLinkN_xk::address
const unsigned int & address() const
Definition: TRT_DriftCircleLinkN_xk.h:41
a
TList * a
Definition: liststreamerinfos.cxx:10
InDet::TRT_DriftCircleLinkN_xk::~TRT_DriftCircleLinkN_xk
~TRT_DriftCircleLinkN_xk()
Definition: TRT_DriftCircleLinkN_xk.h:89
InDet::TRT_DriftCircleLinkN_xk::phi
const float & phi() const
Definition: TRT_DriftCircleLinkN_xk.h:40