ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArROD
src
LArSCSimpleMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARROD_LARSCSIMPLEMAKER_H
6
#define LARROD_LARSCSIMPLEMAKER_H
7
// +======================================================================+
8
// + +
9
// + Author ........: Denis Oliveira Damazio +
10
// + Institute ......: BNL +
11
// + Creation date .: 17/06/2012 +
12
// + Move to MT in : 20/02/2021
13
// + +
14
// +======================================================================+
15
//
16
// ....... include
17
//
18
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "GaudiKernel/ToolHandle.h"
21
#include "
AthAllocators/DataPool.h
"
22
#include "
StoreGate/ReadHandleKey.h
"
23
#include "
StoreGate/ReadCondHandleKey.h
"
24
#include "
StoreGate/WriteHandleKey.h
"
25
#include "
CaloEvent/CaloCellContainer.h
"
26
#include "
CaloConditions/CaloNoiseSigmaDiff.h
"
27
#include "
CaloEvent/CaloBCIDAverage.h
"
28
29
30
class
CaloSuperCellDetDescrManager
;
31
class
ICaloSuperCellIDTool
;
32
class
CaloDetDescrElement
;
33
class
CaloCell
;
34
class
CaloIdManager
;
35
40
class
LArSCSimpleMaker
:
public
AthReentrantAlgorithm
41
{
42
public
:
44
LArSCSimpleMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
45
~LArSCSimpleMaker
() {};
46
47
49
StatusCode
initialize
();
50
52
StatusCode
execute
(
const
EventContext& context)
const
;
53
54
private
:
56
ToolHandle<ICaloSuperCellIDTool>
m_scidtool
57
{
this
,
"SCIDTool"
,
"CaloSuperCellIDTool"
,
58
"Offline / supercell mapping tool."
};
59
61
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
62
{
this
,
"CellContainer"
,
"AllCalo"
,
63
"SG key for the input calorimeter cell container"
};
64
66
SG::WriteHandleKey<CaloCellContainer>
m_sCellContainerKey
67
{
this
,
"SCellContainer"
,
"SCellContainer"
,
68
"SG key for the output supercell LAr channel container"
};
69
71
SG::ReadCondHandleKey<CaloNoiseSigmaDiff>
m_noise_per_cell_Key
72
{
this
,
"CaloNoiseSigmaDiff"
,
"CaloNoiseSigmaDiff"
,
"Sigma Diff for CaloNoise with High and Medium gain"
};
73
75
SG::ReadHandleKey<CaloBCIDAverage>
m_bcidAvgKey
76
{
this
,
"BCIDAvgKey"
,
"CaloBCIDAverage"
,
""
};
77
78
// compensate for Noise (superCell from cells with high gain
79
Gaudi::Property<bool>
m_compNoise
{
this
,
"CompNoise"
,
true
,
"Compensate for Noise difference in LAr between high and medium gain"
};
80
// compensate for BCID effect
81
Gaudi::Property<bool>
m_addBCID
{
this
,
"addBCID"
,
true
,
"Add BCID compensation back to cells prior to sum them up"
};
82
83
// Super Cell DD manager key
84
SG::ReadCondHandleKey<CaloSuperCellDetDescrManager>
m_caloSuperCellMgrKey
{
85
this
,
"CaloSuperCellDetDescrManager"
,
"CaloSuperCellDetDescrManager"
,
"SG key of the resulting CaloSuperCellDetDescrManager"
};
86
88
const
CaloIdManager
*
m_calo_id_manager
;
89
90
91
};
92
93
94
#endif
// not LARROD_LARSCSIMPLEMAKER_H
AthReentrantAlgorithm.h
CaloBCIDAverage.h
CaloCellContainer.h
CaloNoiseSigmaDiff.h
DataPool.h
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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell.
Definition
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition
CaloIdManager.h:45
CaloSuperCellDetDescrManager
Definition
CaloDetDescrManager.h:486
ICaloSuperCellIDTool
Interface for tool to map between calorimeter cells and supercells.
Definition
ICaloSuperCellIDTool.h:31
LArSCSimpleMaker::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition
LArSCSimpleMaker.h:84
LArSCSimpleMaker::m_addBCID
Gaudi::Property< bool > m_addBCID
Definition
LArSCSimpleMaker.h:81
LArSCSimpleMaker::m_sCellContainerKey
SG::WriteHandleKey< CaloCellContainer > m_sCellContainerKey
Property: SG key for the output supercell LAr channel container.
Definition
LArSCSimpleMaker.h:67
LArSCSimpleMaker::execute
StatusCode execute(const EventContext &context) const
Algorithm execute method.
Definition
LArSCSimpleMaker.cxx:53
LArSCSimpleMaker::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Property: SG key for the input calorimeter cell container.
Definition
LArSCSimpleMaker.h:62
LArSCSimpleMaker::m_scidtool
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
Definition
LArSCSimpleMaker.h:57
LArSCSimpleMaker::initialize
StatusCode initialize()
Standard Gaudi initialize method.
Definition
LArSCSimpleMaker.cxx:39
LArSCSimpleMaker::~LArSCSimpleMaker
~LArSCSimpleMaker()
Definition
LArSCSimpleMaker.h:45
LArSCSimpleMaker::m_calo_id_manager
const CaloIdManager * m_calo_id_manager
Entry point for calorimeter ID helpers.
Definition
LArSCSimpleMaker.h:88
LArSCSimpleMaker::m_noise_per_cell_Key
SG::ReadCondHandleKey< CaloNoiseSigmaDiff > m_noise_per_cell_Key
Property SG Key for the Expected Noise Sigma diff in diff gains.
Definition
LArSCSimpleMaker.h:72
LArSCSimpleMaker::m_bcidAvgKey
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
Property SG Key for the CaloLumiBCID.
Definition
LArSCSimpleMaker.h:76
LArSCSimpleMaker::LArSCSimpleMaker
LArSCSimpleMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard Gaudi algorithm constructor.
Definition
LArSCSimpleMaker.cxx:32
LArSCSimpleMaker::m_compNoise
Gaudi::Property< bool > m_compNoise
Definition
LArSCSimpleMaker.h:79
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0