ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
14#include <Eigen/Dense>
15
18
20
22 public extends<AthAlgTool,ILArAutoCorrDecoderTool>
23
24{
25 public:
26
27 // constructor
28 using base_class::base_class;
29
30
31 // destructor
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() {
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
56};
57
58#endif
static const InterfaceID & interfaceID()
const Eigen::MatrixXd ACDiagonal(const HWIdentifier &CellID, int gain, unsigned nSamples) const
const LArOnlineID_Base * m_onlineID
virtual StatusCode initialize()
virtual ~LArAutoCorrDecoderTool()
virtual StatusCode finalize()
static const InterfaceID & interfaceID()
Gaudi::Property< std::string > m_keyAutoCorr
Gaudi::Property< unsigned > m_decodemode
Gaudi::Property< bool > m_alwaysHighGain
const Eigen::MatrixXd ACPhysics(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Gaudi::Property< bool > m_isSC
Helper for the Liquid Argon Calorimeter cell identifiers.