ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
LArCalibUtils
LArAutoCorrDecoderTool.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef LARCALIBUTILS_LARAUTOCORRDECODERTOOL_H
9
#define LARCALIBUTILS_LARAUTOCORRDECODERTOOL_H
10
11
#include "
LArElecCalib/ILArAutoCorrDecoderTool.h
"
12
13
#include "
LArElecCalib/ILArAutoCorr.h
"
14
#include <Eigen/Dense>
15
16
#include "
LArIdentifier/LArOnlineID.h
"
17
#include "
LArIdentifier/LArOnline_SuperCellID.h
"
18
19
#include "
AthenaBaseComps/AthAlgTool.h
"
20
21
class
LArAutoCorrDecoderTool
:
22
public
extends<AthAlgTool,ILArAutoCorrDecoderTool>
23
24
{
25
public
:
26
27
// constructor
28
using
base_class::base_class;
29
30
31
// destructor
32
virtual
~LArAutoCorrDecoderTool
();
33
34
// retrieve methods
35
const
Eigen::MatrixXd
AutoCorr
(
const
HWIdentifier
& CellID,
int
gain,
unsigned
nSamples)
const
;
36
// initialize and finalize methods
37
virtual
StatusCode
initialize
();
38
virtual
StatusCode
finalize
(){
return
StatusCode::SUCCESS;}
39
40
static
const
InterfaceID&
interfaceID
() {
41
return
ILArAutoCorrDecoderTool::interfaceID
();
42
}
43
44
private
:
45
46
//Properties:
47
Gaudi::Property<unsigned>
m_decodemode
{
this
,
"DecodeMode"
,0};
48
Gaudi::Property<bool>
m_alwaysHighGain
{
this
,
"UseAlwaysHighGain"
,
false
};
49
Gaudi::Property<bool>
m_isSC
{
this
,
"isSC"
,
false
};
50
Gaudi::Property<std::string>
m_keyAutoCorr
{
this
,
"KeyAutoCorr"
,
"LArAutoCorr"
};
51
52
const
Eigen::MatrixXd
ACDiagonal
(
const
HWIdentifier
& CellID,
int
gain,
unsigned
nSamples)
const
;
53
const
Eigen::MatrixXd
ACPhysics
(
const
HWIdentifier
& CellID,
int
gain,
unsigned
nSamples)
const
;
54
55
const
LArOnlineID_Base
*
m_onlineID
=
nullptr
;
56
};
57
58
#endif
AthAlgTool.h
ILArAutoCorrDecoderTool.h
ILArAutoCorr.h
LArOnlineID.h
LArOnline_SuperCellID.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArAutoCorrDecoderTool::interfaceID
static const InterfaceID & interfaceID()
Definition
ILArAutoCorrDecoderTool.h:28
LArAutoCorrDecoderTool
Definition
LArAutoCorrDecoderTool.h:24
LArAutoCorrDecoderTool::ACDiagonal
const Eigen::MatrixXd ACDiagonal(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Definition
LArAutoCorrDecoderTool.cxx:45
LArAutoCorrDecoderTool::m_onlineID
const LArOnlineID_Base * m_onlineID
Definition
LArAutoCorrDecoderTool.h:55
LArAutoCorrDecoderTool::initialize
virtual StatusCode initialize()
Definition
LArAutoCorrDecoderTool.cxx:10
LArAutoCorrDecoderTool::~LArAutoCorrDecoderTool
virtual ~LArAutoCorrDecoderTool()
LArAutoCorrDecoderTool::finalize
virtual StatusCode finalize()
Definition
LArAutoCorrDecoderTool.h:38
LArAutoCorrDecoderTool::AutoCorr
const Eigen::MatrixXd AutoCorr(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Definition
LArAutoCorrDecoderTool.cxx:36
LArAutoCorrDecoderTool::interfaceID
static const InterfaceID & interfaceID()
Definition
LArAutoCorrDecoderTool.h:40
LArAutoCorrDecoderTool::m_keyAutoCorr
Gaudi::Property< std::string > m_keyAutoCorr
Definition
LArAutoCorrDecoderTool.h:50
LArAutoCorrDecoderTool::m_decodemode
Gaudi::Property< unsigned > m_decodemode
Definition
LArAutoCorrDecoderTool.h:47
LArAutoCorrDecoderTool::m_alwaysHighGain
Gaudi::Property< bool > m_alwaysHighGain
Definition
LArAutoCorrDecoderTool.h:48
LArAutoCorrDecoderTool::ACPhysics
const Eigen::MatrixXd ACPhysics(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Definition
LArAutoCorrDecoderTool.cxx:93
LArAutoCorrDecoderTool::m_isSC
Gaudi::Property< bool > m_isSC
Definition
LArAutoCorrDecoderTool.h:49
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition
LArOnlineID_Base.h:97
Generated on
for ATLAS Offline Software by
1.17.0