ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCloseJetDecorationAlg.h File Reference
Include dependency graph for MuonCloseJetDecorationAlg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

namespace ADD_CMODE (CP)

Function Documentation

◆ ADD_CMODE()

namespace ADD_CMODE ( CP )

Small algorithm to quickly write the jetDR decoration needed for isolation scale-factors to the muon

Regular Algorithm constructor

Function initialising the algorithm

Function executing the algorithm

muon container

jet container

name of the decoration

value to be assigned if no jet is in the event

Minimum pt on the jet

Definition at line 1 of file MuonCloseJetDecorationAlg.h.

13 {
14
17 class MuonCloseJetDecorationAlg: public AthAlgorithm {
18
19 public:
21 MuonCloseJetDecorationAlg(const std::string& name, ISvcLocator* svcLoc);
22
24 StatusCode initialize() override;
26 StatusCode execute(const EventContext& ctx) override;
27 ~MuonCloseJetDecorationAlg()= default;
28
29 private:
31 std::string m_muon_container;
33 std::string m_jet_container;
35 std::string m_jet_dr_decoration;
37 float m_dummy_value;
39 float m_jet_pt_cut;
40 std::unique_ptr< SG::Decorator<float>> m_decorator;
41
42 };
43
44}
Base class from which non-reentrant (not thread-safe) Athena algorithm classes should be derived.
virtual StatusCode execute(const EventContext &ctx)=0
Execute method.
::StatusCode StatusCode
StatusCode definition for legacy code.
void initialize()