ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15// Tile includes
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
31class IdContext;
32
41class 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,
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"};
75 Gaudi::Property<bool> m_deltaCorrelation{this, "OptFilterDeltaCorrelation", false,
76 "true=> use delta correlation; false=>use calculation obtained from data"};
77};
78
79#endif
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
Definition IdContext.h:26
virtual StatusCode initialize() override
virtual ~TileCondToolOfc()
TileCondToolOfc(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode finalize() override
ToolHandle< TileCondToolAutoCr > m_tileToolAutoCr
Gaudi::Property< bool > m_deltaCorrelation
ToolHandle< TileCondToolPulseShape > m_tileToolPulseShape
const TileInfo * m_tileInfo
virtual StatusCode getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &phase, bool of2, TileOfcWeightsStruct &weights, const EventContext &ctx) const override
Gaudi::Property< int > m_nSamples