ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
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
10
NAME: CaloSwGap_g3.h
11
PACKAGE: offline/Calorimeter/CaloClusterCorrection
12
13
AUTHORS: L. Carminati
14
CREATED: Feb 2003
15
16
PURPOSE: Correction for the barrel-endcap cracks
17
Tuned using 100 GeV photons
18
Correction tuned on G3 samples.
19
20
Updated: May 5, 2004 (Sven Menke)
21
base class changed from algo to tool
22
23
Updated: June, 2004 (sss)
24
Use ToolWithConstants to get correction constants.
25
********************************************************************/
26
27
// INCLUDE HEADER FILES:
28
29
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
30
#include "
CaloConditions/Array.h
"
31
#include "
CaloInterface/ISetCaloCellContainerName.h
"
32
#include "
StoreGate/ReadHandleKey.h
"
33
34
class
CaloSwGap_g3
:
public
CaloClusterCorrection
,
35
public
ISetCaloCellContainerName
36
{
37
public
:
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
66
SG::ReadHandleKey<CaloCellContainer>
m_cells_name
67
{
this
,
"cells_name"
,
"AllCalo"
,
""
};
68
};
69
#endif
CaloClusterCorrection.h
Array.h
Simple multidimensional arrays.
ISetCaloCellContainerName.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloClusterCorrection
Definition
CaloClusterCorrection.h:55
CaloSwGap_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition
CaloSwGap_g3.cxx:63
CaloSwGap_g3::setCaloCellContainerName
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
Definition
CaloSwGap_g3.cxx:134
CaloSwGap_g3::m_correction
Constant< CxxUtils::Array< 1 > > m_correction
Definition
CaloSwGap_g3.h:63
CaloSwGap_g3::m_etamax_crack
Constant< float > m_etamax_crack
Definition
CaloSwGap_g3.h:61
CaloSwGap_g3::m_cells_name
SG::ReadHandleKey< CaloCellContainer > m_cells_name
Property: The name of the container in which to look to find tile cells.
Definition
CaloSwGap_g3.h:67
CaloSwGap_g3::m_etamin_crack
Constant< float > m_etamin_crack
Definition
CaloSwGap_g3.h:60
CaloSwGap_g3::CaloSwGap_g3
CaloSwGap_g3()=delete
CaloSwGap_g3::m_scint_weight
Constant< CxxUtils::Array< 1 > > m_scint_weight
Definition
CaloSwGap_g3.h:62
ISetCaloCellContainerName
Allow changing the name of the CaloCellContainer used by a tool.
Definition
ISetCaloCellContainerName.h:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
CaloSwGap_g3
Definition
CaloSwGap_g3.py:1
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0