ATLAS Offline Software
Loading...
Searching...
No Matches
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>
7namespace InDetDD {
9}
10
11class PixelID;
12class SCT_ID;
13
15
16public:
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
28private:
30 std::variant<const PixelID*, const SCT_ID*> m_helper;
31 const PixelID* getPixelIDHelper() const;
32 const SCT_ID* getSCTIDHelper() const;
33
34
35};
const InDetDD::SiDetectorElement * m_elem
int phi_module() const
std::variant< const PixelID *, const SCT_ID * > m_helper
int eta_module_max() const
const SCT_ID * getSCTIDHelper() const
int eta_module() const
const PixelID * getPixelIDHelper() const
int layer_disk() const
int phi_module_max() const
IdentityHelper(const InDetDD::SiDetectorElement *detElem)
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Message Stream Member.