ATLAS Offline Software
Reconstruction
Jet
JetRecTools
JetRecTools
JetTrackSelectionTool2.h
Go to the documentation of this file.
1
// this file is -*- C++ -*-
2
/*
3
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
// JetTrackSelectionTool/.h
7
8
/* class JetTrackSelectionTool2
9
10
Simplified version of the tool which wraps the selector
11
but does not define input/output containers.
12
*/
13
14
#ifndef JETRECTOOLS_JETTRACKSELECTIONTOOL2_H
15
#define JETRECTOOLS_JETTRACKSELECTIONTOOL2_H
16
17
#include "
AsgTools/AsgTool.h
"
18
#include "
JetInterface/IJetExecuteTool.h
"
19
#include "
JetInterface/IJetTrackSelector.h
"
20
21
#include "
xAODTracking/TrackParticleContainer.h
"
22
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
23
24
#include "
AsgTools/ToolHandle.h
"
25
#include "
AthContainers/ConstDataVector.h
"
26
27
class
JetTrackSelectionTool2
:
public
asg::AsgTool
,
28
virtual
public
IJetTrackSelector
{
29
ASG_TOOL_CLASS
(
JetTrackSelectionTool2
,
IJetTrackSelector
)
30
31
public
:
32
33
JetTrackSelectionTool2
(
const
std::string &
name
);
34
35
// Inherited interface.
36
StatusCode
initialize
() ;
37
int
keep
(
const
xAOD::TrackParticle
& trk)
const
;
38
39
protected
:
40
41
ToolHandle<InDet::IInDetTrackSelectionTool>
m_hidselector
;
42
43
};
44
45
#endif
JetTrackSelectionTool2::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition:
JetTrackSelectionTool2.cxx:12
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
JetTrackSelectionTool2::m_hidselector
ToolHandle< InDet::IInDetTrackSelectionTool > m_hidselector
Definition:
JetTrackSelectionTool2.h:41
IJetExecuteTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IInDetTrackSelectionTool.h
JetTrackSelectionTool2::JetTrackSelectionTool2
JetTrackSelectionTool2(const std::string &name)
Definition:
JetTrackSelectionTool2.cxx:7
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:192
IJetTrackSelector.h
JetTrackSelectionTool2::keep
int keep(const xAOD::TrackParticle &trk) const
Method to select.
Definition:
JetTrackSelectionTool2.cxx:23
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
JetTrackSelectionTool2
Definition:
JetTrackSelectionTool2.h:28
ToolHandle.h
AsgTool.h
TrackParticleContainer.h
IJetTrackSelector
ITrackSelector is a dual-use tool interface for a tool that selects a track particle.
Definition:
IJetTrackSelector.h:19
Generated on Sun Jun 30 2024 21:19:02 for ATLAS Offline Software by
1.8.18