ATLAS Offline Software
Loading...
Searching...
No Matches
ReadTBLArCalibDigits.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef READLARCALIBDIGITS_H
6#define READLARCALIBDIGITS_H
7
9#include "GaudiKernel/MsgStream.h"
11
12#include <fstream>
13
14class LArOnlineID;
15
17{
18 public:
19 ReadTBLArCalibDigits(const std::string & name, ISvcLocator * pSvcLocator);
20
22
23 //standart algorithm methods
24 StatusCode initialize();
25 StatusCode execute(const EventContext& ctx);
26 StatusCode finalize();
27
28 private:
29 int m_count{0};
30 const LArOnlineID* m_onlineHelper{nullptr};
31 std::ofstream m_outfile;
32 Gaudi::Property<std::string> m_containerKey{this, "ContainerKey", "", "SG key of the TBLArCalibDigitContainer"};
33 Gaudi::Property<std::string> m_dumpFile{this, "DumpFile", "", "Name of the text dump file (empty: no dump)"};
34
35};
36
37#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::string > m_dumpFile
const LArOnlineID * m_onlineHelper
Gaudi::Property< std::string > m_containerKey
StatusCode execute(const EventContext &ctx)
Execute method.
ReadTBLArCalibDigits(const std::string &name, ISvcLocator *pSvcLocator)