ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
SiSpacePointFormation
SiSpacePointFormation
SiElementPropertiesTable.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
Stores properties that are needed in SiSpacePointFinder.
7
--------------------------------------------------------
8
ATLAS Collaboration
9
***************************************************************************/
10
11
// $Id: SiElementPropertiesTable.h,v 1.3 2009-01-07 17:50:36 markuse Exp $
12
13
#ifndef SISPACEPOINTFORMATION_SIELEMENTPROPERTIESTABLE_H
14
#define SISPACEPOINTFORMATION_SIELEMENTPROPERTIESTABLE_H
15
16
#include "
SiSpacePointFormation/SiElementProperties.h
"
17
18
#include "
Identifier/IdentifierHash.h
"
19
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
20
21
#include <vector>
22
23
namespace
InDet
{
24
25
class
SiElementPropertiesTable
final
26
{
27
public
:
28
29
SiElementPropertiesTable
(
const
SCT_ID
& idHelper,
30
const
InDetDD::SiDetectorElementCollection
& elements,
31
float
epsilonWidth,
32
const
bool
doEndcapEtaNeighbours=
false
);
33
~SiElementPropertiesTable
() =
default
;
34
35
const
std::vector<IdentifierHash>*
neighbours
(
const
IdentifierHash
& waferID)
const
;
36
float
halfWidth
(
IdentifierHash
hashID)
const
;
37
38
private
:
39
std::vector<SiElementProperties>
m_properties
;
40
41
};
42
43
44
inline
const
std::vector<IdentifierHash>*
45
SiElementPropertiesTable::neighbours
(
const
IdentifierHash
& waferID)
const
46
{
47
return
(
m_properties
[(
unsigned
int
)waferID]).neighbours();
48
}
49
50
inline
float
51
SiElementPropertiesTable::halfWidth
(
IdentifierHash
waferID)
const
52
{
53
return
(
m_properties
[(
unsigned
int
)waferID]).halfWidth();
54
}
55
56
}
57
58
#include "
AthenaKernel/CLASS_DEF.h
"
59
CLASS_DEF
(
InDet::SiElementPropertiesTable
, 713446 , 1 )
60
#include "AthenaKernel/CondCont.h"
61
CONDCONT_MIXED_DEF
(
InDet::SiElementPropertiesTable
, 92686144 );
62
63
#endif
// SISPACEPOINTFORMATION_SIELEMENTPROPERTIESTABLE_H
CONDCONT_MIXED_DEF
#define CONDCONT_MIXED_DEF(...)
Definition
CondCont.h:1446
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
IdentifierHash.h
SiDetectorElementCollection.h
SiElementProperties.h
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
InDet::SiElementPropertiesTable
Definition
SiElementPropertiesTable.h:26
InDet::SiElementPropertiesTable::halfWidth
float halfWidth(IdentifierHash hashID) const
Definition
SiElementPropertiesTable.h:51
InDet::SiElementPropertiesTable::SiElementPropertiesTable
SiElementPropertiesTable(const SCT_ID &idHelper, const InDetDD::SiDetectorElementCollection &elements, float epsilonWidth, const bool doEndcapEtaNeighbours=false)
Definition
SiElementPropertiesTable.cxx:19
InDet::SiElementPropertiesTable::m_properties
std::vector< SiElementProperties > m_properties
Definition
SiElementPropertiesTable.h:39
InDet::SiElementPropertiesTable::~SiElementPropertiesTable
~SiElementPropertiesTable()=default
InDet::SiElementPropertiesTable::neighbours
const std::vector< IdentifierHash > * neighbours(const IdentifierHash &waferID) const
Definition
SiElementPropertiesTable.h:45
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0