ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Columnar
ColumnarExampleTools
ColumnarExampleTools
StringExampleTool.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_STRING_EXAMPLE_TOOL_H
9
#define COLUMNAR_EXAMPLE_TOOLS_STRING_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 <
ColumnarMet/MetDef.h
>
17
#include <
ColumnarCore/StringColumn.h
>
18
19
namespace
columnar
20
{
26
27
class
StringExampleTool
final
28
:
public
asg::AsgTool
,
29
public
ColumnarTool
<>
30
{
31
public
:
32
33
// Create a proper constructor for Athena
34
ASG_TOOL_CLASS
(
StringExampleTool
,
asg::IAsgTool
)
35
36
StringExampleTool
(
const
std::string& name);
37
38
virtual
StatusCode
initialize
()
override
;
39
40
virtual
void
callEvents
(
EventContextRange
events)
const override
;
41
42
44
Gaudi::Property<float>
m_ptCut
{
this
,
"ptCut"
, 10e3,
"pt cut (in MeV)"
};
45
46
52
MetAccessor<ObjectColumn>
metAcc
{*
this
,
"Met"
};
53
54
59
MetAccessor<std::string>
nameAcc
{*
this
,
"name"
};
60
61
70
MetDecorator<char>
selectionDec
{*
this
,
"selection"
};
71
};
72
}
73
74
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
ColumnAccessor.h
ColumnarTool.h
MetDef.h
ObjectColumn.h
PropertyWrapper.h
StringColumn.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::StringExampleTool::m_ptCut
Gaudi::Property< float > m_ptCut
the pt cut to apply
Definition
StringExampleTool.h:44
columnar::StringExampleTool::nameAcc
MetAccessor< std::string > nameAcc
a string column accessor
Definition
StringExampleTool.h:59
columnar::StringExampleTool::metAcc
MetAccessor< ObjectColumn > metAcc
the object accessor for the met map
Definition
StringExampleTool.h:52
columnar::StringExampleTool::StringExampleTool
StringExampleTool(const std::string &name)
Definition
StringExampleTool.cxx:20
columnar::StringExampleTool::selectionDec
MetDecorator< char > selectionDec
the selection decorator for the met terms
Definition
StringExampleTool.h:70
columnar::StringExampleTool::callEvents
virtual void callEvents(EventContextRange events) const override
Definition
StringExampleTool.cxx:38
columnar::StringExampleTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
StringExampleTool.cxx:27
columnar
Definition
ClusterDef.h:16
columnar::EventContextRange
ObjectRange< EventContextDef > EventContextRange
Definition
ContainerId.h:211
columnar::MetAccessor
AccessorTemplate< MetDef, CT, ColumnAccessMode::input, CM > MetAccessor
Definition
MetDef.h:49
columnar::MetDecorator
AccessorTemplate< MetDef, CT, ColumnAccessMode::output, CM > MetDecorator
Definition
MetDef.h:50
Generated on
for ATLAS Offline Software by
1.17.0