ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileConditions
TileConditions
TileCondToolOfc.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 TILECONDITIONS_TILECONDTOOLOFC_H
6
#define TILECONDITIONS_TILECONDTOOLOFC_H
7
8
// Gaudi includes
9
#include "GaudiKernel/ToolHandle.h"
10
#include "Gaudi/Property.h"
11
12
// Athena includes
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
15
// Tile includes
16
#include "
TileConditions/ITileCondToolOfc.h
"
17
#include "
TileConditions/TileInfo.h
"
18
#include "
TileConditions/TileCondToolAutoCr.h
"
19
#include "
TileConditions/TileCondToolPulseShape.h
"
20
21
#include "CLHEP/Matrix/Matrix.h"
22
#include <CLHEP/Matrix/Vector.h>
23
#include <map>
24
#include <vector>
25
#include <string>
26
#include <TMatrixD.h>
27
#include <iostream>
28
#include <iomanip>
29
#include <memory>
30
31
class
IdContext
;
32
41
class
TileCondToolOfc
:
public
extends<AthAlgTool, ITileCondToolOfc> {
42
43
public
:
44
45
TileCondToolOfc
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
46
virtual
~TileCondToolOfc
();
47
48
virtual
StatusCode
initialize
()
override
;
49
virtual
StatusCode
finalize
()
override
;
50
51
//===============================================================
52
//=== ITileCondTollOfc methods
53
//===============================================================
54
55
virtual
StatusCode
getOfcWeights
(
unsigned
int
drawerIdx,
56
unsigned
int
channel,
57
unsigned
int
adc,
58
float
& phase,
59
bool
of2,
60
TileOfcWeightsStruct
&
weights
,
61
const
EventContext& ctx)
const override
;
62
63
private
:
64
ToolHandle<TileCondToolPulseShape>
m_tileToolPulseShape
{
this
,
65
"TileCondToolPulseShape"
,
"TileCondToolPulseShape"
,
"Tile pulse shape tool"
};
66
67
ToolHandle<TileCondToolAutoCr>
m_tileToolAutoCr
{
this
,
68
"TileCondToolAutoCr"
,
"TileCondToolAutoCr"
,
"Tile auto correlation matrix tool"
};
69
70
const
TileInfo
*
m_tileInfo
{
nullptr
};
71
72
//=== properties
73
Gaudi::Property<int>
m_nSamples
{
this
,
"nSamples"
, 7,
"number of samples used in the run"
};
74
int
m_t0Sample
;
75
Gaudi::Property<bool>
m_deltaCorrelation
{
this
,
"OptFilterDeltaCorrelation"
,
false
,
76
"true=> use delta correlation; false=>use calculation obtained from data"
};
77
};
78
79
#endif
AthAlgTool.h
ITileCondToolOfc.h
TileCondToolAutoCr.h
TileCondToolPulseShape.h
TileInfo.h
IdContext
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
Definition
IdContext.h:26
TileCondToolOfc::initialize
virtual StatusCode initialize() override
Definition
TileCondToolOfc.cxx:31
TileCondToolOfc::~TileCondToolOfc
virtual ~TileCondToolOfc()
Definition
TileCondToolOfc.cxx:25
TileCondToolOfc::TileCondToolOfc
TileCondToolOfc(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TileCondToolOfc.cxx:16
TileCondToolOfc::finalize
virtual StatusCode finalize() override
Definition
TileCondToolOfc.cxx:85
TileCondToolOfc::m_tileToolAutoCr
ToolHandle< TileCondToolAutoCr > m_tileToolAutoCr
Definition
TileCondToolOfc.h:67
TileCondToolOfc::m_deltaCorrelation
Gaudi::Property< bool > m_deltaCorrelation
Definition
TileCondToolOfc.h:75
TileCondToolOfc::m_t0Sample
int m_t0Sample
Definition
TileCondToolOfc.h:74
TileCondToolOfc::m_tileToolPulseShape
ToolHandle< TileCondToolPulseShape > m_tileToolPulseShape
Definition
TileCondToolOfc.h:64
TileCondToolOfc::m_tileInfo
const TileInfo * m_tileInfo
Definition
TileCondToolOfc.h:70
TileCondToolOfc::getOfcWeights
virtual StatusCode getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &phase, bool of2, TileOfcWeightsStruct &weights, const EventContext &ctx) const override
Definition
TileCondToolOfc.cxx:95
TileCondToolOfc::m_nSamples
Gaudi::Property< int > m_nSamples
Definition
TileCondToolOfc.h:73
TileInfo
Definition
TileInfo.h:49
type
TileOfcWeightsStruct
Definition
ITileCondToolOfc.h:13
weights
Definition
herwig7_interface.h:38
Generated on
for ATLAS Offline Software by
1.17.0