ATLAS Offline Software
Loading...
Searching...
No Matches
InDetSlidingWindowTrackTimeTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
6// InDetCosmicsEventPhaseTool.h, (c) ATLAS Detector software
8
9#ifndef InDetInDetSlidingWindowTrackTimeTool_h
10#define InDetInDetSlidingWindowTrackTimeTool_h
11
12#include "GaudiKernel/AlgTool.h"
14#include "GaudiKernel/ToolHandle.h"
15#include "GaudiKernel/MsgStream.h"
18
21
22class AtlasDetectorID;
23class Identifier;
24namespace Trk{
25 class Track;
26 class Segment;
27}
28
29namespace InDet
30{
31
37
39 {
40 public:
41 InDetSlidingWindowTrackTimeTool(const std::string&,const std::string&,const IInterface*);
42
45
47 virtual StatusCode initialize();
49 virtual StatusCode finalize ();
50
52 double findPhase(const Trk::Track *track) const;
53
55 double findPhase(const Trk::Segment *segment) const;
56
58 double findPhaseFromTE(const Trk::Track *track) const;
59
60 private:
61
62
63 ToolHandle<ITRT_CalDbTool> m_caldbtool ;
64 SG::ReadCondHandleKey<TRTCond::AverageT0> m_T0ReadKey{this,"T0ReadKey","AverageT0","Average T0 in-key"};
69 };
70}
71
72#endif
abstract interface to TRT calibration constants
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
virtual StatusCode initialize()
standard Athena-Algorithm method
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
SG::ReadCondHandleKey< TRTCond::AverageT0 > m_T0ReadKey
virtual StatusCode finalize()
standard Athena-Algorithm method
InDetSlidingWindowTrackTimeTool(const std::string &, const std::string &, const IInterface *)
double findPhaseFromTE(const Trk::Track *track) const
finds event phase of a track from the trailing edge
double findPhase(const Trk::Track *track) const
finds event phase of a track from the leading edge
Base class for all TrackSegment implementations, extends the common MeasurementBase.
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.