ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetExample
InDetDetDescrExample
InDetDetDescrExample
TestSiAlignment.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef InDetDetDescrExample_TestSiAlignment_h
6
#define InDetDetDescrExample_TestSiAlignment_h
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
ReadoutGeometryBase/SiCellId.h
"
11
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
12
#include "
ReadoutGeometryBase/SiLocalPosition.h
"
13
#include "
GeoPrimitives/GeoPrimitives.h
"
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
16
#include <vector>
17
18
class
Identifier
;
19
20
namespace
InDetDD
{
21
class
SiDetectorManager
;
22
class
SiDetectorElement
;
23
}
24
26
27
class
TestSiAlignment
:
public
AthAlgorithm
{
28
public
:
29
TestSiAlignment
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
StatusCode
initialize
();
31
StatusCode
execute
(
const
EventContext& ctx);
32
StatusCode
finalize
();
33
34
private
:
35
void
printAlignmentShifts
(
const
bool
accessDuringInitialization);
36
bool
testIdentity
(
const
Amg::Transform3D
& transform,
double
errRot=0,
double
errTrans=0);
37
void
extractAlphaBetaGamma
(
const
Amg::Transform3D
& trans,
double
& alpha,
double
& beta,
double
&gamma)
const
;
38
const
InDetDD::SiDetectorManager
*
m_manager
;
39
std::string
m_managerName
;
40
bool
m_longPrintOut
;
41
double
m_errRot
;
42
double
m_errTrans
;
43
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_detEleCollKey
{
this
,
"DetEleCollKey"
,
"SCT_DetectorElementCollection"
,
"Key of SiDetectorElementCollection"
};
44
};
45
46
#endif
// InDetDetDescrExample_TestSiAlignment_h
AthAlgorithm.h
GeoPrimitives.h
ReadCondHandleKey.h
SiCellId.h
SiDetectorElementCollection.h
SiLocalPosition.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
InDetDD::SiDetectorManager
Base class for Pixel and SCT Detector managers.
Definition
SiDetectorManager.h:60
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TestSiAlignment::m_detEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_detEleCollKey
Definition
TestSiAlignment.h:43
TestSiAlignment::extractAlphaBetaGamma
void extractAlphaBetaGamma(const Amg::Transform3D &trans, double &alpha, double &beta, double &gamma) const
Definition
TestSiAlignment.cxx:159
TestSiAlignment::m_longPrintOut
bool m_longPrintOut
Definition
TestSiAlignment.h:40
TestSiAlignment::m_manager
const InDetDD::SiDetectorManager * m_manager
Definition
TestSiAlignment.h:38
TestSiAlignment::initialize
StatusCode initialize()
Definition
TestSiAlignment.cxx:56
TestSiAlignment::testIdentity
bool testIdentity(const Amg::Transform3D &transform, double errRot=0, double errTrans=0)
Definition
TestSiAlignment.cxx:138
TestSiAlignment::m_errRot
double m_errRot
Definition
TestSiAlignment.h:41
TestSiAlignment::finalize
StatusCode finalize()
Definition
TestSiAlignment.cxx:187
TestSiAlignment::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TestSiAlignment.cxx:180
TestSiAlignment::printAlignmentShifts
void printAlignmentShifts(const bool accessDuringInitialization)
Definition
TestSiAlignment.cxx:75
TestSiAlignment::m_errTrans
double m_errTrans
Definition
TestSiAlignment.h:42
TestSiAlignment::m_managerName
std::string m_managerName
Definition
TestSiAlignment.h:39
TestSiAlignment::TestSiAlignment
TestSiAlignment(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TestSiAlignment.cxx:42
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Identifier
Definition
IdentifierFieldParser.cxx:14
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0