ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
20
21#include <vector>
22
23namespace InDet {
24
26{
27public:
28
29 SiElementPropertiesTable(const SCT_ID& idHelper,
31 float epsilonWidth,
32 const bool doEndcapEtaNeighbours=false);
34
35 const std::vector<IdentifierHash>* neighbours(const IdentifierHash& waferID) const;
36 float halfWidth(IdentifierHash hashID) const;
37
38private:
39 std::vector<SiElementProperties> m_properties;
40
41};
42
43
44inline const std::vector<IdentifierHash>*
46{
47 return (m_properties[(unsigned int)waferID]).neighbours();
48}
49
50inline float
52{
53 return (m_properties[(unsigned int)waferID]).halfWidth();
54}
55
56}
57
60#include "AthenaKernel/CondCont.h"
62
63#endif // SISPACEPOINTFORMATION_SIELEMENTPROPERTIESTABLE_H
#define CONDCONT_MIXED_DEF(...)
Definition CondCont.h:1446
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is a "hash" representation of an Identifier.
Class to hold the SiDetectorElement objects to be put in the detector store.
float halfWidth(IdentifierHash hashID) const
SiElementPropertiesTable(const SCT_ID &idHelper, const InDetDD::SiDetectorElementCollection &elements, float epsilonWidth, const bool doEndcapEtaNeighbours=false)
std::vector< SiElementProperties > m_properties
const std::vector< IdentifierHash > * neighbours(const IdentifierHash &waferID) const
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Primary Vertex Finder.