ATLAS Offline Software
Loading...
Searching...
No Matches
InDetCosmicsEventPhaseTool.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 INDETINDETCOSMICSEVENTPHASETOOL_H
10#define INDETINDETCOSMICSEVENTPHASETOOL_H
11
12#include "GaudiKernel/AlgTool.h"
14#include "GaudiKernel/ToolHandle.h"
15
20
21class AtlasDetectorID;
22class Identifier;
23namespace Trk{
24 class Track;
25 class Segment;
26}
27
28namespace InDet
29{
30
36
38 {
39 public:
40 InDetCosmicsEventPhaseTool(const std::string&,const std::string&,const IInterface*);
41
44
46 virtual StatusCode initialize();
48 virtual StatusCode finalize ();
49
51 double findPhase(const Trk::Track *track) const;
52
54 double findPhase(const Trk::Segment *segment) const;
55
57 double findPhaseFromTE(const Trk::Track *track) const;
58
59 private:
60
61
62 SG::ReadCondHandleKey<TRTCond::AverageT0> m_T0ReadKey{this,"T0ReadKey","AverageT0","Average T0 in-key"};
63
64 ToolHandle<ITRT_CalDbTool> m_caldbtool ;
65
68 };
69}
70
71#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...
double findPhase(const Trk::Track *track) const
finds event phase of a track from the leading edge
InDetCosmicsEventPhaseTool(const std::string &, const std::string &, const IInterface *)
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
double findPhaseFromTE(const Trk::Track *track) const
finds event phase of a track from the trailing edge
SG::ReadCondHandleKey< TRTCond::AverageT0 > m_T0ReadKey
virtual StatusCode finalize()
standard Athena-Algorithm method
virtual StatusCode initialize()
standard Athena-Algorithm method
virtual ~InDetCosmicsEventPhaseTool()
default destructor
Base class for all TrackSegment implementations, extends the common MeasurementBase.
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.