ATLAS Offline Software
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 
55  const LArOnlineID_Base* m_onlineID=nullptr;
56 };
57 
58 #endif
LArAutoCorrDecoderTool::m_decodemode
Gaudi::Property< unsigned > m_decodemode
Definition: LArAutoCorrDecoderTool.h:47
LArAutoCorrDecoderTool::m_onlineID
const LArOnlineID_Base * m_onlineID
Definition: LArAutoCorrDecoderTool.h:55
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArAutoCorrDecoderTool::m_alwaysHighGain
Gaudi::Property< bool > m_alwaysHighGain
Definition: LArAutoCorrDecoderTool.h:48
ILArAutoCorrDecoderTool.h
HWIdentifier
Definition: HWIdentifier.h:13
LArAutoCorrDecoderTool::ACDiagonal
const Eigen::MatrixXd ACDiagonal(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Definition: LArAutoCorrDecoderTool.cxx:45
LArAutoCorrDecoderTool::initialize
virtual StatusCode initialize()
Definition: LArAutoCorrDecoderTool.cxx:10
LArAutoCorrDecoderTool::m_keyAutoCorr
Gaudi::Property< std::string > m_keyAutoCorr
Definition: LArAutoCorrDecoderTool.h:50
LArAutoCorrDecoderTool::interfaceID
static const InterfaceID & interfaceID()
Definition: LArAutoCorrDecoderTool.h:40
LArAutoCorrDecoderTool::ACPhysics
const Eigen::MatrixXd ACPhysics(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Definition: LArAutoCorrDecoderTool.cxx:93
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ILArAutoCorrDecoderTool::interfaceID
static const InterfaceID & interfaceID()
Definition: ILArAutoCorrDecoderTool.h:28
AthAlgTool.h
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:105
LArAutoCorrDecoderTool::~LArAutoCorrDecoderTool
virtual ~LArAutoCorrDecoderTool()
LArAutoCorrDecoderTool::AutoCorr
const Eigen::MatrixXd AutoCorr(const HWIdentifier &CellID, int gain, unsigned nSamples) const
Definition: LArAutoCorrDecoderTool.cxx:36
LArAutoCorrDecoderTool
Definition: LArAutoCorrDecoderTool.h:24
LArOnline_SuperCellID.h
ILArAutoCorr.h
LArDigits2NtupleDumper.nSamples
nSamples
Definition: LArDigits2NtupleDumper.py:70
LArAutoCorrDecoderTool::finalize
virtual StatusCode finalize()
Definition: LArAutoCorrDecoderTool.h:38
LArOnlineID.h