ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetCosmics
InDetCosmicsEventPhase
InDetCosmicsEventPhase
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"
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
#include "GaudiKernel/MsgStream.h"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
TrkTrack/Track.h
"
18
#include "
TrkSegment/TrackSegment.h
"
19
#include "
TRT_ConditionsData/AverageT0.h
"
20
#include "
TRT_ConditionsServices/ITRT_CalDbTool.h
"
21
#include "
InDetCosmicsEventPhase/IInDetCosmicsEventPhaseTool.h
"
22
23
class
AtlasDetectorID
;
24
class
Identifier
;
25
26
namespace
InDet
27
{
28
34
35
class
InDetFixedWindowTrackTimeTool
:
virtual
public
IInDetCosmicsEventPhaseTool
,
public
AthAlgTool
36
{
37
public
:
38
InDetFixedWindowTrackTimeTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
39
41
virtual
~InDetFixedWindowTrackTimeTool
();
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
62
double
m_globalOffset
;
63
bool
m_useNewEP
;
64
double
m_windowCenter
;
65
double
m_windowSize
;
66
};
67
}
68
69
#endif
AthAlgTool.h
AverageT0.h
IInDetCosmicsEventPhaseTool.h
ITRT_CalDbTool.h
abstract interface to TRT calibration constants
ReadCondHandleKey.h
TrackSegment.h
Track.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
InDet::IInDetCosmicsEventPhaseTool
Definition
IInDetCosmicsEventPhaseTool.h:22
InDet::InDetFixedWindowTrackTimeTool::m_T0ReadKey
SG::ReadCondHandleKey< TRTCond::AverageT0 > m_T0ReadKey
Definition
InDetFixedWindowTrackTimeTool.h:59
InDet::InDetFixedWindowTrackTimeTool::m_useNewEP
bool m_useNewEP
Definition
InDetFixedWindowTrackTimeTool.h:63
InDet::InDetFixedWindowTrackTimeTool::initialize
virtual StatusCode initialize()
standard Athena-Algorithm method
Definition
InDetFixedWindowTrackTimeTool.cxx:41
InDet::InDetFixedWindowTrackTimeTool::InDetFixedWindowTrackTimeTool
InDetFixedWindowTrackTimeTool(const std::string &, const std::string &, const IInterface *)
Definition
InDetFixedWindowTrackTimeTool.cxx:20
InDet::InDetFixedWindowTrackTimeTool::m_windowSize
double m_windowSize
Definition
InDetFixedWindowTrackTimeTool.h:65
InDet::InDetFixedWindowTrackTimeTool::m_windowCenter
double m_windowCenter
Definition
InDetFixedWindowTrackTimeTool.h:64
InDet::InDetFixedWindowTrackTimeTool::findPhaseFromTE
double findPhaseFromTE(const Trk::Track *track) const
finds event phase of a track from the trailing edge
Definition
InDetFixedWindowTrackTimeTool.cxx:165
InDet::InDetFixedWindowTrackTimeTool::finalize
virtual StatusCode finalize()
standard Athena-Algorithm method
Definition
InDetFixedWindowTrackTimeTool.cxx:51
InDet::InDetFixedWindowTrackTimeTool::~InDetFixedWindowTrackTimeTool
virtual ~InDetFixedWindowTrackTimeTool()
default destructor
Definition
InDetFixedWindowTrackTimeTool.cxx:35
InDet::InDetFixedWindowTrackTimeTool::findPhase
double findPhase(const Trk::Track *track) const
finds event phase of a track from the leading edge
Definition
InDetFixedWindowTrackTimeTool.cxx:58
InDet::InDetFixedWindowTrackTimeTool::m_caldbtool
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
Definition
InDetFixedWindowTrackTimeTool.h:60
InDet::InDetFixedWindowTrackTimeTool::m_globalOffset
double m_globalOffset
Definition
InDetFixedWindowTrackTimeTool.h:62
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Trk::Segment
Base class for all TrackSegment implementations, extends the common MeasurementBase.
Definition
Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:56
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Identifier
Definition
IdentifierFieldParser.cxx:14
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0