ATLAS Offline Software
Loading...
Searching...
No Matches
HIGlobalAugmentationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_HIGLOBALAUGMENTATIONTOOL_H
6#define DERIVATIONFRAMEWORK_HIGLOBALAUGMENTATIONTOOL_H
7
8
9#include<string>
10
11// Gaudi & Athena basics
13#include "GaudiKernel/ServiceHandle.h"
14#include "AsgTools/ToolHandle.h"
15#include <string>
16#include <vector>
23
24class IThinningSvc;
25
26namespace DerivationFramework {
27
28 class HIGlobalAugmentationTool : public extends<AthAlgTool, IAugmentationTool> {
29
30 public:
31
32 using base_class::base_class;
33
34 // Athena algtool's Hooks
35 virtual StatusCode initialize() override final;
36 virtual StatusCode finalize() override final;
37
38 virtual StatusCode addBranches(const EventContext& ctx) const override final;
39
40 private:
41 Gaudi::Property<int> m_nHarmonic{this, "nHarmonic", 1, "Flow harmonic starting from v2"};
42 Gaudi::Property<bool> m_doTopoClusDec{this, "doTopoClusDec", false, "Decorate with CaloTopoCluster FCal cut, non-HI mode only"};
43 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey { this, "EventInfoKey", "EventInfo", "" };
44 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_TP_key{this, "InDetTrackParticlesKey", "InDetTrackParticles"};
45 SG::ReadHandleKey<xAOD::HIEventShapeContainer> m_eventShapeKey{this, "HIEventShapeKey", "HIEventShape", ""};
46 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_caloClusterKey{this, "CaloClusterKey", "", "Only needed if doTopoClusDec is true"};
47 PublicToolHandleArray< InDet::IInDetTrackSelectionTool > m_trkSelTools{this, "TrackSelectionTools", {}, "Track selection tools (optional)"};
48 Gaudi::Property<std::vector<std::string>> m_cutLevels{this, "cutLevels", {}, "Cut levels"};
49
50 // Set up the decorators - TODO Should these be WriteDecorHandleKeys?
51 std::vector< SG::AuxElement::Decorator< float >> m_decFCalEtA_Qnx;
52 std::vector< SG::AuxElement::Decorator< float >> m_decFCalEtA_Qny;
53 std::vector< SG::AuxElement::Decorator< float >> m_decFCalEtC_Qnx;
54 std::vector< SG::AuxElement::Decorator< float >> m_decFCalEtC_Qny;
55
56 std::vector< SG::AuxElement::Decorator< float >> m_decHalfFCalEtA_Qnx;
57 std::vector< SG::AuxElement::Decorator< float >> m_decHalfFCalEtA_Qny;
58 std::vector< SG::AuxElement::Decorator< float >> m_decHalfFCalEtC_Qnx;
59 std::vector< SG::AuxElement::Decorator< float >> m_decHalfFCalEtC_Qny;
60
61 std::vector< SG::AuxElement::Decorator< int >> m_decTrack_count;
62
63 };
64
65}
66
67
68#endif
std::vector< SG::AuxElement::Decorator< float > > m_decFCalEtC_Qnx
std::vector< SG::AuxElement::Decorator< float > > m_decHalfFCalEtA_Qnx
std::vector< SG::AuxElement::Decorator< float > > m_decFCalEtA_Qnx
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClusterKey
std::vector< SG::AuxElement::Decorator< float > > m_decFCalEtC_Qny
std::vector< SG::AuxElement::Decorator< float > > m_decHalfFCalEtC_Qnx
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_eventShapeKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TP_key
Gaudi::Property< std::vector< std::string > > m_cutLevels
std::vector< SG::AuxElement::Decorator< float > > m_decHalfFCalEtC_Qny
std::vector< SG::AuxElement::Decorator< float > > m_decHalfFCalEtA_Qny
std::vector< SG::AuxElement::Decorator< int > > m_decTrack_count
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
PublicToolHandleArray< InDet::IInDetTrackSelectionTool > m_trkSelTools
track selection tool which can be optionally used for N_trk and sum pt cuts
std::vector< SG::AuxElement::Decorator< float > > m_decFCalEtA_Qny
virtual StatusCode addBranches(const EventContext &ctx) const override final
Property holding a SG store/key/clid from which a ReadHandle is made.
THE reconstruction tool.