ATLAS Offline Software
Loading...
Searching...
No Matches
egammaCellRecoveryTool.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 EGAMMACALOTOOLS_EGAMMACELLRECOVERYTOOL_H
6#define EGAMMACALOTOOLS_EGAMMACELLRECOVERYTOOL_H
7
10
14
16
17 public:
18
20 egammaCellRecoveryTool(const std::string& type,
21 const std::string& name,
22 const IInterface* parent);
23
26
28 StatusCode initialize() override;
30 StatusCode finalize() override { return StatusCode::SUCCESS; }
32 virtual StatusCode execute(const xAOD::CaloCluster& cluster,
33 Info& info) const override final;
34
35 private:
36
37 // time cut to recover, is this safe enough given the rounding of time ?
38 static constexpr double m_timeCut = 12.;
39
40 // phi size of layer 2 and 3 cells
41 static constexpr double m_phiSize = 2*M_PI/256;
42
43 // Sizes of the window to search for missing cells
44 static const int m_nL2 = 5*7;
45 static const int m_nL3 = 10;
46
50 };
51
53 double etamax, double phimax) const;
54
55};
56
57#endif
#define M_PI
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Interface for the Reconstruction/egamma/egammaCaloTools/egammaCellRecoveryTool.
virtual StatusCode execute(const xAOD::CaloCluster &cluster, Info &info) const override final
Method to just calculate hadronic leakage.
egammaCellRecoveryTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
StatusCode initialize() override
initialize method
static constexpr double m_phiSize
static constexpr double m_timeCut
existingCells buildCellArrays(const xAOD::CaloCluster *clus, double etamax, double phimax) const
~egammaCellRecoveryTool()=default
Destructor.
StatusCode finalize() override
finalize method
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.