|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TAURECTOOLS_TAUSHOTFINDER_H
6 #define TAURECTOOLS_TAUSHOTFINDER_H
14 #include "GaudiKernel/ToolHandle.h"
56 std::vector<const CaloCell*>&
cells)
const;
66 std::vector<const CaloCell*>& seedCells)
const;
80 std::vector<const CaloCell*>&
cells,
101 Gaudi::Property<std::vector<float>>
m_minPtCut {
this,
"MinPtCut"};
107 ToolHandle<IHadronicCalibrationTool>
m_caloWeightTool {
this,
"CaloWeightTool",
"H1WeightToolCSC12Generic"};
115 #endif // TAURECTOOLS_TAUSHOTFINDER_H
SG::ReadHandleKey< CaloCellContainer > m_caloCellInputContainer
Gaudi::Property< std::vector< float > > m_minPtCut
virtual StatusCode executeShotFinder(xAOD::TauJet &pTau, xAOD::CaloClusterContainer &tauShotCaloClusContainer, xAOD::PFOContainer &tauShotPFOContainer) const override
@ depth
pointing depth of the shower as calculated in egammaqgcld
Scalar eta() const
pseudorapidity method
xAOD::CaloCluster * createShotCluster(const CaloCell *cell, const CaloCell *phiNeighCell, const CaloCellContainer &cellContainer, xAOD::CaloClusterContainer *clusterContainer) const
Create the shot cluster Shot cluster contains 5x1 cells from the seed cell and hottestneighbour cell ...
virtual StatusCode initialize() override
Tool initializer.
virtual ~TauShotFinder()=default
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
const CaloCell * getPhiNeighbour(const CaloCell &seedCell, const std::vector< const CaloCell * > &seedCells) const
Get the hottest neighbour cell in the phi direction.
void addEtaNeighbours(const CaloCell &cell, const CaloCellContainer &cellContainer, std::vector< const CaloCell * > &cells, int depth, int maxDepth, bool next) const
Get neighbour cells in the eta direction.
ptSort(const TauShotFinder &info)
ToolHandle< IHadronicCalibrationTool > m_caloWeightTool
Definition of CaloDetDescrManager.
const TauShotFinder & m_info
Gaudi::Property< int > m_nCellsInEta
bool operator()(const CaloCell *c1, const CaloCell *c2)
Description of a calorimeter cluster.
int getNPhotons(float eta, float energy) const
Get NPhotons in shot.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a tau jet.
Helper class for offline cell identifiers.
bool isPhiNeighbour(IdentifierHash cell1Hash, IdentifierHash cell2Hash) const
Check whether two cells are neighbours in the phi direction.
StatusCode selectCells(const xAOD::TauJet &tau, const CaloCellContainer &cellContainer, const CaloDetDescrManager *detMgr, std::vector< const CaloCell * > &cells) const
Apply preselection of the cells Cells within dR < 0.4, in EM1, and pt > 100 MeV are selected.
int getEtaBin(float eta) const
Get eta bin.
Container class for CaloCell.
Gaudi::Property< bool > m_removeElectronCells
std::vector< const CaloCell * > getEtaNeighbours(const CaloCell &cell, const CaloCellContainer &cellContainer, int maxDepth) const
Get neighbour cells in the eta direction.
const CaloCell_ID * m_calo_id
calo cell navigation
This class provides the client interface for accessing the detector description information common to...
Data object for each calorimeter readout cell.
TauShotFinder(const std::string &name)
StatusCode selectSeedCells(const xAOD::TauJet &tau, const CaloCellContainer &cellContainer, const CaloDetDescrManager *detMgr, std::vector< const CaloCell * > &seedCells) const
Select the seed cells used to construct the shot Cells must sastisfy:
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
ASG_TOOL_CLASS2(TauShotFinder, TauRecToolBase, ITauToolBase)
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_removedClusterInputContainer
Gaudi::Property< std::vector< float > > m_doubleShotCut