ATLAS Offline Software
Loading...
Searching...
No Matches
TileCondToolOfc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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
11// Athena includes
13
14// Tile includes
19
20#include "CLHEP/Matrix/Matrix.h"
21#include <CLHEP/Matrix/Vector.h>
22#include <map>
23#include <vector>
24#include <string>
25#include <TMatrixD.h>
26#include <iostream>
27#include <iomanip>
28#include <memory>
29
30class IdContext;
31
40class TileCondToolOfc: public extends<AthAlgTool, ITileCondToolOfc> {
41
42 public:
43
44 TileCondToolOfc(const std::string& type, const std::string& name, const IInterface* parent);
45 virtual ~TileCondToolOfc();
46
47 virtual StatusCode initialize() override;
48 virtual StatusCode finalize() override;
49
50 //===============================================================
51 //=== ITileCondTollOfc methods
52 //===============================================================
53
54 virtual StatusCode getOfcWeights(unsigned int drawerIdx,
55 unsigned int channel,
56 unsigned int adc,
57 float& phase,
58 bool of2,
60 const EventContext& ctx) const override;
61
62 private:
63 ToolHandle<TileCondToolPulseShape> m_tileToolPulseShape{this,
64 "TileCondToolPulseShape", "TileCondToolPulseShape", "Tile pulse shape tool"};
65
66 ToolHandle<TileCondToolAutoCr> m_tileToolAutoCr{this,
67 "TileCondToolAutoCr", "TileCondToolAutoCr", "Tile auto correlation matrix tool"};
68
70
71 //=== properties
75};
76
77#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
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