ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkHI
DerivationFrameworkHI
HITrackQualityAugmentationTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
8
9
#ifndef DERIVATIONFRAMEWORK_HITrackQualityAugmentationTool_H
10
#define DERIVATIONFRAMEWORK_HITrackQualityAugmentationTool_H
11
12
#include <string>
13
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "
xAODTracking/TrackParticle.h
"
18
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
19
20
21
namespace
DerivationFramework
{
22
23
class
HITrackQualityAugmentationTool
:
public
AthAlgTool
,
public
IAugmentationTool
{
24
public
:
25
enum
{
26
PP_MIN_BIAS
=1<<1,
//2
27
28
HI_LOOSE
=1<<2,
// 4
29
HI_LOOSE_7SCT_HITS
=1<<5,
// 32
30
HI_LOOSE_TIGHT_D0_Z0
=1<<7,
// 128
31
HI_LOOSE_TIGHTER_D0_Z0
=1<<8,
// 256
32
33
HI_TIGHT
=1<<3,
//8
34
HI_TIGHT_TIGHTER_D0_Z0
=1<<4,
//16
35
HI_TIGHT_LOOSE_D0_Z0
=1<<6,
//64
36
37
};
38
HITrackQualityAugmentationTool
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
39
virtual
StatusCode
addBranches
()
const
;
40
private
:
41
unsigned
short
GetTrackQuality
(
const
xAOD::TrackParticle
*
track
,
float
z_vtx )
const
;
42
unsigned
short
GetTrackQualityNew
(
const
xAOD::TrackParticle
*
track
,
const
xAOD::Vertex
*
pv
)
const
;
43
ToolHandle<InDet::IInDetTrackSelectionTool>
m_trkSelTool_pp
;
44
ToolHandle<InDet::IInDetTrackSelectionTool>
m_trkSelTool_hi_loose
;
45
ToolHandle<InDet::IInDetTrackSelectionTool>
m_trkSelTool_hi_tight
;
46
};
47
}
48
49
#endif // DERIVATIONFRAMEWORK_HITrackQualityAugmentationTool_H
DerivationFramework::HITrackQualityAugmentationTool::HI_LOOSE
@ HI_LOOSE
Definition:
HITrackQualityAugmentationTool.h:28
DerivationFramework::HITrackQualityAugmentationTool::HI_TIGHT_LOOSE_D0_Z0
@ HI_TIGHT_LOOSE_D0_Z0
Definition:
HITrackQualityAugmentationTool.h:35
DerivationFramework::HITrackQualityAugmentationTool::HI_TIGHT
@ HI_TIGHT
Definition:
HITrackQualityAugmentationTool.h:33
DerivationFramework::HITrackQualityAugmentationTool::m_trkSelTool_pp
ToolHandle< InDet::IInDetTrackSelectionTool > m_trkSelTool_pp
Definition:
HITrackQualityAugmentationTool.h:43
DerivationFramework::HITrackQualityAugmentationTool::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition:
HITrackQualityAugmentationTool.cxx:26
IAugmentationTool.h
DerivationFramework::HITrackQualityAugmentationTool::PP_MIN_BIAS
@ PP_MIN_BIAS
Definition:
HITrackQualityAugmentationTool.h:26
DerivationFramework::HITrackQualityAugmentationTool::HI_LOOSE_7SCT_HITS
@ HI_LOOSE_7SCT_HITS
Definition:
HITrackQualityAugmentationTool.h:29
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DerivationFramework::HITrackQualityAugmentationTool::m_trkSelTool_hi_loose
ToolHandle< InDet::IInDetTrackSelectionTool > m_trkSelTool_hi_loose
Definition:
HITrackQualityAugmentationTool.h:44
DerivationFramework::HITrackQualityAugmentationTool::HI_LOOSE_TIGHT_D0_Z0
@ HI_LOOSE_TIGHT_D0_Z0
Definition:
HITrackQualityAugmentationTool.h:30
DerivationFramework::IAugmentationTool
Definition:
IAugmentationTool.h:24
DerivationFramework::HITrackQualityAugmentationTool::GetTrackQuality
unsigned short GetTrackQuality(const xAOD::TrackParticle *track, float z_vtx) const
Definition:
HITrackQualityAugmentationTool.cxx:136
DerivationFramework::HITrackQualityAugmentationTool::m_trkSelTool_hi_tight
ToolHandle< InDet::IInDetTrackSelectionTool > m_trkSelTool_hi_tight
Definition:
HITrackQualityAugmentationTool.h:45
DerivationFramework::HITrackQualityAugmentationTool::HI_LOOSE_TIGHTER_D0_Z0
@ HI_LOOSE_TIGHTER_D0_Z0
Definition:
HITrackQualityAugmentationTool.h:31
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
DerivationFramework::HITrackQualityAugmentationTool::HITrackQualityAugmentationTool
HITrackQualityAugmentationTool(const std::string &t, const std::string &n, const IInterface *p)
Definition:
HITrackQualityAugmentationTool.cxx:13
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::HITrackQualityAugmentationTool
Definition:
HITrackQualityAugmentationTool.h:23
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
IInDetTrackSelectionTool.h
TrackParticle.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition:
Vertex_v1.h:42
python.changerun.pv
pv
Definition:
changerun.py:81
DerivationFramework::HITrackQualityAugmentationTool::GetTrackQualityNew
unsigned short GetTrackQualityNew(const xAOD::TrackParticle *track, const xAOD::Vertex *pv) const
Definition:
HITrackQualityAugmentationTool.cxx:69
xAOD::track
@ track
Definition:
TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
AthAlgTool
Definition:
AthAlgTool.h:26
DerivationFramework::HITrackQualityAugmentationTool::HI_TIGHT_TIGHTER_D0_Z0
@ HI_TIGHT_TIGHTER_D0_Z0
Definition:
HITrackQualityAugmentationTool.h:34
Generated on Sat Nov 16 2024 21:16:14 for ATLAS Offline Software by
1.8.18