ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwGap_g3.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOCLUSTERCORRECTION_CALOSWGAP_G3_H
6#define CALOCLUSTERCORRECTION_CALOSWGAP_G3_H
7
8/********************************************************************
9
10NAME: CaloSwGap_g3.h
11PACKAGE: offline/Calorimeter/CaloClusterCorrection
12
13AUTHORS: L. Carminati
14CREATED: Feb 2003
15
16PURPOSE: Correction for the barrel-endcap cracks
17 Tuned using 100 GeV photons
18 Correction tuned on G3 samples.
19
20Updated: May 5, 2004 (Sven Menke)
21 base class changed from algo to tool
22
23Updated: June, 2004 (sss)
24 Use ToolWithConstants to get correction constants.
25********************************************************************/
26
27// INCLUDE HEADER FILES:
28
33
36{
37public:
39 using CaloClusterCorrection::CaloClusterCorrection;
40
44 virtual StatusCode initialize() override;
45
46 virtual void makeCorrection (const Context& myctx,
47 xAOD::CaloCluster* cluster) const override;
48
49
54 virtual StatusCode setCaloCellContainerName (const std::string& name) override;
55
56
57 private:
58 CaloSwGap_g3() = delete;
59
60 Constant<float> m_etamin_crack { this, "etamin_crack", "" };
61 Constant<float> m_etamax_crack { this, "etamax_crack", "" };
62 Constant<CxxUtils::Array<1> > m_scint_weight { this, "scint_weight", "" };
63 Constant<CxxUtils::Array<1> > m_correction { this, "correction", "" };
64
67 { this, "cells_name", "AllCalo", "" };
68};
69#endif
Simple multidimensional arrays.
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
Constant< CxxUtils::Array< 1 > > m_correction
Constant< float > m_etamax_crack
SG::ReadHandleKey< CaloCellContainer > m_cells_name
Property: The name of the container in which to look to find tile cells.
Constant< float > m_etamin_crack
CaloSwGap_g3()=delete
Constant< CxxUtils::Array< 1 > > m_scint_weight
Allow changing the name of the CaloCellContainer used by a tool.
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
void initialize()