ATLAS Offline Software
HICentralityDecorationTool.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // HICentralityDecorationTool.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_HICENTRALITYDECORATIONTOOL_H
10 #define DERIVATIONFRAMEWORK_HICENTRALITYDECORATIONTOOL_H
11 
12 // Gaudi & Athena basics
16 #include <vector>
17 #include <string>
18 
19 
20 namespace DerivationFramework {
21 
23 
24  public:
25  HICentralityDecorationTool(const std::string& type, const std::string& name, const IInterface* parent);
26 
27  // Athena algtool's Hooks
28  StatusCode initialize() override final;
29 
30  virtual StatusCode addBranches() const override;
31 
32  private:
33  Gaudi::Property<std::string> m_centralityDefinitionFile{this, "centralityDefinitionFile", "HIEventUtils/HeavyIonAnalysis2015_centrality_cuts_Gv32_proposed.txt", "File for centrality definitions"};
34  // Member variables to hold centrality definitions
35  std::vector<float> m_centralityPercentiles;
36  std::vector<float> m_fCalValues;
37  };
38 
39 }
40 
41 #endif
42 
DerivationFramework::HICentralityDecorationTool::m_fCalValues
std::vector< float > m_fCalValues
Definition: HICentralityDecorationTool.h:36
PropertyWrapper.h
IAugmentationTool.h
DerivationFramework::HICentralityDecorationTool::m_centralityPercentiles
std::vector< float > m_centralityPercentiles
Definition: HICentralityDecorationTool.h:35
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::HICentralityDecorationTool::addBranches
virtual StatusCode addBranches() const override
Pass the thinning service
Definition: HICentralityDecorationTool.cxx:64
DerivationFramework::HICentralityDecorationTool::initialize
StatusCode initialize() override final
Definition: HICentralityDecorationTool.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::HICentralityDecorationTool
Definition: HICentralityDecorationTool.h:22
DerivationFramework::HICentralityDecorationTool::HICentralityDecorationTool
HICentralityDecorationTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: HICentralityDecorationTool.cxx:17
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DerivationFramework::HICentralityDecorationTool::m_centralityDefinitionFile
Gaudi::Property< std::string > m_centralityDefinitionFile
Definition: HICentralityDecorationTool.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26