ATLAS Offline Software
Loading...
Searching...
No Matches
TauPi0CreateROI.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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
29
31
32public:
33
35
36 TauPi0CreateROI(const std::string& name);
37 virtual ~TauPi0CreateROI() = default;
38
39 virtual StatusCode initialize() override;
40
42 virtual StatusCode executeTool(xAOD::TauJet& pTau,
43 const EventContext& ctx,
44 CaloConstCellContainer& Pi0CellContainer,
45 boost::dynamic_bitset<>& map) const override;
46
47private:
48 Gaudi::Property<bool> m_removeElectronCells {this, "RemoveElectronCells", false};
49 Gaudi::Property<double> m_maxDeltaRTauCells {this, "MaxDeltaRTauCells", 0.4, "max DeltaR for cells-tau association"};
50
51 SG::ReadHandleKey<CaloCellContainer> m_caloCellInputContainer {this,"Key_caloCellInputContainer", "AllCalo", "input calo cell container key"};
52 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager" };
53 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_removedClusterInputContainer {this,"Key_RemovedClusterInputContainer", "", "input removed cluster key" };
54
55
56};
57
58
59#endif // TAURECTOOLS_TAUPI0CREATEROI_H
CaloCellContainer that can accept const cell pointers.
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
CaloCellContainer that can accept const cell pointers.
The base class for all tau tools.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual ~TauPi0CreateROI()=default
virtual StatusCode executeTool(xAOD::TauJet &pTau, const EventContext &ctx, CaloConstCellContainer &Pi0CellContainer, boost::dynamic_bitset<> &map) const override
TauPi0CreateROI(const std::string &name)
Gaudi::Property< bool > m_removeElectronCells
SG::ReadHandleKey< CaloCellContainer > m_caloCellInputContainer
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_removedClusterInputContainer
Gaudi::Property< double > m_maxDeltaRTauCells
ASG_TOOL_CLASS2(TauPi0CreateROI, TauRecToolBase, ITauToolBase)
virtual StatusCode initialize() override
Tool initializer.
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
STL class.
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17