ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetPrepRawDataToxAOD
src
TRT_PrepDataToxAOD.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TRT_PrepDataToxAOD.h
7
// Header file for class TRT_PrepDataToxAOD
9
10
#ifndef TRT_PREPDATATOXAOD_H
11
#define TRT_PREPDATATOXAOD_H
12
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "GaudiKernel/ToolHandle.h"
16
17
#include "
TRT_ConditionsServices/ITRT_StrawNeighbourSvc.h
"
18
#include "
TRT_ConditionsServices/ITRT_CalDbTool.h
"
19
#include "
TRT_ConditionsServices/ITRT_StrawStatusSummaryTool.h
"
20
#include "
TRT_DriftFunctionTool/ITRT_DriftFunctionTool.h
"
21
#include "
TRT_ReadoutGeometry/TRT_DetectorManager.h
"
22
23
#include "
StoreGate/ReadHandleKey.h
"
24
#include "
StoreGate/WriteHandleKey.h
"
25
26
#include "
InDetPrepRawData/TRT_DriftCircleContainer.h
"
27
#include "
InDetSimData/InDetSimDataCollection.h
"
28
#include "
TrkTruthData/PRD_MultiTruthCollection.h
"
29
#include "
xAODTracking/TrackMeasurementValidationContainer.h
"
30
#include "
xAODTracking/TrackMeasurementValidationAuxContainer.h
"
31
32
#include <string>
33
34
class
TRT_ID
;
35
36
namespace
InDetDD
{
37
class
TRT_DetectorManager
;
38
}
39
40
class
TRT_PrepDataToxAOD
:
public
AthAlgorithm
{
41
42
public
:
43
enum
EGasType
{
kUnset
=-128,
kXenon
=0,
kArgon
=1,
kKrypton
=2,
kEmAr
=6,
kEmKr
=7};
44
// Constructor with parameters:
45
using
AthAlgorithm::AthAlgorithm
;
46
47
// Basic algorithm methods:
48
virtual
StatusCode
initialize
();
49
virtual
StatusCode
execute
(
const
EventContext& ctx);
50
virtual
StatusCode
finalize
();
51
52
private
:
53
54
// --- Steering and configuration flags
55
Gaudi::Property<bool>
m_useTruthInfo
{
this
,
"UseTruthInfo"
,
false
,
"Use data object"
};
56
Gaudi::Property<bool>
m_writeSDOs
{
this
,
"WriteSDOs"
,
false
,
"Use data object"
};
57
58
// --- Configuration keys
59
SG::ReadHandleKey<InDet::TRT_DriftCircleContainer>
m_driftcirclecontainer
{
this
,
"DriftCircleContainer"
,
"TRT_DriftCircles"
,
"RHK to retrieve the drift Circle Container"
};
60
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_multiTruth
{
this
,
"PRD_MultiTruth"
,
"PRD_MultiTruthTRT"
,
"RHK to retrieve PRD multitruth"
};
61
SG::ReadHandleKey<InDetSimDataCollection>
m_SDOcontainer
{
this
,
"MC_TRTUncompressedHit"
,
"TRT_SDO_Map"
,
"RHK to retrieve TRT SDO map"
};
62
SG::WriteHandleKey<xAOD::TrackMeasurementValidationContainer>
m_xAodContainer
{
this
,
"TRTxAodContainer"
,
"TRT_DriftCircles"
,
"WHK to write the TRT drift circle container"
};
63
SG::WriteHandleKey<std::vector<unsigned int>
>
m_xAodOffset
{
this
,
"TRTxAodOffset"
,
"TRT_DriftCirclesOffsets"
,
"WHK to write the TRT drift circle offsets"
};
64
65
66
// --- Services and Tools
67
ToolHandle< ITRT_DriftFunctionTool >
m_driftFunctionTool
{
this
,
"TRTDriftFunctionTool"
,
"TRT_DriftFunctionTool"
,
"DriftFunctionTool"
};
68
ToolHandle<ITRT_CalDbTool>
m_trtcaldbTool
{
this
,
"TRTCalDbTool"
,
"TRT_CalDbTool"
,
""
};
69
ServiceHandle<ITRT_StrawNeighbourSvc>
m_neighbourSvc
{
this
,
"NeighbourSvc"
,
"TRT_StrawNeighbourSvc"
,
""
};
70
ToolHandle<ITRT_StrawStatusSummaryTool>
m_TRTStrawSummaryTool
{
this
,
"TRTStrawSummaryTool"
,
"TRT_StrawStatusSummaryTool"
,
""
};
71
const
TRT_ID
*
m_TRTHelper
{};
72
const
InDetDD::TRT_DetectorManager
*
m_trtman
{};
73
74
// ---- Internal members
75
bool
m_firstEventWarnings
{
true
};
76
77
};
78
79
80
#endif
AthAlgorithm.h
ITRT_CalDbTool.h
abstract interface to TRT calibration constants
ITRT_DriftFunctionTool.h
ITRT_StrawNeighbourSvc.h
Abstract interface to information on straws electronic grouping.
ITRT_StrawStatusSummaryTool.h
abstract interface to TRT straw status constants
InDetSimDataCollection.h
PRD_MultiTruthCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TRT_DetectorManager.h
TRT_DriftCircleContainer.h
TrackMeasurementValidationAuxContainer.h
TrackMeasurementValidationContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
InDetDD::TRT_DetectorManager
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Definition
TRT_DetectorManager.h:63
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
TRT_PrepDataToxAOD
Definition
TRT_PrepDataToxAOD.h:40
TRT_PrepDataToxAOD::finalize
virtual StatusCode finalize()
Definition
TRT_PrepDataToxAOD.cxx:305
TRT_PrepDataToxAOD::m_neighbourSvc
ServiceHandle< ITRT_StrawNeighbourSvc > m_neighbourSvc
Definition
TRT_PrepDataToxAOD.h:69
TRT_PrepDataToxAOD::initialize
virtual StatusCode initialize()
Definition
TRT_PrepDataToxAOD.cxx:42
TRT_PrepDataToxAOD::m_driftcirclecontainer
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_driftcirclecontainer
Definition
TRT_PrepDataToxAOD.h:59
TRT_PrepDataToxAOD::m_TRTStrawSummaryTool
ToolHandle< ITRT_StrawStatusSummaryTool > m_TRTStrawSummaryTool
Definition
TRT_PrepDataToxAOD.h:70
TRT_PrepDataToxAOD::m_TRTHelper
const TRT_ID * m_TRTHelper
Definition
TRT_PrepDataToxAOD.h:71
TRT_PrepDataToxAOD::m_trtman
const InDetDD::TRT_DetectorManager * m_trtman
Definition
TRT_PrepDataToxAOD.h:72
TRT_PrepDataToxAOD::m_writeSDOs
Gaudi::Property< bool > m_writeSDOs
Definition
TRT_PrepDataToxAOD.h:56
TRT_PrepDataToxAOD::m_driftFunctionTool
ToolHandle< ITRT_DriftFunctionTool > m_driftFunctionTool
Definition
TRT_PrepDataToxAOD.h:67
TRT_PrepDataToxAOD::m_useTruthInfo
Gaudi::Property< bool > m_useTruthInfo
Definition
TRT_PrepDataToxAOD.h:55
TRT_PrepDataToxAOD::m_firstEventWarnings
bool m_firstEventWarnings
Definition
TRT_PrepDataToxAOD.h:75
TRT_PrepDataToxAOD::m_xAodContainer
SG::WriteHandleKey< xAOD::TrackMeasurementValidationContainer > m_xAodContainer
Definition
TRT_PrepDataToxAOD.h:62
TRT_PrepDataToxAOD::m_SDOcontainer
SG::ReadHandleKey< InDetSimDataCollection > m_SDOcontainer
Definition
TRT_PrepDataToxAOD.h:61
TRT_PrepDataToxAOD::m_trtcaldbTool
ToolHandle< ITRT_CalDbTool > m_trtcaldbTool
Definition
TRT_PrepDataToxAOD.h:68
TRT_PrepDataToxAOD::EGasType
EGasType
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::kEmKr
@ kEmKr
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::kEmAr
@ kEmAr
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::kUnset
@ kUnset
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::kKrypton
@ kKrypton
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::kXenon
@ kXenon
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::kArgon
@ kArgon
Definition
TRT_PrepDataToxAOD.h:43
TRT_PrepDataToxAOD::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
TRT_PrepDataToxAOD::m_xAodOffset
SG::WriteHandleKey< std::vector< unsigned int > > m_xAodOffset
Definition
TRT_PrepDataToxAOD.h:63
TRT_PrepDataToxAOD::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TRT_PrepDataToxAOD.cxx:74
TRT_PrepDataToxAOD::m_multiTruth
SG::ReadHandleKey< PRD_MultiTruthCollection > m_multiTruth
Definition
TRT_PrepDataToxAOD.h:60
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0