ATLAS Offline Software
Loading...
Searching...
No Matches
LArDigitOscillationCorrTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
12#ifndef LARCALIBUTILS_LARDIGITOSCILLATIONCORRTOOL_H
13#define LARCALIBUTILS_LARDIGITOSCILLATIONCORRTOOL_H
14
16#include "GaudiKernel/IIncidentListener.h"
17#include "GaudiKernel/ToolHandle.h"
18
22
26
28class LArDigit;
29
30class LArDigitOscillationCorrTool: public extends<AthAlgTool,ILArDigitOscillationCorrTool,IIncidentListener>
31{
32public:
33 // constructor
34 LArDigitOscillationCorrTool(const std::string& type,
35 const std::string& name,
36 const IInterface* parent);
37
38 // destructor
40
41 // initialize and finalize methods
42 virtual StatusCode initialize() override;
43 virtual void handle(const Incident&) override;
44
45 StatusCode calculateEventPhase(const LArDigitContainer &theDC) override;
46 StatusCode correctLArDigits(LArDigitContainer &theDC) override;
47
48private:
49
50 StatusCode retrieveDB();
51
53 double m_nSigma;
55 double m_omega;
56
57 const LArEM_ID* m_emId{};
61
62 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"};
63};
64
65#endif
66
67
68
69
Container class for LArDigit.
StatusCode correctLArDigits(LArDigitContainer &theDC) override
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode calculateEventPhase(const LArDigitContainer &theDC) override
virtual void handle(const Incident &) override
LArDigitOscillationCorrTool(const std::string &type, const std::string &name, const IInterface *parent)
~LArDigitOscillationCorrTool()=default
Liquid Argon digit base class.
Definition LArDigit.h:25
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76