ATLAS Offline Software
Loading...
Searching...
No Matches
ConfigurableColumnExampleTool.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_CONFIGURABLE_COLUMN_EXAMPLE_TOOL_H
9#define COLUMNAR_EXAMPLE_TOOLS_CONFIGURABLE_COLUMN_EXAMPLE_TOOL_H
10
11#include <AsgTools/AsgTool.h>
17
18namespace columnar
19{
25
27 : public asg::AsgTool,
28 public ColumnarTool<>
29 {
30 public:
31
32 // Create a proper constructor for Athena
34
35 ConfigurableColumnExampleTool (const std::string& name);
36
37 virtual StatusCode initialize () override;
38
39 virtual void callEvents (EventContextRange events) const override;
40
41
43 Gaudi::Property<std::string> m_ptVar {this, "ptVar", "pt", "pt variable"};
44
46 Gaudi::Property<float> m_ptCut {this, "ptCut", 10e3, "pt cut (in MeV)"};
47
48
55
56
63
64
74 };
75}
76
77#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
the base class for all columnar components
Gaudi::Property< float > m_ptCut
the pt cut to apply
virtual void callEvents(EventContextRange events) const override
ParticleAccessor< float > ptAcc
the pt accessor for the particle container
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
ParticleAccessor< ObjectColumn > particlesHandle
the object accessor for the particles
ParticleDecorator< char > selectionDec
the selection decorator for the particles
Gaudi::Property< std::string > m_ptVar
the pt variable to use
ObjectRange< ContainerId::eventContext > EventContextRange
AccessorTemplate< ContainerId::particle, CT, ColumnAccessMode::input, CM > ParticleAccessor
Definition ParticleDef.h:38
AccessorTemplate< ContainerId::particle, CT, ColumnAccessMode::output, CM > ParticleDecorator
Definition ParticleDef.h:39