ATLAS Offline Software
LArCalorimeter
LArGeoModel
LArGeoCode
LArGeoCode
LArAlignHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARGEOCODE_LARALIGNHELPER_H
6
#define LARGEOCODE_LARALIGNHELPER_H
7
15
#include "GaudiKernel/ServiceHandle.h"
16
#include "
AthenaBaseComps/AthMessaging.h
"
17
#include "
StoreGate/StoreGateSvc.h
"
18
#include <vector>
19
#include <string>
20
21
class
DetCondKeyTrans
;
22
class
GeoAlignmentStore
;
23
24
class
LArAlignHelper
:
public
AthMessaging
25
{
26
public
:
27
LArAlignHelper
();
28
29
StatusCode
applyAlignments
(
const
ServiceHandle<StoreGateSvc>
&
detStore
30
,
const
DetCondKeyTrans
* detCondKeyTrans
31
,
GeoAlignmentStore
* alignmentStore)
const
;
32
33
private
:
34
std::vector<std::string>
m_alignNames
{
"LARCRYO_B"
35
,
"LARCRYO_EC_POS"
36
,
"LARCRYO_EC_NEG"
37
,
"PRESAMPLER_B_POS"
38
,
"PRESAMPLER_B_NEG"
39
,
"EMB_POS"
40
,
"EMB_NEG"
41
,
"PRESAMPLER_EC_POS"
42
,
"PRESAMPLER_EC_NEG"
43
,
"EMEC_POS"
44
,
"EMEC_NEG"
45
,
"HEC_POS"
// Policy: either HEC_POS is present or HEC1_POS and HEC2_POS. The same applies to HEC_NEG
46
,
"HEC_NEG"
// Now in recent releases if HEC_POS is found it will be applied to both HEC1 and HEC2...
47
,
"HEC1_POS"
48
,
"HEC1_NEG"
49
,
"HEC2_POS"
50
,
"HEC2_NEG"
51
,
"FCAL1_POS"
52
,
"FCAL1_NEG"
53
,
"FCAL2_POS"
54
,
"FCAL2_NEG"
55
,
"FCAL3_POS"
56
,
"FCAL3_NEG"
57
,
"SOLENOID"
58
};
59
};
60
61
#endif
GeoAlignmentStore
Ensure that the extensions for the Vector3D are properly loaded.
Definition:
GeoAlignmentStore.h:24
LArAlignHelper
Helper class for applying LAr alignments either from LArDetectorToolNV or from LArAlignCondAlg.
Definition:
LArAlignHelper.h:25
DetCondKeyTrans
Class to hold set of HepGeom::Transform3D keyed by string value for storage in the conditions DB typi...
Definition:
DetCondKeyTrans.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition:
AthMessaging.h:55
python.PyKernel.detStore
detStore
Definition:
PyKernel.py:41
LArAlignHelper::applyAlignments
StatusCode applyAlignments(const ServiceHandle< StoreGateSvc > &detStore, const DetCondKeyTrans *detCondKeyTrans, GeoAlignmentStore *alignmentStore) const
Definition:
LArAlignHelper.cxx:20
AthMessaging.h
LArAlignHelper::m_alignNames
std::vector< std::string > m_alignNames
Definition:
LArAlignHelper.h:34
LArAlignHelper::LArAlignHelper
LArAlignHelper()
Definition:
LArAlignHelper.cxx:15
StoreGateSvc.h
ServiceHandle< StoreGateSvc >
Generated on Sun Dec 22 2024 21:13:12 for ATLAS Offline Software by
1.8.18