ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Columnar
ColumnarExampleTools
ColumnarExampleTools
LinkColumnExampleTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef COLUMNAR_EXAMPLE_TOOLS_LINK_COLUMN_EXAMPLE_TOOL_H
9
#define COLUMNAR_EXAMPLE_TOOLS_LINK_COLUMN_EXAMPLE_TOOL_H
10
11
#include <
AsgTools/AsgTool.h
>
12
#include <
AsgTools/PropertyWrapper.h
>
13
#include <
ColumnarCore/ColumnAccessor.h
>
14
#include <
ColumnarCore/ColumnarTool.h
>
15
#include <
ColumnarCore/ObjectColumn.h
>
16
#include <
ColumnarCore/LinkColumn.h
>
17
#include <
ColumnarMuon/MuonDef.h
>
18
#include <
ColumnarTracking/TrackDef.h
>
19
20
namespace
columnar
21
{
27
28
class
LinkColumnExampleTool
final
29
:
public
asg::AsgTool
,
30
public
ColumnarTool
<>
31
{
32
public
:
33
34
// Create a proper constructor for Athena
35
ASG_TOOL_CLASS
(
LinkColumnExampleTool
,
asg::IAsgTool
)
36
37
LinkColumnExampleTool
(
const
std::string& name);
38
39
virtual
StatusCode
initialize
()
override
;
40
41
virtual
void
callEvents
(
EventContextRange
events)
const override
;
42
43
45
Gaudi::Property<float>
m_ptCut
{
this
,
"ptCut"
, 10e3,
"pt cut (in MeV)"
};
46
47
53
MuonAccessor<ObjectColumn>
muonsHandle
{*
this
,
"AnalysisMuons"
};
54
55
62
TrackAccessor<ObjectColumn>
trackHandle
{*
this
,
"InDetTrackParticles"
};
63
64
70
MuonAccessor<OptTrackId>
trackLinkAcc
{*
this
,
"inDetTrackParticleLink"
};
71
72
73
79
TrackAccessor<float>
trackQOverPAcc
{*
this
,
"qOverP"
};
80
81
90
MuonDecorator<char>
selectionDec
{*
this
,
"selection"
};
91
};
92
}
93
94
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
ColumnAccessor.h
ColumnarTool.h
LinkColumn.h
MuonDef.h
ObjectColumn.h
PropertyWrapper.h
TrackDef.h
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
columnar::ColumnarTool
the base class for all columnar components
Definition
ColumnAccessorDataArray.h:17
columnar::LinkColumnExampleTool::trackLinkAcc
MuonAccessor< OptTrackId > trackLinkAcc
the link accessor for the particles
Definition
LinkColumnExampleTool.h:70
columnar::LinkColumnExampleTool::selectionDec
MuonDecorator< char > selectionDec
the selection decorator for the particles
Definition
LinkColumnExampleTool.h:90
columnar::LinkColumnExampleTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
LinkColumnExampleTool.cxx:27
columnar::LinkColumnExampleTool::callEvents
virtual void callEvents(EventContextRange events) const override
Definition
LinkColumnExampleTool.cxx:38
columnar::LinkColumnExampleTool::trackQOverPAcc
TrackAccessor< float > trackQOverPAcc
the q/p accessor for the track container
Definition
LinkColumnExampleTool.h:79
columnar::LinkColumnExampleTool::m_ptCut
Gaudi::Property< float > m_ptCut
the pt cut to apply
Definition
LinkColumnExampleTool.h:45
columnar::LinkColumnExampleTool::LinkColumnExampleTool
LinkColumnExampleTool(const std::string &name)
Definition
LinkColumnExampleTool.cxx:20
columnar::LinkColumnExampleTool::muonsHandle
MuonAccessor< ObjectColumn > muonsHandle
the object accessor for the muons
Definition
LinkColumnExampleTool.h:53
columnar::LinkColumnExampleTool::trackHandle
TrackAccessor< ObjectColumn > trackHandle
the object accessor for the linked track container
Definition
LinkColumnExampleTool.h:62
columnar
Definition
ClusterDef.h:16
columnar::EventContextRange
ObjectRange< EventContextDef > EventContextRange
Definition
ContainerId.h:211
columnar::TrackAccessor
AccessorTemplate< TrackDef, CT, ColumnAccessMode::input, CM > TrackAccessor
Definition
TrackDef.h:45
columnar::MuonAccessor
AccessorTemplate< MuonDef, CT, ColumnAccessMode::input, CM > MuonAccessor
Definition
MuonDef.h:24
columnar::MuonDecorator
AccessorTemplate< MuonDef, CT, ColumnAccessMode::output, CM > MuonDecorator
Definition
MuonDef.h:25
Generated on
for ATLAS Offline Software by
1.17.0