ATLAS Offline Software
ForwardDetectors
LUCID
LUCID_Identifier
src
LUCID_DetElemHash.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LUCID_Identifier/LUCID_DetElemHash.h
"
6
#include "
Identifier/IdentifierHash.h
"
7
8
9
//__________________________________________________________________________
10
LUCID_DetElemHash::LUCID_DetElemHash
()
11
:
12
m_helper(nullptr),
13
m_context(nullptr),
14
m_max(16)
15
{}
16
//__________________________________________________________________________
17
LUCID_DetElemHash::LUCID_DetElemHash
(
const
LUCID_DetElemHash
&
other
)
18
{
19
m_helper
=
other
.m_helper;
20
// IdContext& cntx = *other.m_context;
21
// m_context = new IdContext(cntx.prefix_id(), cntx.begin_index(), cntx.end_index());
22
m_max
=
other
.m_max;
23
m_context
=
nullptr
;
24
}
25
//__________________________________________________________________________
26
LUCID_DetElemHash::~LUCID_DetElemHash
()
27
{
28
// delete m_context;
29
}
30
31
//__________________________________________________________________________
32
int
LUCID_DetElemHash::max
()
const
33
{
34
return
m_max
;
35
}
36
LUCID_DetElemHash::~LUCID_DetElemHash
~LUCID_DetElemHash()
Definition:
LUCID_DetElemHash.cxx:26
LUCID_DetElemHash::max
int max() const
Definition:
LUCID_DetElemHash.cxx:32
LUCID_DetElemHash::m_helper
const IdHelper * m_helper
Definition:
LUCID_DetElemHash.h:28
LUCID_DetElemHash::LUCID_DetElemHash
LUCID_DetElemHash()
Definition:
LUCID_DetElemHash.cxx:10
IdentifierHash.h
LUCID_DetElemHash
Definition:
LUCID_DetElemHash.h:15
InDetDD::other
@ other
Definition:
InDetDD_Defs.h:16
LUCID_DetElemHash::m_context
IdContext * m_context
Definition:
LUCID_DetElemHash.h:29
LUCID_DetElemHash::m_max
int m_max
Definition:
LUCID_DetElemHash.h:30
LUCID_DetElemHash.h
Generated on Thu Nov 7 2024 21:20:15 for ATLAS Offline Software by
1.8.18