Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VectorExampleTool.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_VECTOR_EXAMPLE_TOOL_H
9 #define COLUMNAR_EXAMPLE_TOOLS_VECTOR_EXAMPLE_TOOL_H
10 
11 #include <AsgTools/AsgTool.h>
18 
19 namespace columnar
20 {
26 
28  : public asg::AsgTool,
29  public ColumnarTool<>
30  {
31  public:
32 
33  VectorExampleTool (const std::string& name);
34 
35  virtual StatusCode initialize () override;
36 
37  virtual void callEvents (EventContextRange events) const override;
38 
39 
41  Gaudi::Property<float> m_ptCut {this, "ptCut", 10e3, "pt cut (in MeV)"};
42 
43 
50 
51 
59 
60 
67 
68 
77 
78 
87  ParticleDecorator<char> selectionDec {*this, "selection"};
88  };
89 }
90 
91 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
PropertyWrapper.h
columnar::VectorExampleTool::trksumptAcc
ParticleAccessor< std::vector< RetypeColumn< double, float > > > trksumptAcc
a vector accessor involving retyping
Definition: VectorExampleTool.h:76
columnar::VectorExampleTool::ptAcc
ParticleAccessor< float > ptAcc
the pt accessor for the particle container
Definition: VectorExampleTool.h:58
columnar::VectorExampleTool::selectionDec
ParticleDecorator< char > selectionDec
the selection decorator for the particles
Definition: VectorExampleTool.h:87
columnar::VectorExampleTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: VectorExampleTool.cxx:27
columnar::ObjectRange
a class representing a continuous sequence of objects (a.k.a. a container)
Definition: ObjectRange.h:18
python.DataFormatRates.events
events
Definition: DataFormatRates.py:105
columnar::VectorExampleTool::trknumAcc
ParticleAccessor< std::vector< int > > trknumAcc
a vector column accessor
Definition: VectorExampleTool.h:66
columnar::VectorExampleTool::particlesHandle
ParticleAccessor< ObjectColumn > particlesHandle
the object accessor for the particles
Definition: VectorExampleTool.h:49
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ColumnAccessor.h
ObjectColumn.h
ColumnarTool.h
VectorColumn.h
columnar::VectorExampleTool
an example of a columnar tool that reads a vector column
Definition: VectorExampleTool.h:30
columnar::VectorExampleTool::m_ptCut
Gaudi::Property< float > m_ptCut
the pt cut to apply
Definition: VectorExampleTool.h:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
columnar::final
CM final
Definition: ColumnAccessor.h:106
columnar::VectorExampleTool::callEvents
virtual void callEvents(EventContextRange events) const override
Definition: VectorExampleTool.cxx:38
columnar
Definition: ClusterDef.h:16
columnar::ColumnarTool
the base class for all columnar components
Definition: ColumnAccessorDataArray.h:17
columnar::VectorExampleTool::VectorExampleTool
VectorExampleTool(const std::string &name)
Definition: VectorExampleTool.cxx:20
columnar::AccessorTemplate
the raw column accessor template class
Definition: ColumnAccessor.h:81
AsgTool.h
ParticleDef.h