ATLAS Offline Software
InnerDetector
InDetCalibAlgs
TRT_CalibAlgs
TRT_CalibAlgs
TRTOccupancyInclude.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRT_CALIBALGS_TRTOCCUPANCYINCLUDE_H
6
#define TRT_CALIBALGS_TRTOCCUPANCYINCLUDE_H
7
8
#include <string>
9
#include <vector>
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "GaudiKernel/ServiceHandle.h"
13
14
#include "
TRT_ElectronPidTools/ITRT_LocalOccupancy.h
"
15
16
#include "
StoreGate/ReadHandleKey.h
"
17
18
#include "
xAODEventInfo/EventInfo.h
"
19
31
namespace
InDet
{
32
class
ITRT_LocalOccupancy
;
33
}
34
35
class
TRTOccupancyInclude
:
public
AthAlgorithm
36
{
37
38
public
:
39
40
TRTOccupancyInclude
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
41
~TRTOccupancyInclude
(
void
);
42
43
StatusCode
initialize
(
void
);
44
StatusCode
execute
(
void
);
45
StatusCode
finalize
(
void
);
46
47
private
:
48
49
50
ToolHandle<InDet::ITRT_LocalOccupancy>
m_LocalOccTool
;
51
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
,
"RHK to retrieve xAOD::EventInfo"
};
52
};
53
54
#endif // TRT_CALIBALGS_TRTOCCUPANCYINCLUDE_H
TRTOccupancyInclude::TRTOccupancyInclude
TRTOccupancyInclude(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TRTOccupancyInclude.cxx:17
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TRTOccupancyInclude::m_LocalOccTool
ToolHandle< InDet::ITRT_LocalOccupancy > m_LocalOccTool
the track selector tool
Definition:
TRTOccupancyInclude.h:50
TRTOccupancyInclude::finalize
StatusCode finalize(void)
Definition:
TRTOccupancyInclude.cxx:92
ITRT_LocalOccupancy
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
TRTOccupancyInclude
Definition:
TRTOccupancyInclude.h:36
SG::ReadHandleKey< xAOD::EventInfo >
ITRT_LocalOccupancy.h
AthAlgorithm.h
TRTOccupancyInclude::~TRTOccupancyInclude
~TRTOccupancyInclude(void)
Definition:
TRTOccupancyInclude.cxx:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTOccupancyInclude::execute
StatusCode execute(void)
Definition:
TRTOccupancyInclude.cxx:48
TRTOccupancyInclude::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition:
TRTOccupancyInclude.h:51
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
EventInfo.h
TRTOccupancyInclude::initialize
StatusCode initialize(void)
Definition:
TRTOccupancyInclude.cxx:31
Generated on Sun Dec 22 2024 21:22:00 for ATLAS Offline Software by
1.8.18