ATLAS Offline Software
Loading...
Searching...
No Matches
TileCellsMuonDecorator.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7// TileCellsMuonDecorator.h
8// Header file for class TileCellsMuonDecorator
10#ifndef DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_TILECELLSMUONDECORATOR_H
11#define DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_TILECELLSMUONDECORATOR_H 1
12
13#include "TileCellsDecorator.h"
14#include "ITrackTools.h"
15
16// DerivationFrameworkInterfaces includes
18
19// Athena includes
28
29// Gaudi includes
30#include "GaudiKernel/ToolHandle.h"
31
32// STL includes
33#include <string>
34#include <vector>
35
36class TileID;
37class TileHWID;
38
39
40namespace DerivationFramework {
41
42 class TileCellsMuonDecorator: public extends<AthAlgTool, IAugmentationTool> {
43
44
45 public:
46
47 using base_class::base_class;
48
49 virtual StatusCode addBranches(const EventContext& ctx) const override final;
50
51 // Athena algtool's Hooks
52 virtual StatusCode initialize() override final;
53
54 private:
55
56 Gaudi::Property<bool> m_selectMuons{this, "SelectMuons", false};
57 Gaudi::Property<double> m_minPt{this, "MinMuonPt", 10000.0};
58 Gaudi::Property<double> m_maxAbsEta{this, "MaxAbsMuonEta", 1.7};
59 Gaudi::Property<double> m_isoCone{this, "IsoCone", 0.4};
60 Gaudi::Property<std::vector<double>> m_drCones{this,
61 "DeltaRCones", {0.2, 0.4}, "Sum energies in calorimeter layers in these cones aroud track"};
62 Gaudi::Property<std::set<unsigned int>> m_energyInLayers{this,
63 "EnergyInSamplings", {1, 2, 3, 5, 6, 7}, "Sum energies in these calorimeter layers in cone aroud track"};
64 Gaudi::Property<double> m_maxRelEtrkInIsoCone{this, "MaxRelETrkInIsoCone", 0.1};
65 Gaudi::Property<double> m_gapCrackCellsInDeltaEta{this, "GapCrackCellsInDeltaEta", 0.5};
66 Gaudi::Property<double> m_gapCrackCellsInDeltaPhi{this, "GapCrackCellsInDeltaPhi", 0.5};
67
70 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_clusterContainerKey{this, "ClusterContainer", "CaloCalTopoClusters"};
71
74
80
86
90 "LArEnergyInCone", m_muonContainerKey, {}, "It is atuoconfigured based on requested delta R cones, eg.: elarcone40"};
91
92 ToolHandle<TileCal::ITrackTools> m_trackInCalo{this,
93 "TrackTools", "TileCall::TrackTools/TrackTools"};
94
95 ToolHandle<xAOD::ITrackParticlesInConeTool> m_tracksInCone{this,
96 "TracksInConeTool", "xAOD::TrackParticlesInConeTool/TrackParticlesInConeTool"};
97
98 ToolHandle<DerivationFramework::TileCellsDecorator> m_cellsDecorator{this,
99 "CellsDecorator", "DerivationFramework::TileCellsDecorator/TileCellsDecorator"};
100
101 std::set<xAOD::CaloCluster::CaloSample> m_energyInSamplings;
102 };
103
104}
105
106
107#endif //> !DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_TILECELLSMUONDECORATOR_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonDxKey
ToolHandle< DerivationFramework::TileCellsDecorator > m_cellsDecorator
SG::WriteDecorHandleKeyArray< xAOD::MuonContainer > m_larEnergyInConeKeyArray
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonZKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonPhiKey
ToolHandle< TileCal::ITrackTools > m_trackInCalo
ToolHandle< xAOD::ITrackParticlesInConeTool > m_tracksInCone
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDetaKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonDeDxKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDyKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_econeMuKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonXKey
Gaudi::Property< std::set< unsigned int > > m_energyInLayers
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDphiKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonYKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDzKey
virtual StatusCode initialize() override final
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_selectedMuKey
std::set< xAOD::CaloCluster::CaloSample > m_energyInSamplings
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonEtaKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDxKey
Gaudi::Property< std::vector< double > > m_drCones
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67
THE reconstruction tool.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray