ATLAS Offline Software
Loading...
Searching...
No Matches
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
29
31
32public:
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
42private:
43 Gaudi::Property<bool> m_removeElectronCells {this, "RemoveElectronCells", false};
44 Gaudi::Property<double> m_maxDeltaRTauCells {this, "MaxDeltaRTauCells", 0.4, "max DeltaR for cells-tau association"};
45
46 SG::ReadHandleKey<CaloCellContainer> m_caloCellInputContainer {this,"Key_caloCellInputContainer", "AllCalo", "input calo cell container key"};
47 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager" };
48 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_removedClusterInputContainer {this,"Key_RemovedClusterInputContainer", "", "input removed cluster key" };
49};
50
51
52#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 executePi0CreateROI(xAOD::TauJet &pTau, 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)
STL class.
TauJet_v3 TauJet
Definition of the current "tau version".