ATLAS Offline Software
Loading...
Searching...
No Matches
HICentralityDecorationTool.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_HICENTRALITYDECORATIONTOOL_H
6#define DERIVATIONFRAMEWORK_HICENTRALITYDECORATIONTOOL_H
7
8// Gaudi & Athena basics
13#include <vector>
14#include <string>
15
16
17namespace DerivationFramework {
18
19 class HICentralityDecorationTool : public extends<AthAlgTool, IAugmentationTool> {
20
21 public:
22
23 using base_class::base_class;
24
25 // Athena algtool's Hooks
26 virtual StatusCode initialize() override final;
27
28 virtual StatusCode addBranches(const EventContext& ctx) const override;
29
30 private:
31 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey { this, "EventInfoKey", "EventInfo", "" };
32 Gaudi::Property<std::string> m_centralityDefinitionFile{this, "centralityDefinitionFile", "HIEventUtils/HeavyIonAnalysis2015_centrality_cuts_Gv32_proposed.txt", "File for centrality definitions"};
33 // Member variables to hold centrality definitions
34 std::vector<float> m_centralityPercentiles;
35 std::vector<float> m_fCalValues;
36 };
37
38}
39
40#endif
virtual StatusCode addBranches(const EventContext &ctx) const override
Property holding a SG store/key/clid from which a ReadHandle is made.
THE reconstruction tool.