ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
tauRec
src
TauElecSubtractAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration.
3
*/
4
5
#ifndef TAUREC_TauElecSubtractAlg_H
6
#define TAUREC_TauElecSubtractAlg_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
CaloEvent/CaloCellContainer.h
"
10
#include "
CaloEvent/CaloClusterCellLinkContainer.h
"
11
#include "
xAODCaloEvent/CaloClusterContainer.h
"
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "
StoreGate/WriteHandleKey.h
"
14
#include "
StoreGate/ReadHandle.h
"
15
#include "
StoreGate/WriteHandle.h
"
16
#include "
StoreGate/ReadDecorHandle.h
"
17
#include "
StoreGate/ReadDecorHandleKey.h
"
18
#include "
xAODCaloEvent/CaloClusterAuxContainer.h
"
19
#include "
CaloUtils/CaloClusterStoreHelper.h
"
20
#include "
tauRecTools/TauRecToolBase.h
"
21
#include "
xAODTau/TauJet.h
"
22
#include "
xAODTau/TauJetAuxContainer.h
"
23
#include "
xAODEgamma/ElectronContainer.h
"
24
#include "
AsgTools/PropertyWrapper.h
"
25
#include "
xAODTau/TauJetContainer.h
"
26
#include "
xAODTracking/TrackParticleContainer.h
"
27
#include "
xAODTracking/TrackParticleAuxContainer.h
"
28
#include "
EgammaAnalysisInterfaces/IAsgElectronLikelihoodTool.h
"
29
#include "
xAODEgamma/ElectronxAODHelpers.h
"
30
#include "
xAODEgamma/EgammaxAODHelpers.h
"
31
36
class
TauElecSubtractAlg
:
public
AthReentrantAlgorithm
37
{
38
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
39
public
:
40
virtual
StatusCode
initialize
()
override
;
41
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
42
43
private
:
44
SG::ReadHandleKey<xAOD::ElectronContainer>
m_elecInput
{
this
,
"Key_ElectronsInput"
,
""
,
"Input electron container"
};
45
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clustersInput
{
this
,
"Key_ClustersInput"
,
""
,
"Input cluster container "
};
46
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_clustersOutput
{
this
,
"Key_ClustersOutput"
,
""
,
"Output cluster container"
};
47
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_tracksInput
{
this
,
"Key_IDTracksInput"
,
""
,
"Input track container "
};
48
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_tracksOutput
{
this
,
"Key_IDTracksOutput"
,
""
,
"Output track container "
};
49
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_removedClustersOutput
{
this
,
"Key_RemovedClustersOutput"
,
""
,
"Output removed clusters "
};
50
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_removedTracksOutput
{
this
,
"Key_RemovedTracksOutput"
,
""
,
"Output removed tracks "
};
51
52
// make sure standard jet TVA is run before this algorithm, hard coded for now
53
SG::ReadDecorHandleKey<xAOD::TrackParticleContainer>
m_stdJetTVADecoKey
{
this
,
"InDetTrackParticles_jetTVA_key"
,
"InDetTrackParticles.TTVA_AMVFVertices_forReco"
,
"make sure standard jet TVA is run before this algorithm, hard coded for now"
};
54
55
ToolHandle<IAsgElectronLikelihoodTool>
m_eleLHSelectTool
{
this
,
"ElectronLHTool"
,
""
,
"Electron likelihood selection tool"
};
56
Gaudi::Property<bool>
m_doNothing
{
this
,
"doNothing"
,
false
,
"If we just deep copy the containers (For Validation Only)"
};
57
};
58
59
#endif
// TAUREC_TauElecSubtractAlg_H
AthReentrantAlgorithm.h
CaloCellContainer.h
CaloClusterAuxContainer.h
CaloClusterCellLinkContainer.h
CaloClusterStoreHelper.h
EgammaxAODHelpers.h
ElectronxAODHelpers.h
CaloClusterContainer.h
ElectronContainer.h
TrackParticleContainer.h
IAsgElectronLikelihoodTool.h
PropertyWrapper.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ReadDecorHandle.h
Handle class for reading a decoration on an object.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadHandle.h
Handle class for reading from StoreGate.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
WriteHandle.h
Handle class for recording to StoreGate.
TauJetAuxContainer.h
TauJetContainer.h
TauJet.h
TauRecToolBase.h
TrackParticleAuxContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TauElecSubtractAlg
Algorithm that remove electron cluster and tracks from the tracks and cluster containers.
Definition
TauElecSubtractAlg.h:37
TauElecSubtractAlg::m_elecInput
SG::ReadHandleKey< xAOD::ElectronContainer > m_elecInput
Definition
TauElecSubtractAlg.h:44
TauElecSubtractAlg::m_removedClustersOutput
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_removedClustersOutput
Definition
TauElecSubtractAlg.h:49
TauElecSubtractAlg::m_doNothing
Gaudi::Property< bool > m_doNothing
Definition
TauElecSubtractAlg.h:56
TauElecSubtractAlg::m_clustersOutput
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_clustersOutput
Definition
TauElecSubtractAlg.h:46
TauElecSubtractAlg::m_eleLHSelectTool
ToolHandle< IAsgElectronLikelihoodTool > m_eleLHSelectTool
Definition
TauElecSubtractAlg.h:55
TauElecSubtractAlg::m_tracksInput
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksInput
Definition
TauElecSubtractAlg.h:47
TauElecSubtractAlg::m_tracksOutput
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_tracksOutput
Definition
TauElecSubtractAlg.h:48
TauElecSubtractAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TauElecSubtractAlg.cxx:23
TauElecSubtractAlg::m_stdJetTVADecoKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_stdJetTVADecoKey
Definition
TauElecSubtractAlg.h:53
TauElecSubtractAlg::m_removedTracksOutput
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_removedTracksOutput
Definition
TauElecSubtractAlg.h:50
TauElecSubtractAlg::initialize
virtual StatusCode initialize() override
Definition
TauElecSubtractAlg.cxx:8
TauElecSubtractAlg::m_clustersInput
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clustersInput
Definition
TauElecSubtractAlg.h:45
Generated on
for ATLAS Offline Software by
1.17.0