ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTileCal
src
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
17
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
18
19
// Athena includes
20
#include "
AthenaBaseComps/AthAlgTool.h
"
21
#include "
xAODMuon/MuonContainer.h
"
22
#include "
xAODCaloEvent/CaloClusterContainer.h
"
23
#include "
CaloEvent/CaloCellContainer.h
"
24
#include "
StoreGate/ReadHandleKey.h
"
25
#include "
StoreGate/WriteDecorHandleKey.h
"
26
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
27
#include "
ParticlesInConeTools/ITrackParticlesInConeTool.h
"
28
29
// Gaudi includes
30
#include "GaudiKernel/ToolHandle.h"
31
32
// STL includes
33
#include <string>
34
#include <vector>
35
36
class
TileID
;
37
class
TileHWID
;
38
39
40
namespace
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
68
SG::ReadHandleKey<xAOD::MuonContainer>
m_muonContainerKey
{
this
,
"MuonContainer"
,
"Muons"
};
69
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
{
this
,
"CellContainer"
,
"AllCalo"
};
70
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterContainerKey
{
this
,
"ClusterContainer"
,
"CaloCalTopoClusters"
};
71
72
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_selectedMuKey
{
this
,
"SelectedMuon"
,
m_muonContainerKey
,
"SelectedMuon"
};
73
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_econeMuKey
{
this
,
"Etrkcone"
,
m_muonContainerKey
,
"etrkcone"
};
74
75
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonXKey
{
this
,
"CellsMuonX"
,
m_muonContainerKey
,
"cells_muon_x"
};
76
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonYKey
{
this
,
"CellsMuonY"
,
m_muonContainerKey
,
"cells_muon_y"
};
77
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonZKey
{
this
,
"CellsMuonZ"
,
m_muonContainerKey
,
"cells_muon_z"
};
78
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonEtaKey
{
this
,
"CellsMuonEta"
,
m_muonContainerKey
,
"cells_muon_eta"
};
79
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonPhiKey
{
this
,
"CellsMuonPhi"
,
m_muonContainerKey
,
"cells_muon_phi"
};
80
81
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsToMuonDxKey
{
this
,
"CellsToMuonDx"
,
m_muonContainerKey
,
"cells_to_muon_dx"
};
82
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsToMuonDyKey
{
this
,
"CellsToMuonDy"
,
m_muonContainerKey
,
"cells_to_muon_dy"
};
83
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsToMuonDzKey
{
this
,
"CellsToMuonDz"
,
m_muonContainerKey
,
"cells_to_muon_dz"
};
84
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsToMuonDetaKey
{
this
,
"CellsToMuonDeta"
,
m_muonContainerKey
,
"cells_to_muon_deta"
};
85
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsToMuonDphiKey
{
this
,
"CellsToMuonDphi"
,
m_muonContainerKey
,
"cells_to_muon_dphi"
};
86
87
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonDxKey
{
this
,
"CellsMuonDx"
,
m_muonContainerKey
,
"cells_muon_dx"
};
88
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_cellsMuonDeDxKey
{
this
,
"CellsMuonDeDx"
,
m_muonContainerKey
,
"cells_muon_dedx"
};
89
SG::WriteDecorHandleKeyArray<xAOD::MuonContainer>
m_larEnergyInConeKeyArray
{
this
,
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
AthAlgTool.h
CaloCellContainer.h
ITrackTools.h
CaloClusterContainer.h
MuonContainer.h
IAugmentationTool.h
ITrackParticlesInConeTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKeyArray.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
TileCellsDecorator.h
DerivationFramework::TileCellsMuonDecorator
Definition
TileCellsMuonDecorator.h:42
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonDxKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonDxKey
Definition
TileCellsMuonDecorator.h:87
DerivationFramework::TileCellsMuonDecorator::m_maxRelEtrkInIsoCone
Gaudi::Property< double > m_maxRelEtrkInIsoCone
Definition
TileCellsMuonDecorator.h:64
DerivationFramework::TileCellsMuonDecorator::m_cellsDecorator
ToolHandle< DerivationFramework::TileCellsDecorator > m_cellsDecorator
Definition
TileCellsMuonDecorator.h:98
DerivationFramework::TileCellsMuonDecorator::m_larEnergyInConeKeyArray
SG::WriteDecorHandleKeyArray< xAOD::MuonContainer > m_larEnergyInConeKeyArray
Definition
TileCellsMuonDecorator.h:89
DerivationFramework::TileCellsMuonDecorator::m_gapCrackCellsInDeltaEta
Gaudi::Property< double > m_gapCrackCellsInDeltaEta
Definition
TileCellsMuonDecorator.h:65
DerivationFramework::TileCellsMuonDecorator::m_selectMuons
Gaudi::Property< bool > m_selectMuons
Definition
TileCellsMuonDecorator.h:56
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonZKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonZKey
Definition
TileCellsMuonDecorator.h:77
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonPhiKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonPhiKey
Definition
TileCellsMuonDecorator.h:79
DerivationFramework::TileCellsMuonDecorator::m_trackInCalo
ToolHandle< TileCal::ITrackTools > m_trackInCalo
Definition
TileCellsMuonDecorator.h:92
DerivationFramework::TileCellsMuonDecorator::m_tracksInCone
ToolHandle< xAOD::ITrackParticlesInConeTool > m_tracksInCone
Definition
TileCellsMuonDecorator.h:95
DerivationFramework::TileCellsMuonDecorator::m_cellsToMuonDetaKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDetaKey
Definition
TileCellsMuonDecorator.h:84
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonDeDxKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonDeDxKey
Definition
TileCellsMuonDecorator.h:88
DerivationFramework::TileCellsMuonDecorator::m_cellsToMuonDyKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDyKey
Definition
TileCellsMuonDecorator.h:82
DerivationFramework::TileCellsMuonDecorator::m_econeMuKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_econeMuKey
Definition
TileCellsMuonDecorator.h:73
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonXKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonXKey
Definition
TileCellsMuonDecorator.h:75
DerivationFramework::TileCellsMuonDecorator::m_energyInLayers
Gaudi::Property< std::set< unsigned int > > m_energyInLayers
Definition
TileCellsMuonDecorator.h:62
DerivationFramework::TileCellsMuonDecorator::m_cellsToMuonDphiKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDphiKey
Definition
TileCellsMuonDecorator.h:85
DerivationFramework::TileCellsMuonDecorator::m_isoCone
Gaudi::Property< double > m_isoCone
Definition
TileCellsMuonDecorator.h:59
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonYKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonYKey
Definition
TileCellsMuonDecorator.h:76
DerivationFramework::TileCellsMuonDecorator::m_cellsToMuonDzKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDzKey
Definition
TileCellsMuonDecorator.h:83
DerivationFramework::TileCellsMuonDecorator::initialize
virtual StatusCode initialize() override final
Definition
TileCellsMuonDecorator.cxx:27
DerivationFramework::TileCellsMuonDecorator::m_minPt
Gaudi::Property< double > m_minPt
Definition
TileCellsMuonDecorator.h:57
DerivationFramework::TileCellsMuonDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
TileCellsMuonDecorator.cxx:60
DerivationFramework::TileCellsMuonDecorator::m_selectedMuKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_selectedMuKey
Definition
TileCellsMuonDecorator.h:72
DerivationFramework::TileCellsMuonDecorator::m_gapCrackCellsInDeltaPhi
Gaudi::Property< double > m_gapCrackCellsInDeltaPhi
Definition
TileCellsMuonDecorator.h:66
DerivationFramework::TileCellsMuonDecorator::m_energyInSamplings
std::set< xAOD::CaloCluster::CaloSample > m_energyInSamplings
Definition
TileCellsMuonDecorator.h:101
DerivationFramework::TileCellsMuonDecorator::m_cellsMuonEtaKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsMuonEtaKey
Definition
TileCellsMuonDecorator.h:78
DerivationFramework::TileCellsMuonDecorator::m_clusterContainerKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
Definition
TileCellsMuonDecorator.h:70
DerivationFramework::TileCellsMuonDecorator::m_maxAbsEta
Gaudi::Property< double > m_maxAbsEta
Definition
TileCellsMuonDecorator.h:58
DerivationFramework::TileCellsMuonDecorator::m_cellsToMuonDxKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_cellsToMuonDxKey
Definition
TileCellsMuonDecorator.h:81
DerivationFramework::TileCellsMuonDecorator::m_drCones
Gaudi::Property< std::vector< double > > m_drCones
Definition
TileCellsMuonDecorator.h:60
DerivationFramework::TileCellsMuonDecorator::m_muonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Definition
TileCellsMuonDecorator.h:68
DerivationFramework::TileCellsMuonDecorator::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition
TileCellsMuonDecorator.h:69
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileID
Helper class for TileCal offline identifiers.
Definition
TileID.h:67
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::WriteDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Definition
StoreGate/StoreGate/WriteDecorHandleKeyArray.h:35
Generated on
for ATLAS Offline Software by
1.17.0