ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
LArCalibUtils
LArCaliWaveAverage.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef LARCALIWAVEAVERAGE_H
9
#define LARCALIWAVEAVERAGE_H
10
11
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
12
#include "
StoreGate/StoreGateSvc.h
"
13
#include "
CaloIdentifier/LArEM_ID.h
"
14
#include "
Identifier/HWIdentifier.h
"
15
#include "
LArRawConditions/LArCaliWave.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
StoreGate/WriteCondHandleKey.h
"
18
#include "
LArCabling/LArOnOffIdMapping.h
"
19
#include "
LArRawConditions/LArCaliWaveContainer.h
"
20
21
#include <string>
22
23
class
LArCaliWaveAverage
:
public
AthCondAlgorithm
{
24
25
public
:
26
27
LArCaliWaveAverage
(
const
std::string& name, ISvcLocator* pSvcLocator);
28
~LArCaliWaveAverage
();
29
30
StatusCode
initialize
() override final;
31
StatusCode
execute
(
const
EventContext& ctx)
const
override final;
32
StatusCode
stop
() override final;
33
StatusCode
finalize
()override final {
return
StatusCode::SUCCESS;}
34
35
private
:
36
37
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"OnOffMap"
,
"LArOnOffIdMap"
,
"SG key for mapping object"
};
38
SG::ReadCondHandleKey<LArCaliWaveContainer>
m_keyInput
{
this
,
"KeyInput"
,
"LArCaliWave"
,
"SG key of input cali wave container"
};
39
SG::WriteCondHandleKey<LArCaliWaveContainer>
m_keyOutputCorr
{
this
,
"KeyOutputCorr"
,
"LArCaliWaveCorr"
,
"SG key for corrected container"
};
40
SG::WriteCondHandleKey<LArCaliWaveContainer>
m_keyOutputSymm
{
this
,
"KeyOutputSymm"
,
"LArCaliWaveSymm"
,
"SG key for symmetrized container"
};
41
42
const
LArOnlineID
*
m_onlineHelper
;
43
44
const
LArEM_ID
*
m_emId
;
45
const
LArHEC_ID
*
m_hecId
;
46
const
LArFCAL_ID
*
m_fcalId
;
47
48
std::string
m_groupingType
;
49
50
std::vector<unsigned>
m_chids
;
51
52
std::vector<HWIdentifier>
SymmetricChannels
(
HWIdentifier
ChID,
const
std::vector<unsigned>& ChannelsNotToUse,
const
LArOnOffIdMapping
* cabling );
53
LArCaliWave
WaveAverage
(
const
std::vector<LArCaliWave>& ToBeAveraged);
54
55
};
56
57
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
HWIdentifier.h
LArCaliWaveContainer.h
LArCaliWave.h
LArEM_ID.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
StoreGateSvc.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
HWIdentifier
Definition
HWIdentifier.h:13
LArCaliWaveAverage::m_keyInput
SG::ReadCondHandleKey< LArCaliWaveContainer > m_keyInput
Definition
LArCaliWaveAverage.h:38
LArCaliWaveAverage::WaveAverage
LArCaliWave WaveAverage(const std::vector< LArCaliWave > &ToBeAveraged)
Definition
LArCaliWaveAverage.cxx:331
LArCaliWaveAverage::LArCaliWaveAverage
LArCaliWaveAverage(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArCaliWaveAverage.cxx:20
LArCaliWaveAverage::m_keyOutputCorr
SG::WriteCondHandleKey< LArCaliWaveContainer > m_keyOutputCorr
Definition
LArCaliWaveAverage.h:39
LArCaliWaveAverage::SymmetricChannels
std::vector< HWIdentifier > SymmetricChannels(HWIdentifier ChID, const std::vector< unsigned > &ChannelsNotToUse, const LArOnOffIdMapping *cabling)
Definition
LArCaliWaveAverage.cxx:227
LArCaliWaveAverage::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
LArCaliWaveAverage.h:42
LArCaliWaveAverage::~LArCaliWaveAverage
~LArCaliWaveAverage()
LArCaliWaveAverage::stop
StatusCode stop() override final
Definition
LArCaliWaveAverage.cxx:75
LArCaliWaveAverage::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArCaliWaveAverage.h:37
LArCaliWaveAverage::finalize
StatusCode finalize() override final
Definition
LArCaliWaveAverage.h:33
LArCaliWaveAverage::m_fcalId
const LArFCAL_ID * m_fcalId
Definition
LArCaliWaveAverage.h:46
LArCaliWaveAverage::m_emId
const LArEM_ID * m_emId
Definition
LArCaliWaveAverage.h:44
LArCaliWaveAverage::execute
StatusCode execute(const EventContext &ctx) const override final
Definition
LArCaliWaveAverage.cxx:70
LArCaliWaveAverage::initialize
StatusCode initialize() override final
Definition
LArCaliWaveAverage.cxx:34
LArCaliWaveAverage::m_groupingType
std::string m_groupingType
Definition
LArCaliWaveAverage.h:48
LArCaliWaveAverage::m_hecId
const LArHEC_ID * m_hecId
Definition
LArCaliWaveAverage.h:45
LArCaliWaveAverage::m_keyOutputSymm
SG::WriteCondHandleKey< LArCaliWaveContainer > m_keyOutputSymm
Definition
LArCaliWaveAverage.h:40
LArCaliWaveAverage::m_chids
std::vector< unsigned > m_chids
Definition
LArCaliWaveAverage.h:50
LArCaliWave
Definition
LArCaliWave.h:44
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition
LArFCAL_ID.h:49
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArOnOffIdMapping
Definition
LArOnOffIdMapping.h:20
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
const
Generated on
for ATLAS Offline Software by
1.17.0