ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRecNoiseTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* ZdcRecNoiseTool.h
7
*
8
* This extracts the pedestal and noise figures from every channel. This should
9
* process "pedestal runs" where no activity on the channels are present.
10
* Author: leite
11
*/
12
13
#ifndef ZDCRECNOISETOOL_H_
14
#define ZDCRECNOISETOOL_H_
15
16
17
18
#include "
AthenaBaseComps/AthAlgTool.h
"
19
#include "GaudiKernel/ToolHandle.h"
20
21
#include "
ZdcEvent/ZdcRawChannelCollection.h
"
22
23
#include <string>
24
#include <memory>
25
26
class
IInterface;
27
class
InterfaceID;
28
class
StatusCode;
29
class
ZdcDigitsCollection
;
30
31
32
//Interface Id for retrieving the tool
33
static
const
InterfaceID
IID_IZdcRecNoiseTool
(
"ZdcRecNoiseTool"
, 1, 1);
34
35
class
ZdcRecNoiseTool
:
public
AthAlgTool
36
{
37
public
:
38
ZdcRecNoiseTool
(
const
std::string&
type
,
39
const
std::string& name,
40
const
IInterface* parent);
41
42
virtual
~ZdcRecNoiseTool
();
43
44
static
const
InterfaceID&
interfaceID
();
45
46
virtual
StatusCode
initialize
();
47
virtual
StatusCode
finalize
();
48
49
int
readPedestals
();
50
int
writePedestals
();
51
52
private
:
53
54
std::string
m_pedestalDir
;
55
std::string
m_pedestalFile
;
56
57
std::unique_ptr<ZdcDigitsCollection>
m_pedestalData
{};
58
59
};
60
61
#endif
/* ZDCRECNOISETOOL_H_ */
AthAlgTool.h
ZdcRawChannelCollection.h
IID_IZdcRecNoiseTool
static const InterfaceID IID_IZdcRecNoiseTool("ZdcRecNoiseTool", 1, 1)
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
ZdcDigitsCollection
Definition
ZdcDigitsCollection.h:20
ZdcRecNoiseTool::m_pedestalDir
std::string m_pedestalDir
Definition
ZdcRecNoiseTool.h:54
ZdcRecNoiseTool::finalize
virtual StatusCode finalize()
Definition
ZdcRecNoiseTool.cxx:186
ZdcRecNoiseTool::~ZdcRecNoiseTool
virtual ~ZdcRecNoiseTool()
Definition
ZdcRecNoiseTool.cxx:69
ZdcRecNoiseTool::interfaceID
static const InterfaceID & interfaceID()
Definition
ZdcRecNoiseTool.cxx:41
ZdcRecNoiseTool::m_pedestalFile
std::string m_pedestalFile
Definition
ZdcRecNoiseTool.h:55
ZdcRecNoiseTool::m_pedestalData
std::unique_ptr< ZdcDigitsCollection > m_pedestalData
Definition
ZdcRecNoiseTool.h:57
ZdcRecNoiseTool::readPedestals
int readPedestals()
Definition
ZdcRecNoiseTool.cxx:75
ZdcRecNoiseTool::writePedestals
int writePedestals()
Definition
ZdcRecNoiseTool.cxx:122
ZdcRecNoiseTool::initialize
virtual StatusCode initialize()
Definition
ZdcRecNoiseTool.cxx:173
ZdcRecNoiseTool::ZdcRecNoiseTool
ZdcRecNoiseTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ZdcRecNoiseTool.cxx:49
type
Generated on
for ATLAS Offline Software by
1.14.0