ATLAS Offline Software
TauEleOverlapChecker.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 TAURECTOOLS_TauEleOverlapChecker_H
6 #define TAURECTOOLS_TauEleOverlapChecker_H
7 
9 
10 #include "AsgTools/ToolHandle.h"
11 
14 #include "xAODTau/TauJet.h"
15 
18 
26 
27 public:
30  TauEleOverlapChecker(const std::string& name);
32  virtual ~TauEleOverlapChecker() = default;
34  virtual StatusCode initialize() override;
36  virtual StatusCode execute(xAOD::TauJet& tau) const override;
37 
38 private:
39  Gaudi::Property<double> m_checkingCone {this, "CheckingCone", 0.6, "Cone size of the checking, in dR"};
40  SG::ReadHandleKey<xAOD::CaloClusterContainer> m_removedClustersContainer {this,"Key_RemovedClustersContainer","RemovedClusters_EleRM","Removed Clusters input container"};
41  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_removedTracksContainer {this,"Key_RemovedTracksContainer", "RemovedTracks_EleRM", "Removed Tracks input container"};
42 };
43 
44 #endif // TAURECTOOLS_TauEleOverlapChecker_H
TauEleOverlapChecker::~TauEleOverlapChecker
virtual ~TauEleOverlapChecker()=default
Destructor.
TauEleOverlapChecker
Select only the tau within the removal direction.
Definition: TauEleOverlapChecker.h:25
TauEleOverlapChecker::execute
virtual StatusCode execute(xAOD::TauJet &tau) const override
Execution of this tool.
Definition: TauEleOverlapChecker.cxx:17
TauEleOverlapChecker::m_checkingCone
Gaudi::Property< double > m_checkingCone
Definition: TauEleOverlapChecker.h:39
ASG_TOOL_CLASS2
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
Definition: AsgToolMacros.h:77
TauRecToolBase.h
TauRecToolBase
The base class for all tau tools.
Definition: TauRecToolBase.h:21
SG::ReadHandleKey< xAOD::CaloClusterContainer >
TauJetAuxContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
TauJetContainer.h
TauEleOverlapChecker::initialize
virtual StatusCode initialize() override
Initialization of the tool.
Definition: TauEleOverlapChecker.cxx:11
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TauEleOverlapChecker::m_removedTracksContainer
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_removedTracksContainer
Definition: TauEleOverlapChecker.h:41
ReadHandle.h
Handle class for reading from StoreGate.
ITauToolBase
The base class for all tau tools.
Definition: ITauToolBase.h:30
TauEleOverlapChecker::m_removedClustersContainer
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_removedClustersContainer
Definition: TauEleOverlapChecker.h:40
TauJet.h
TauEleOverlapChecker::TauEleOverlapChecker
TauEleOverlapChecker(const std::string &name)
Constructor.
Definition: TauEleOverlapChecker.cxx:7
ToolHandle.h