ATLAS Offline Software
Loading...
Searching...
No Matches
InDetFixedWindowTrackTimeTool.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 InDetInDetFixedWindowTrackTimeTool_h
10#define InDetInDetFixedWindowTrackTimeTool_h
11
12#include "GaudiKernel/AlgTool.h"
14#include "GaudiKernel/ToolHandle.h"
15#include "GaudiKernel/MsgStream.h"
17#include "TrkTrack/Track.h"
22
23class AtlasDetectorID;
24class Identifier;
25
26namespace InDet
27{
28
34
36 {
37 public:
38 InDetFixedWindowTrackTimeTool(const std::string&,const std::string&,const IInterface*);
39
42
44 virtual StatusCode initialize();
46 virtual StatusCode finalize ();
47
49 double findPhase(const Trk::Track *track) const;
50
52 double findPhase(const Trk::Segment *segment) const;
53
55 double findPhaseFromTE(const Trk::Track *track) const;
56
57 private:
58
59 SG::ReadCondHandleKey<TRTCond::AverageT0> m_T0ReadKey{this,"T0ReadKey","AverageT0","Average T0 in-key"};
60 ToolHandle<ITRT_CalDbTool> m_caldbtool ;
61
66 };
67}
68
69#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...
SG::ReadCondHandleKey< TRTCond::AverageT0 > m_T0ReadKey
virtual StatusCode initialize()
standard Athena-Algorithm method
InDetFixedWindowTrackTimeTool(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
virtual StatusCode finalize()
standard Athena-Algorithm method
double findPhase(const Trk::Track *track) const
finds event phase of a track from the leading edge
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
Base class for all TrackSegment implementations, extends the common MeasurementBase.
Primary Vertex Finder.