ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_DriftCircleToolCosmics.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Header file for class TRT_DriftCircleToolCosmics
8// (c) ATLAS Detector software
10// Interface for TRT RDI collection production
12// Version 1.0 18/02/2003 I.Gavrilenko
14
15#ifndef TRT_DriftCircleToolCosmics_H
16#define TRT_DriftCircleToolCosmics_H
17
19
23#include "GaudiKernel/ToolHandle.h"
24#include "GaudiKernel/ServiceHandle.h"
29
32class TRT_ID;
33class TRT_RDORawData;
34class TRT_DriftCircleCollection;
35class TRT_DriftCircle;
36
37
38namespace InDet {
44
45{
47 // Public methods:
49
50public:
52 TRT_DriftCircleToolCosmics(const std::string&,const std::string&,const IInterface*);
56 virtual StatusCode initialize();
58 virtual StatusCode finalize ();
60 virtual InDet::TRT_DriftCircleCollection*
61 convert(int,const InDetRawDataCollection<TRT_RDORawData>*, const EventContext& ctx,
62 DataPool<TRT_DriftCircle>* dataItemsPool,
63 const bool CTBBadChannels) const;
64 virtual bool passValidityGate(unsigned int word, float lowGate, float highGate, float t0) const;
65
67 // Private methods:
69
70 private:
71
73 // Private data:
75 SG::ReadHandleKey<ComTime> m_evtPhaseKey{this, "TRT_Phase", "TRT_Phase",
76 "RHK to retrieve TRT Phase"};
78 {this, "TRTDetEleContKey", "TRT_DetElementContainer",
79 "Key of TRT_DetElementContainer for TRT"};
80
81 ToolHandle< ITRT_DriftFunctionTool > m_driftFunctionTool
82 {this, "TRTDriftFunctionTool", "TRT_DriftFunctionTool"};
83 ToolHandle<ITRT_StrawStatusSummaryTool> m_ConditionsSummary
84 {this, "ConditionsSummaryTool", "TRT_StrawStatusSummaryTool",
85 "The ConditionsSummaryTool"};
86
87 BooleanProperty m_useConditionsStatus{this, "UseConditionsStatus", false,
88 "Shall the ConditionsSummaryTool be used?"};
89 const TRT_ID* m_trtid = nullptr;
90 FloatProperty m_global_offset{this, "GlobalPhaseOffset", 0.,
91 "Global offset to TRT Phase"};
92 BooleanProperty m_useToTCorrection{this, "useDriftTimeToTCorrection", false,
93 "Shall the Time over Threshold correction be used?"};
94 BooleanProperty m_useHTCorrection{this, "useDriftTimeHTCorrection", false,
95 "Shall the High Threshold correction be used?"};
96
97};
98
99} // end of namespace
100
101#endif // TRT_DriftCircleToolCosmics_H
abstract interface to TRT straw status constants
static Double_t t0
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
a typed memory pool that saves time spent allocation small object.
Definition DataPool.h:63
Interface class for service providing summary of status of a detector element.
Interface to AlgTool TRT_DriftFunctionTool.
Interface class for TRT_DriftCircleTool.
virtual bool passValidityGate(unsigned int word, float lowGate, float highGate, float t0) const
test validity gate for corrected drift times
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
SG::ReadHandleKey< ComTime > m_evtPhaseKey
ToolHandle< ITRT_DriftFunctionTool > m_driftFunctionTool
ToolHandle< ITRT_StrawStatusSummaryTool > m_ConditionsSummary
TRT_DriftCircleToolCosmics(const std::string &, const std::string &, const IInterface *)
constructor
virtual StatusCode initialize()
initialize needed services
virtual ~TRT_DriftCircleToolCosmics()
constructor
const TRT_ID * m_trtid
TRT id helper handle.
virtual InDet::TRT_DriftCircleCollection * convert(int, const InDetRawDataCollection< TRT_RDORawData > *, const EventContext &ctx, DataPool< TRT_DriftCircle > *dataItemsPool, const bool CTBBadChannels) const
make the conversion from RDOs to DriftCircles
Property holding a SG store/key/clid from which a ReadHandle is made.
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
Primary Vertex Finder.