ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_PrepDataToxAOD.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
16
22
25
31
32#include <string>
33
34class TRT_ID;
35
36namespace InDetDD {
38}
39
41
42public:
44 // Constructor with parameters:
45 TRT_PrepDataToxAOD(const std::string &name,ISvcLocator *pSvcLocator);
46
47 // Basic algorithm methods:
48 virtual StatusCode initialize();
49 virtual StatusCode execute();
50 virtual StatusCode finalize();
51
52private:
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", ""};
73
74 // ---- Internal members
76
77};
78
79
80#endif
abstract interface to TRT calibration constants
Abstract interface to information on straws electronic grouping.
abstract interface to TRT straw status constants
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
virtual StatusCode finalize()
ServiceHandle< ITRT_StrawNeighbourSvc > m_neighbourSvc
virtual StatusCode initialize()
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_driftcirclecontainer
ToolHandle< ITRT_StrawStatusSummaryTool > m_TRTStrawSummaryTool
const TRT_ID * m_TRTHelper
const InDetDD::TRT_DetectorManager * m_trtman
Gaudi::Property< bool > m_writeSDOs
ToolHandle< ITRT_DriftFunctionTool > m_driftFunctionTool
Gaudi::Property< bool > m_useTruthInfo
SG::WriteHandleKey< xAOD::TrackMeasurementValidationContainer > m_xAodContainer
SG::ReadHandleKey< InDetSimDataCollection > m_SDOcontainer
ToolHandle< ITRT_CalDbTool > m_trtcaldbTool
TRT_PrepDataToxAOD(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< std::vector< unsigned int > > m_xAodOffset
virtual StatusCode execute()
SG::ReadHandleKey< PRD_MultiTruthCollection > m_multiTruth
Message Stream Member.