ATLAS Offline Software
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_ */
ZdcRecNoiseTool::~ZdcRecNoiseTool
virtual ~ZdcRecNoiseTool()
Definition:
ZdcRecNoiseTool.cxx:69
ZdcRawChannelCollection.h
ZdcRecNoiseTool
Definition:
ZdcRecNoiseTool.h:36
ZdcRecNoiseTool::initialize
virtual StatusCode initialize()
Definition:
ZdcRecNoiseTool.cxx:173
ZdcRecNoiseTool::m_pedestalData
std::unique_ptr< ZdcDigitsCollection > m_pedestalData
Definition:
ZdcRecNoiseTool.h:57
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
ZdcRecNoiseTool::ZdcRecNoiseTool
ZdcRecNoiseTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
ZdcRecNoiseTool.cxx:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ZdcRecNoiseTool::readPedestals
int readPedestals()
Definition:
ZdcRecNoiseTool.cxx:75
ZdcRecNoiseTool::interfaceID
static const InterfaceID & interfaceID()
Definition:
ZdcRecNoiseTool.cxx:41
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
ZdcRecNoiseTool::m_pedestalFile
std::string m_pedestalFile
Definition:
ZdcRecNoiseTool.h:55
ZdcRecNoiseTool::writePedestals
int writePedestals()
Definition:
ZdcRecNoiseTool.cxx:122
ZdcDigitsCollection
Definition:
ZdcDigitsCollection.h:20
ZdcRecNoiseTool::finalize
virtual StatusCode finalize()
Definition:
ZdcRecNoiseTool.cxx:186
AthAlgTool
Definition:
AthAlgTool.h:26
ZdcRecNoiseTool::m_pedestalDir
std::string m_pedestalDir
Definition:
ZdcRecNoiseTool.h:54
Generated on Tue Sep 2 2025 21:26:56 for ATLAS Offline Software by
1.8.18