ATLAS Offline Software
InnerDetector
InDetDetDescr
SCT_GeoModel
src
SCT_Identifier.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 "
SCT_GeoModel/SCT_Identifier.h
"
6
#include "
InDetIdentifier/SCT_ID.h
"
7
#include "Identifier/Identifier.h"
8
9
#include <cassert>
10
#include <iostream>
11
12
Identifier
13
SCT_Identifier::getWaferId
()
14
{
15
assert (
m_idHelper
);
16
return
m_idHelper
->
wafer_id
(
m_barrelEC
,
m_layerDisk
,
m_phiModule
,
m_etaModule
,
m_side
);
17
}
18
19
void
SCT_Identifier::print
()
const
20
{
21
std::cout <<
"2/2/"
<<
m_barrelEC
<<
"/"
22
<<
m_layerDisk
<<
"/"
23
<<
m_phiModule
<<
"/"
24
<<
m_etaModule
<<
"/"
25
<<
m_side
<< std::endl;
26
}
SCT_Identifier::m_etaModule
int m_etaModule
Definition:
SCT_Identifier.h:55
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
SCT_Identifier.h
SCT_Identifier::m_idHelper
const SCT_ID * m_idHelper
Definition:
SCT_Identifier.h:51
SCT_Identifier::m_layerDisk
int m_layerDisk
Definition:
SCT_Identifier.h:53
SCT_Identifier::getWaferId
Identifier getWaferId()
Definition:
SCT_Identifier.cxx:13
SCT_Identifier::print
void print() const
Definition:
SCT_Identifier.cxx:19
SCT_Identifier::m_barrelEC
int m_barrelEC
Definition:
SCT_Identifier.h:52
SCT_Identifier::m_phiModule
int m_phiModule
Definition:
SCT_Identifier.h:54
SCT_ID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
Definition:
SCT_ID.h:464
SCT_Identifier::m_side
int m_side
Definition:
SCT_Identifier.h:56
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Mon Dec 23 2024 21:17:54 for ATLAS Offline Software by
1.8.18