ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
tauRecTools
src
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"
13
#include "
tauRecTools/TauRecToolBase.h
"
14
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
StoreGate/WriteHandleKey.h
"
18
#include "
CaloDetDescr/CaloDetDescrManager.h
"
19
#include "
CaloEvent/CaloConstCellContainer.h
"
20
#include "
xAODTau/TauJet.h
"
21
29
30
class
TauPi0CreateROI
:
public
TauRecToolBase
{
31
32
public
:
33
34
ASG_TOOL_CLASS2
(
TauPi0CreateROI
,
TauRecToolBase
,
ITauToolBase
);
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
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
53
54
#endif
// TAURECTOOLS_TAUPI0CREATEROI_H
CaloConstCellContainer.h
CaloCellContainer that can accept const cell pointers.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TauJet.h
TauRecToolBase.h
CaloConstCellContainer
CaloCellContainer that can accept const cell pointers.
Definition
CaloConstCellContainer.h:45
ITauToolBase
The base class for all tau tools.
Definition
ITauToolBase.h:30
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TauPi0CreateROI::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
TauPi0CreateROI.h:47
TauPi0CreateROI::~TauPi0CreateROI
virtual ~TauPi0CreateROI()=default
TauPi0CreateROI::executePi0CreateROI
virtual StatusCode executePi0CreateROI(xAOD::TauJet &pTau, CaloConstCellContainer &Pi0CellContainer, boost::dynamic_bitset<> &map) const override
Definition
TauPi0CreateROI.cxx:27
TauPi0CreateROI::TauPi0CreateROI
TauPi0CreateROI(const std::string &name)
Definition
TauPi0CreateROI.cxx:12
TauPi0CreateROI::m_removeElectronCells
Gaudi::Property< bool > m_removeElectronCells
Definition
TauPi0CreateROI.h:43
TauPi0CreateROI::m_caloCellInputContainer
SG::ReadHandleKey< CaloCellContainer > m_caloCellInputContainer
Definition
TauPi0CreateROI.h:46
TauPi0CreateROI::m_removedClusterInputContainer
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_removedClusterInputContainer
Definition
TauPi0CreateROI.h:48
TauPi0CreateROI::m_maxDeltaRTauCells
Gaudi::Property< double > m_maxDeltaRTauCells
Definition
TauPi0CreateROI.h:44
TauPi0CreateROI::ASG_TOOL_CLASS2
ASG_TOOL_CLASS2(TauPi0CreateROI, TauRecToolBase, ITauToolBase)
TauPi0CreateROI::initialize
virtual StatusCode initialize() override
Tool initializer.
Definition
TauPi0CreateROI.cxx:15
TauRecToolBase::TauRecToolBase
TauRecToolBase(const std::string &name)
Definition
TauRecToolBase.cxx:125
map
STL class.
xAOD::TauJet
TauJet_v3 TauJet
Definition of the current "tau version".
Definition
TauJet.h:17
Generated on
for ATLAS Offline Software by
1.17.0