ATLAS Offline Software
TauClusterFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TAURECTOOLS_TAUCLUSTERFINDER_H
6 #define TAURECTOOLS_TAUCLUSTERFINDER_H
7 
9 
10 #include "AsgTools/ToolHandle.h"
11 
22 
23  public:
24 
26 
28  TauClusterFinder(const std::string& name);
29 
31  ~TauClusterFinder() = default;
32 
34  virtual StatusCode execute(xAOD::TauJet& tau) const override;
35 
36  private:
37 
38  std::vector<const xAOD::CaloCluster*> getClusterList(const xAOD::Jet& jet) const;
39 
40  Gaudi::Property<bool> m_skipNegativeEnergy {this, "SkipNegativeEnergy", true, "whether to skip negative energy clusters"};
41 
42  Gaudi::Property<bool> m_useOrigCluster {this, "UseOriginalCluster", true,
43  "Use original cluster object if jet constituent is a shallow copy"};
44 };
45 
46 #endif // TAURECTOOLS_TAUCLUSTERFINDER_H
TauClusterFinder::m_skipNegativeEnergy
Gaudi::Property< bool > m_skipNegativeEnergy
Definition: TauClusterFinder.h:40
TauRecToolBase.h
TauRecToolBase
The base class for all tau tools.
Definition: TauRecToolBase.h:21
TauClusterFinder::TauClusterFinder
TauClusterFinder(const std::string &name)
Constructor.
Definition: TauClusterFinder.cxx:16
TauClusterFinder::getClusterList
std::vector< const xAOD::CaloCluster * > getClusterList(const xAOD::Jet &jet) const
Definition: TauClusterFinder.cxx:64
TauClusterFinder::m_useOrigCluster
Gaudi::Property< bool > m_useOrigCluster
Definition: TauClusterFinder.h:42
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
TauClusterFinder::~TauClusterFinder
~TauClusterFinder()=default
Destructor.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ITauToolBase
The base class for all tau tools.
Definition: ITauToolBase.h:30
TauClusterFinder::execute
virtual StatusCode execute(xAOD::TauJet &tau) const override
Execution of this tool.
Definition: TauClusterFinder.cxx:21
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
TauClusterFinder
Associate the clusters used in the seed jet to the tau candidate.
Definition: TauClusterFinder.h:21
TauClusterFinder::ASG_TOOL_CLASS2
ASG_TOOL_CLASS2(TauClusterFinder, TauRecToolBase, ITauToolBase)
ToolHandle.h