Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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>
17 #include <ColumnarMuon/MuonDef.h>
19 
20 namespace columnar
21 {
27 
29  : public asg::AsgTool,
30  public ColumnarTool<>
31  {
32  public:
33 
34  LinkColumnExampleTool (const std::string& name);
35 
36  virtual StatusCode initialize () override;
37 
38  virtual void callEvents (EventContextRange events) const override;
39 
40 
42  Gaudi::Property<float> m_ptCut {this, "ptCut", 10e3, "pt cut (in MeV)"};
43 
44 
50  MuonAccessor<ObjectColumn> muonsHandle {*this, "AnalysisMuons"};
51 
52 
59  TrackAccessor<ObjectColumn> trackHandle {*this, "InDetTrackParticles"};
60 
61 
67  MuonAccessor<OptTrackId> trackLinkAcc {*this, "inDetTrackParticleLink"};
68 
69 
70 
77 
78 
87  MuonDecorator<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
LinkColumn.h
columnar::LinkColumnExampleTool::LinkColumnExampleTool
LinkColumnExampleTool(const std::string &name)
Definition: LinkColumnExampleTool.cxx:20
columnar::LinkColumnExampleTool::selectionDec
MuonDecorator< char > selectionDec
the selection decorator for the particles
Definition: LinkColumnExampleTool.h:87
TrackDef.h
columnar::LinkColumnExampleTool
an example of a tool reading an element link
Definition: LinkColumnExampleTool.h:31
columnar::LinkColumnExampleTool::muonsHandle
MuonAccessor< ObjectColumn > muonsHandle
the object accessor for the muons
Definition: LinkColumnExampleTool.h:50
columnar::LinkColumnExampleTool::trackLinkAcc
MuonAccessor< OptTrackId > trackLinkAcc
the link accessor for the particles
Definition: LinkColumnExampleTool.h:67
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::LinkColumnExampleTool::m_ptCut
Gaudi::Property< float > m_ptCut
the pt cut to apply
Definition: LinkColumnExampleTool.h:42
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
columnar::LinkColumnExampleTool::callEvents
virtual void callEvents(EventContextRange events) const override
Definition: LinkColumnExampleTool.cxx:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ColumnAccessor.h
ObjectColumn.h
ColumnarTool.h
columnar::LinkColumnExampleTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: LinkColumnExampleTool.cxx:27
columnar::LinkColumnExampleTool::trackHandle
TrackAccessor< ObjectColumn > trackHandle
the object accessor for the linked track container
Definition: LinkColumnExampleTool.h:59
MuonDef.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
columnar::final
CM final
Definition: ColumnAccessor.h:106
columnar::LinkColumnExampleTool::trackQOverPAcc
TrackAccessor< float > trackQOverPAcc
the q/p accessor for the track container
Definition: LinkColumnExampleTool.h:76
columnar
Definition: ClusterDef.h:16
columnar::ColumnarTool
the base class for all columnar components
Definition: ColumnAccessorDataArray.h:17
columnar::AccessorTemplate
the raw column accessor template class
Definition: ColumnAccessor.h:81
AsgTool.h