ATLAS Offline Software
IdentityHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #pragma once
6 #include <variant>
7 namespace InDetDD {
8  class SiDetectorElement;
9 }
10 
11 class PixelID;
12 class SCT_ID;
13 
15 
16 public:
18 
19  int bec() const;
20  int layer_disk() const;
21  int phi_module() const;
22  int eta_module() const;
23  int side() const;
24 
25  int phi_module_max() const;
26  int eta_module_max() const;
27 
28 private:
30  std::variant<const PixelID*, const SCT_ID*> m_helper;
31  const PixelID* getPixelIDHelper() const;
32  const SCT_ID* getSCTIDHelper() const;
33 
34 
35 };
IdentityHelper::phi_module
int phi_module() const
Definition: IdentityHelper.cxx:61
IdentityHelper::layer_disk
int layer_disk() const
Definition: IdentityHelper.cxx:49
IdentityHelper::phi_module_max
int phi_module_max() const
Definition: IdentityHelper.cxx:97
IdentityHelper::getPixelIDHelper
const PixelID * getPixelIDHelper() const
Definition: IdentityHelper.cxx:26
IdentityHelper::side
int side() const
Definition: IdentityHelper.cxx:85
IdentityHelper::m_helper
std::variant< const PixelID *, const SCT_ID * > m_helper
Definition: IdentityHelper.h:30
IdentityHelper::m_elem
const InDetDD::SiDetectorElement * m_elem
Definition: IdentityHelper.h:29
IdentityHelper::eta_module
int eta_module() const
Definition: IdentityHelper.cxx:73
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
IdentityHelper::bec
int bec() const
Definition: IdentityHelper.cxx:37
IdentityHelper::eta_module_max
int eta_module_max() const
Definition: IdentityHelper.cxx:109
IdentityHelper::IdentityHelper
IdentityHelper(const InDetDD::SiDetectorElement *detElem)
Definition: IdentityHelper.cxx:12
SCT_ID
Definition: SCT_ID.h:68
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
IdentityHelper::getSCTIDHelper
const SCT_ID * getSCTIDHelper() const
Definition: IdentityHelper.cxx:31
IdentityHelper
Definition: IdentityHelper.h:14
PixelID
Definition: PixelID.h:67