ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetCosmics
InDetCosmicsEventPhase
InDetCosmicsEventPhase
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"
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
16
#include "
TRT_ConditionsServices/ITRT_CalDbTool.h
"
17
#include "
InDetCosmicsEventPhase/IInDetCosmicsEventPhaseTool.h
"
18
#include "
TRT_ConditionsData/AverageT0.h
"
19
#include "
StoreGate/ReadCondHandleKey.h
"
20
21
class
AtlasDetectorID
;
22
class
Identifier
;
23
namespace
Trk
{
24
class
Track
;
25
class
Segment
;
26
}
27
28
namespace
InDet
29
{
30
36
37
class
InDetCosmicsEventPhaseTool
:
virtual
public
IInDetCosmicsEventPhaseTool
,
public
AthAlgTool
38
{
39
public
:
40
InDetCosmicsEventPhaseTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
41
43
virtual
~InDetCosmicsEventPhaseTool
();
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
66
double
m_globalOffset
;
67
bool
m_useNewEP
;
68
};
69
}
70
71
#endif
AthAlgTool.h
AverageT0.h
IInDetCosmicsEventPhaseTool.h
ITRT_CalDbTool.h
abstract interface to TRT calibration constants
ReadCondHandleKey.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::InDetCosmicsEventPhaseTool::findPhase
double findPhase(const Trk::Track *track) const
finds event phase of a track from the leading edge
Definition
InDetCosmicsEventPhaseTool.cxx:60
InDet::InDetCosmicsEventPhaseTool::InDetCosmicsEventPhaseTool
InDetCosmicsEventPhaseTool(const std::string &, const std::string &, const IInterface *)
Definition
InDetCosmicsEventPhaseTool.cxx:24
InDet::InDetCosmicsEventPhaseTool::m_caldbtool
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
Definition
InDetCosmicsEventPhaseTool.h:64
InDet::InDetCosmicsEventPhaseTool::findPhaseFromTE
double findPhaseFromTE(const Trk::Track *track) const
finds event phase of a track from the trailing edge
Definition
InDetCosmicsEventPhaseTool.cxx:154
InDet::InDetCosmicsEventPhaseTool::m_globalOffset
double m_globalOffset
Definition
InDetCosmicsEventPhaseTool.h:66
InDet::InDetCosmicsEventPhaseTool::m_T0ReadKey
SG::ReadCondHandleKey< TRTCond::AverageT0 > m_T0ReadKey
Definition
InDetCosmicsEventPhaseTool.h:62
InDet::InDetCosmicsEventPhaseTool::finalize
virtual StatusCode finalize()
standard Athena-Algorithm method
Definition
InDetCosmicsEventPhaseTool.cxx:54
InDet::InDetCosmicsEventPhaseTool::m_useNewEP
bool m_useNewEP
Definition
InDetCosmicsEventPhaseTool.h:67
InDet::InDetCosmicsEventPhaseTool::initialize
virtual StatusCode initialize()
standard Athena-Algorithm method
Definition
InDetCosmicsEventPhaseTool.cxx:43
InDet::InDetCosmicsEventPhaseTool::~InDetCosmicsEventPhaseTool
virtual ~InDetCosmicsEventPhaseTool()
default destructor
Definition
InDetCosmicsEventPhaseTool.cxx:37
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
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0