ATLAS Offline Software
TauPi0CreateROI.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_TAUPI0CREATEROI_H
6 #define TAURECTOOLS_TAUPI0CREATEROI_H
7 
8 #include <string>
9 #include <vector>
10 #include <boost/dynamic_bitset.hpp>
11 
12 #include "GaudiKernel/ToolHandle.h"
14 
20 #include "xAODTau/TauJet.h"
21 
31 
32 public:
33 
35 
36  TauPi0CreateROI(const std::string& name);
37  virtual ~TauPi0CreateROI() = default;
38 
39  virtual StatusCode initialize() override;
40  virtual StatusCode executePi0CreateROI(xAOD::TauJet& pTau, CaloConstCellContainer& Pi0CellContainer, boost::dynamic_bitset<>& map) const override;
41 
42 private:
43  Gaudi::Property<bool> m_removeElectronCells {this, "RemoveElectronCells", false};
44 
45  SG::ReadHandleKey<CaloCellContainer> m_caloCellInputContainer {this,"Key_caloCellInputContainer", "AllCalo", "input calo cell container key"};
46  SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager" };
47  SG::ReadHandleKey<xAOD::CaloClusterContainer> m_removedClusterInputContainer {this,"Key_RemovedClusterInputContainer", "", "input removed cluster key" };
48 };
49 
50 #endif // TAURECTOOLS_TAUPI0CREATEROI_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TauPi0CreateROI
Find the cells used to create pi0 cluster.
Definition: TauPi0CreateROI.h:30
TauRecToolBase.h
TauPi0CreateROI::~TauPi0CreateROI
virtual ~TauPi0CreateROI()=default
TauRecToolBase
The base class for all tau tools.
Definition: TauRecToolBase.h:21
TauPi0CreateROI::TauPi0CreateROI
TauPi0CreateROI(const std::string &name)
Definition: TauPi0CreateROI.cxx:16
SG::ReadHandleKey< CaloCellContainer >
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
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
TauPi0CreateROI::m_removeElectronCells
Gaudi::Property< bool > m_removeElectronCells
Definition: TauPi0CreateROI.h:43
TauPi0CreateROI::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: TauPi0CreateROI.h:46
TauPi0CreateROI::m_removedClusterInputContainer
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_removedClusterInputContainer
Definition: TauPi0CreateROI.h:47
ReadCondHandleKey.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TauPi0CreateROI::executePi0CreateROI
virtual StatusCode executePi0CreateROI(xAOD::TauJet &pTau, CaloConstCellContainer &Pi0CellContainer, boost::dynamic_bitset<> &map) const override
Definition: TauPi0CreateROI.cxx:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ITauToolBase
The base class for all tau tools.
Definition: ITauToolBase.h:30
SG::ReadCondHandleKey< CaloDetDescrManager >
CaloConstCellContainer
CaloCellContainer that can accept const cell pointers.
Definition: CaloConstCellContainer.h:45
TauJet.h
TauPi0CreateROI::initialize
virtual StatusCode initialize() override
Tool initializer.
Definition: TauPi0CreateROI.cxx:22
CaloConstCellContainer.h
CaloCellContainer that can accept const cell pointers.
TauPi0CreateROI::ASG_TOOL_CLASS2
ASG_TOOL_CLASS2(TauPi0CreateROI, TauRecToolBase, ITauToolBase)
TauPi0CreateROI::m_caloCellInputContainer
SG::ReadHandleKey< CaloCellContainer > m_caloCellInputContainer
Definition: TauPi0CreateROI.h:45